i have had more than 7 if statements in one formula before, but for some reason, i can't figure this one out, probably because this one is such a simple one i'm missing the obvious.
my cell of reference is going to be a month. if it is Jan i want it to do something, if it is Feb, i want it to do something else etc.
i have been trying something simple like
=if(a1="Jan","1",if(a1="Feb","2",if(a1="Mar","3", etc...
but those are regular nested if statements and in order to have more than 7, i need to have nested if statements inside of nested if statements.
here is one i made to have a row of dates to show only the weekdays, and then the last day of the month even if it was a weekend.
=IF(U13="","",IF(U13=EOMONTH(U13,0),"",(IF(IF(WEEKDAY(U13)=6,U13+3,U13+1)>=EOMONTH(U13,0),EOMONTH(U13,0),(IF(VLOOKUP(IF(WEEKDAY(U13)=6,U13+3,U13+1),Qry550!$A$2:$A$300,1)=(IF(WEEKDAY(U13)=6,U13+3,U13+1)),(IF(WEEKDAY(U13)=6,U13+3,U13+1)),(IF(WEEKDAY(U13)=6,U13+13,U13+1))))))))
if any of you have any ideas on how to do this, i'd really appreciate it.
Thank you,
Smiley B-)
my cell of reference is going to be a month. if it is Jan i want it to do something, if it is Feb, i want it to do something else etc.
i have been trying something simple like
=if(a1="Jan","1",if(a1="Feb","2",if(a1="Mar","3", etc...
but those are regular nested if statements and in order to have more than 7, i need to have nested if statements inside of nested if statements.
here is one i made to have a row of dates to show only the weekdays, and then the last day of the month even if it was a weekend.
=IF(U13="","",IF(U13=EOMONTH(U13,0),"",(IF(IF(WEEKDAY(U13)=6,U13+3,U13+1)>=EOMONTH(U13,0),EOMONTH(U13,0),(IF(VLOOKUP(IF(WEEKDAY(U13)=6,U13+3,U13+1),Qry550!$A$2:$A$300,1)=(IF(WEEKDAY(U13)=6,U13+3,U13+1)),(IF(WEEKDAY(U13)=6,U13+3,U13+1)),(IF(WEEKDAY(U13)=6,U13+13,U13+1))))))))
if any of you have any ideas on how to do this, i'd really appreciate it.
Thank you,
Smiley B-)