Looking for help to expand the formula below; I am trying to add to formula so that if "S" is located in F7,F8, or F9, 8 will be returned instead of the 12. I have tried several time but it does not work.
Code:
=IF(ISNUMBER(SEARCH("*S SHIFT*",$D100)),IF(ISNUMBER(SEARCH("*D1*",F$7)),12*$HS100,0),IF(ISNUMBER(SEARCH("*T SHIFT*",$D100)),IF(ISNUMBER(SEARCH("*D1*",F$8)),12*$HS100,0),IF(ISNUMBER(SEARCH("*U SHIFT*",$D100)),IF(ISNUMBER(SEARCH("*D1*",F$9)),12*$HS100,0),IF($D100=0,0,0))))