dpetersman
New Member
- Joined
- Mar 26, 2009
- Messages
- 5
Hello again all,
I'm hoping one of you fine folks can lend me a hand again. I'm trying to figure the formula to use for the following scenario. i'll try to explain it so that it doesn't confuse ya too much (or myself for that matter)
A1 = RATE 1
A2 = RATE 2
B1 = HOURS WORKED
B2 = DIFFERENTIAL (this is essentially a makeshift "check box" where if "x" is entered, it means this person has a different rate for that day.
Now what I'm trying to get is...
C1 =
in other words,
if zero hours are worked(B1), then output "0.00"
if more then zero hours are worked, then hours worked(B2) times Rate 1 (A1)
if more then zero hours are worked and there is an "x" or "X" in B2, then hours worked times rate 2 (A2)
Thanks for any help ya can offer
I'm hoping one of you fine folks can lend me a hand again. I'm trying to figure the formula to use for the following scenario. i'll try to explain it so that it doesn't confuse ya too much (or myself for that matter)
A1 = RATE 1
A2 = RATE 2
B1 = HOURS WORKED
B2 = DIFFERENTIAL (this is essentially a makeshift "check box" where if "x" is entered, it means this person has a different rate for that day.
Now what I'm trying to get is...
C1 =
Code:
if B1="0" then "0.00" or if B1>"0" then B1*A1 or if B1>"0" AND B2="x" OR B2="X" then B1*A2
if zero hours are worked(B1), then output "0.00"
if more then zero hours are worked, then hours worked(B2) times Rate 1 (A1)
if more then zero hours are worked and there is an "x" or "X" in B2, then hours worked times rate 2 (A2)
Thanks for any help ya can offer