HI
I need help in using IF function. according to the worksheet, normal hours is 8 hours per day Monday to Friday. can anyone help me with the function to calculate normal hours in 1 cell.
thanks
sanjeshniNORMAL HOURS.xls
HI
I need help in using IF function. according to the worksheet, normal hours is 8 hours per day Monday to Friday. can anyone help me with the function to calculate normal hours in 1 cell.
thanks
sanjeshniNORMAL HOURS.xls
Maybe this...
=MIN(8,N(B3))+MIN(8,N(C3))+MIN(8,N(D3))+MIN(8,N(E3))+MIN(8,N(F3))
Copy down as needed.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
Or this in I3:
Formula:
=SUMPRODUCT(((B3:F3>=8)*8)+((B3:F3<8)*B3:F3))
copied down...
A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
-Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
-To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
If you received helpful response, please remember to hit the * of that post
thanks, it works. but my requirement is to use a IF function. can a solution be available on that??
Last edited by Tony Valko; 05-21-2013 at 11:21 AM.
thanks. got it![]()
You're welcome!![]()
Is this a classroom assignment ? IF so, this sites policy is to NOT give solutions, just advice..., but if you understand both the proffered solutions, neither is hard to change int an if statement...![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks