Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Combining (nesting) 2 formulae

In Cell A1 I have =IF(I52<1201,"B",IF(I521201,"S"))
This puts "S" in the cell if I52 is over 1200.

In Cell B1 I have =IF(F76="2800","S","B")
This puts "S" in the cell if F76 is 2800.

Can I combine these two so that the default is "B" but if either of the two
formulae above are true then the result is "S"



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Combining (nesting) 2 formulae

Try this:

=IF(OR(I521201,F76="2800"),"S","B")

Note that by putting "2800" in quotes, Excel is looking for the text value
2800 not the number 2800.

HTH,
Elkar


"AndyB" wrote:

In Cell A1 I have =IF(I52<1201,"B",IF(I521201,"S"))
This puts "S" in the cell if I52 is over 1200.

In Cell B1 I have =IF(F76="2800","S","B")
This puts "S" in the cell if F76 is 2800.

Can I combine these two so that the default is "B" but if either of the two
formulae above are true then the result is "S"



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Combining (nesting) 2 formulae

=IF(OR(I521201, F76=2800),"S","B")

What is to happen if I52 is equal to 1201 ? You test and <
=IF(OR(I52=1201, F76=2800),"S","B")
Is this what is needed?

Why quotes on "2800"
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"AndyB" wrote in message
...
In Cell A1 I have =IF(I52<1201,"B",IF(I521201,"S"))
This puts "S" in the cell if I52 is over 1200.

In Cell B1 I have =IF(F76="2800","S","B")
This puts "S" in the cell if F76 is 2800.

Can I combine these two so that the default is "B" but if either of the
two
formulae above are true then the result is "S"





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Combining (nesting) 2 formulae

Bernard,

Thanks, it should be I521200, not I521201.

I've also removed the "

Thanks.

"Bernard Liengme" wrote:

=IF(OR(I521201, F76=2800),"S","B")

What is to happen if I52 is equal to 1201 ? You test and <
=IF(OR(I52=1201, F76=2800),"S","B")
Is this what is needed?

Why quotes on "2800"
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"AndyB" wrote in message
...
In Cell A1 I have =IF(I52<1201,"B",IF(I521201,"S"))
This puts "S" in the cell if I52 is over 1200.

In Cell B1 I have =IF(F76="2800","S","B")
This puts "S" in the cell if F76 is 2800.

Can I combine these two so that the default is "B" but if either of the
two
formulae above are true then the result is "S"






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
nesting another formula BSantos Excel Worksheet Functions 3 January 18th 06 09:22 PM
IF - Nesting... almost got it - need a bit of help AngelaG Excel Worksheet Functions 1 August 22nd 05 10:30 PM
Searching TEXT in formulae, rather than results of formulae AndyE Excel Worksheet Functions 1 July 15th 05 10:57 AM
Nesting formulae with COUNTIF Helen McClaine Excel Discussion (Misc queries) 1 January 22nd 05 12:52 AM
nesting sum if and BMSpell Excel Worksheet Functions 2 January 20th 05 05:10 PM


All times are GMT +1. The time now is 07:55 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"