Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Excel function help

Why does this function not work?

=IF(39752=Sheet2!D3=39722,Sheet2!A3,0)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Excel function help

Corey,

Perhaps you could express in words what your trying to do because this bit
of your formula doesn't really make sense.

=IF(39752=Sheet2!D3=39722

Mike

"Corey" wrote:

Why does this function not work?

=IF(39752=Sheet2!D3=39722,Sheet2!A3,0)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default Excel function help

you should use an AND instead.

=IF(AND(39752=Sheet2!D3,Sheet2!D3=39722),Sheet2! A3,0)

"Corey" wrote:

Why does this function not work?

=IF(39752=Sheet2!D3=39722,Sheet2!A3,0)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Excel function help

Why does this function not work?
=IF(39752=Sheet2!D3=39722,Sheet2!A3,0)


You need to use an AND, eg:
=IF(and(Sheet2!D3=39722,Sheet2!D3<=39752),Sheet2! A3,0)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,500 Files:361 Subscribers:58
xdemechanik
---
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Excel function help

You'd want to use =and():

=if(and(sheet2!d3=39722,sheet2!d3<=39752),sheet2! a3,0)

If those numbers are really dates, I'd use:
=if(and(sheet2!d3=date(2008,10,1),sheet2!d3<=date (2008,10,31))sheet2!a3,0)

or even:
=if(text(sheet2!d3,"yyyymm")="200810",sheet2!a3,0)



Corey wrote:

Why does this function not work?

=IF(39752=Sheet2!D3=39722,Sheet2!A3,0)


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Excel function help

I want to display a cell on row 3 when a second cell in row 3 is within a
certain range. for example, i want to dis play A3 when B3 is greater than 4
and less than 8.

"Mike H" wrote:

Corey,

Perhaps you could express in words what your trying to do because this bit
of your formula doesn't really make sense.

=IF(39752=Sheet2!D3=39722

Mike

"Corey" wrote:

Why does this function not work?

=IF(39752=Sheet2!D3=39722,Sheet2!A3,0)

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Excel function help

=IF(AND(39752=Sheet2!D3,Sheet2!D3=39722),Sheet2! A3,0)
--
David Biddulph

"Corey" wrote in message
...
Why does this function not work?

=IF(39752=Sheet2!D3=39722,Sheet2!A3,0)



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help to build a Look Up Function or What Ever Function Excel 2002 Carlo Excel Worksheet Functions 6 April 3rd 08 07:39 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
challenge! javascript function into excel function Kamila Excel Worksheet Functions 2 February 19th 07 06:35 AM
Excel Workday Function with another function Monique Excel Discussion (Misc queries) 2 April 27th 06 01:11 PM
Can you nest a MID function within a IF function in Excel Dawn-Anne Excel Worksheet Functions 2 March 4th 05 01:37 PM


All times are GMT +1. The time now is 10:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"