Hello,
While not an Excel guru, I am decent with Excel formulas but am stymied by what I feel is a fairly involved calculation involving dates for timekeeping. I have gotten what I feel is a pretty elaborate IF statement going, but now I need to add a third IF statement and am stuck. What I need is:
If the weekday is Tu/Th, calculate hours against expected 7.75
If the weekday is Mo/We, calculate hours against expected 9
If the weekday is Fr, calculate hours against expected 6.5
I have the following that is working for different hours on Tu/Th and Mo/We/Fr:A1 is the work date (date format), F1 is the hours worked (General format)
=IF(OR(WEEKDAY("A1")=5,WEEKDAY("A1")=3),(IF(F1-9<-9,,F1-9)),(IF(F1-7.75<-7.75,,F1-7.75)))
I have the following that is working for just Friday:A1 is the work date (date format), F1 is the hours worked (General format)
=IF(WEEKDAY("A1")=6,(IF(F1-6.5<-6.5,,F1-6.5)))
I am stuck how to nest these separate statements together so I can have the three calculation variations occur. Can someone give me a hand getting this working?
Thanks in advance!
Chris
Bookmarks