# Help shorten formula

#### TiggerToo

##### Board Regular
I need a little help with shortening this formula. The order does not matter which part is first or last, I just need to get shorter.

IF(AND(\$C\$1="",INFO!H12=""),"",
If(AND(\$C\$1="",INFO!H13=""),"",
IF(AND(\$C\$1="ISO",INFO!H12=""),"",
IF(AND(\$C\$1="ISO",INFO!H13=""),"",
IF(AND(\$C\$1="ISO",INFO!H12="X"),"MAJOR",
IF(AND(\$C\$1="ISO",INFO!H12="X"),"MINOR",
IF(AND(\$C\$1="",INFO!H12="X"),"MAJOR ISO",
IF(AND(\$C\$1="",INFO!H13="X"),"MINOR ISO",
IF(AND(\$C\$1="Incoming",INFO!H12=""),"",
If(AND(\$C\$1="Incoming",INFO!H13=""),"",
IF(AND(\$C\$1="Incoming",INFO!H12="X"),"MAJOR ISO",
IF(AND(\$C\$1="Incoming",INFO!H13="X"),"MINOR ISO")))))))))

Thanks
Walter

### Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

#### jbeaucaire

##### Well-known Member
Give this a try:

=IF(Info!H12="X",IF(OR(\$C\$1="",\$C\$1="Incoming"),"MAJOR ISO","MAJOR"),IF(Info!H13="X",IF(OR(\$C\$1="",\$C\$1="Incoming"),"MINOR ISO","MINOR"),""))

#### Scott Huish

##### MrExcel MVP
Perhaps:

=IF(INFO!H12&INFO!H13="","",CHOOSE(MATCH("X",INFO!H12:H13,0),"MAJOR","MINOR")&IF(C1<>"ISO"," ISO",""))

Replies
1
Views
97
Replies
0
Views
166
Replies
2
Views
177
Replies
4
Views
200
Replies
14
Views
517

1,195,848
Messages
6,011,951
Members
441,657
Latest member
Diupsy

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back