Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Formula help
Hi, I have this formula which is half working. I need it to say first of all
If cell AN="AIR" and the AX="Fri" then add 3 days to AJ. if AX = "sat" & AN="air" add 2 days to AJ. Otherwise if AN = "air" and the AX is any of the days not mentioned above add 1 to AJ. After that if AN is blank and AX="mon" add 4 to AJ, if ax ="tue" and 6 to AJ.... so on and so fort. The formula as I have does not pick up the last set of values if AN, the "AIR" cell is Blank. I hope my explanation was clear enough. If not I will try to clarify further. See formula below =IF(AND(AN183="AIR",AX183="Fri"),AJ183+3,IF(AND(AN 183="AIR",AX183="Sat"),AJ183+2,IF(OR(AN183="AIR",A X183="Mon",AX183="Tue",AX183="Wed",AX183="Thur",AX 183="Sun"),AJ183+1,IF(AX183="Mon",AJ183+4,IF(AX183 ="Tue",AJ183+6,IF(AX183="thu",AJ183+5,IF(AX183="fr i",AJ183+5,IF(AX183="sun",AJ183+5,"")))))))) |