djl0525
Well-known Member
- Joined
- Dec 11, 2004
- Messages
- 1,240
In column F, I have Hours Worked. This number is usually 40, but it could be anywhere from 20-60.
In column G, I need to find how many hours they worked between 37.5 and 40.
If F13 says they worked 39 hours. G13 should return 1.5 (because 39 - 37.5 = 1.5).
If F13 says they worked 40 or more hours, G13 should return 2.5 (because 40 - 37.5 = 2.5).
G13 should never be more than 2.5.
In column H, I need to find how many hours over 40, if any, they worked.
If F13 is 39, H13 should be 0.
If F13 is 42, H13 should be 2.
I've gotten as far as I can with the formula in G13. It's not complete, but I don't know how to finish it.
G13: =IF(AND(F13>37.5;F13<=40);F13-37.5;"no")
Can someone help me with the formula for G13 and H13? Much appreciated in advance!
DJ
In column G, I need to find how many hours they worked between 37.5 and 40.
If F13 says they worked 39 hours. G13 should return 1.5 (because 39 - 37.5 = 1.5).
If F13 says they worked 40 or more hours, G13 should return 2.5 (because 40 - 37.5 = 2.5).
G13 should never be more than 2.5.
In column H, I need to find how many hours over 40, if any, they worked.
If F13 is 39, H13 should be 0.
If F13 is 42, H13 should be 2.
I've gotten as far as I can with the formula in G13. It's not complete, but I don't know how to finish it.
G13: =IF(AND(F13>37.5;F13<=40);F13-37.5;"no")
Can someone help me with the formula for G13 and H13? Much appreciated in advance!
DJ