I have the following formula as part of a timesheet:
=IF(OR(WEEKDAY(A6=0),(M6="8 hrs max!")),0,IF(AND(WEEKDAY(A6)>1,WEEKDAY(A6)<7),((M6)*24)-8,((M6)*24)))
Column A contains the days of the week. Two other columns contain the "Time in, Time out" fields and column M contains the total hours. This formula is working off the A and M columns on the timesheet. (The formula is suppose to give the number of hours greater than or less then 8 hrs and give a value of zero if the date field is empty or M contains the text "8 hrs max!
Both IF statments work great separately, but when combined, the ((M6)*24)-8 part of the 2nd statment doesn't work. Can someone help on how to correct this?
Thanks,
Kirk
Bookmarks