Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF, reports incorrectly, can't find anything like it to ref
I've boiled down a problem Function to the following statement:
=IF(I54=OR(2,3,4),"Low","") I54 = 2 Function returns "" |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF, reports incorrectly, can't find anything like it to ref
Try this:
=IF(OR(I54=2,I54=3,I54=4),"Low","") -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Chris T-M" wrote: I've boiled down a problem Function to the following statement: =IF(I54=OR(2,3,4),"Low","") I54 = 2 Function returns "" |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF, reports incorrectly, can't find anything like it to ref
Each component of the OR function must return a TRUE/FALSE value....
however, if those components return numeric values: 0=FALSE, any other number=TRUE. Consequently, OR(2,3,4) is equal to OR(TRUE, TRUE, TRUE) Try on of these: =IF(OR(I54=2,I54=3,I54=4),"Low","") or =IF(OR(I54={2,3,4}),"Low","") Does that help? -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "Chris T-M" wrote in message ... I've boiled down a problem Function to the following statement: =IF(I54=OR(2,3,4),"Low","") I54 = 2 Function returns "" |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF, reports incorrectly, can't find anything like it to
Duh! Thank you very much.
Now if I can just simplify 21 nested IF statements into 7 I'll be set. "Michael" wrote: Try this: =IF(OR(I54=2,I54=3,I54=4),"Low","") -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Chris T-M" wrote: I've boiled down a problem Function to the following statement: =IF(I54=OR(2,3,4),"Low","") I54 = 2 Function returns "" |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF, reports incorrectly, can't find anything like it to
Thank you also. They both work, but the second is less "wordy"
"Ron Coderre" wrote: Each component of the OR function must return a TRUE/FALSE value.... however, if those components return numeric values: 0=FALSE, any other number=TRUE. Consequently, OR(2,3,4) is equal to OR(TRUE, TRUE, TRUE) Try on of these: =IF(OR(I54=2,I54=3,I54=4),"Low","") or =IF(OR(I54={2,3,4}),"Low","") Does that help? -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "Chris T-M" wrote in message ... I've boiled down a problem Function to the following statement: =IF(I54=OR(2,3,4),"Low","") I54 = 2 Function returns "" |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF, reports incorrectly, can't find anything like it to
Alternate solutions often use a lookup function instead (eg Lookup, Vlookup,
Index/Match). Choose might also be worth taking a look at (see XL help for description). Other methods (defined names or user defined functions) are discussed he http://www.cpearson.com/Excel/nested.htm "Chris T-M" wrote: Duh! Thank you very much. Now if I can just simplify 21 nested IF statements into 7 I'll be set. "Michael" wrote: Try this: =IF(OR(I54=2,I54=3,I54=4),"Low","") -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Chris T-M" wrote: I've boiled down a problem Function to the following statement: =IF(I54=OR(2,3,4),"Low","") I54 = 2 Function returns "" |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Nested IF, reports incorrectly, can't find anything like it to
What are the statements?
On Sep 11, 12:56 pm, Chris T-M wrote: Duh! Thank you very much. Now if I can just simplify 21 nested IF statements into 7 I'll be set. "Michael" wrote: Try this: =IF(OR(I54=2,I54=3,I54=4),"Low","") -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Chris T-M" wrote: I've boiled down a problem Function to the following statement: =IF(I54=OR(2,3,4),"Low","") I54 = 2 Function returns ""- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Calc cost pro rata (nested IF's and macro to find empty row) | Excel Worksheet Functions | |||
Nested If statement to find greater than but less than numbers | Excel Worksheet Functions | |||
Column sorting incorrectly | Excel Discussion (Misc queries) | |||
Why are my nested sub-totals are displaying incorrectly? | Excel Discussion (Misc queries) | |||
Where will I find Management Reports? | Excel Discussion (Misc queries) |