Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Can I use an IF statement to reference 2 different cells?

Sigh. I knew it would be as easy as that, but I looked at it too long and it
seemed complicated.

Thank you! It works.

"Vaughan" wrote:

Its not exactly clear what you're trying to do, but you can probably get what
you want with embedded IF statements.

e.g.

IF(B24=0.01,6,IF(B25=0.01,8,5))

If you want to test whether both B24=0 and B25=0, use the AND() statement:

IF(AND(B24=0,B25=0), 8,5)

Similarly, if you want to know if either B24 or B25 =0

IF(OR(B24=0,B25=0),6,5)


"Shan" wrote:

I have the following formula in cell I39 which works great and does what it
is supposed to do:

=IF(B24=0.01,5+1,5)

However, I also want this formula to reference cell B25 as well with a
little different calculation:

=IF(B25=0.01,5+3,5)

How can I combine these 2 formulas so it will check both B24 and B25 and
return 1 result in cell I39?

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
Excel should be able to map which cells reference each other. URCHE Excel Worksheet Functions 1 October 11th 05 03:23 AM
Populate multiple cells using the same reference nick Excel Worksheet Functions 0 October 3rd 05 03:33 PM
Removing $$ Reference in cells Castor Excel Worksheet Functions 1 August 13th 05 12:36 AM
Expanding conditional formating with reference cells changing CCoop Excel Discussion (Misc queries) 2 May 4th 05 02:36 PM
How do I fix a circular reference in a financial statement? drjayhawk25 Excel Discussion (Misc queries) 0 February 7th 05 05:19 PM


All times are GMT +1. The time now is 08:27 AM.

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

About Us

"It's about Microsoft Excel"