Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Too many arguments for nested IFs
Ive created a nested IF statement that works fine using 6 IFs but does not
work when I add a 7th, the maximum number allowed. However, I ultimately need 10. Does someone know of an alternative way of doing this? The formula looks like this: =IF(AND(LEFT(A2,2)="10",NOT(C2="MP")),"Change Sector to MP",IF(AND(LEFT(A2,2)="20",NOT(C2="BV")),"Change Sector to BV",IF(AND(LEFT(A2,2)="30",NOT(C2="HH")),"Change Sector to HH",IF(AND(LEFT(A2,2)="40",NOT(C2="AP")),"Change Sector to AP",IF(AND(LEFT(A2,2)="50",NOT(C2="CM")),"Change Sector to CM",IF(AND(LEFT(A2,2)="60",NOT(C2="RS")),"Change Sector to RS","")))))) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
nested if still has too many arguments | Excel Discussion (Misc queries) | |||
3 level nested if has too many arguments ? | Excel Discussion (Misc queries) | |||
Nested IF's with Logical Arguments - Doing something wrong her | Excel Discussion (Misc queries) | |||
Nested IF's with Logical Arguments - Doing something wrong here | Excel Discussion (Misc queries) | |||
I have run out of arguments for nested IF statement | Excel Discussion (Misc queries) |