I'm stuck on syntax. Here's my problem:
Column Q contains Current Balance of Overtime Hours
Column R contains OT earned in a specified period
Column S contains Yes or No (whether to pay out or not)
In column T I want this:
IF(S="Yes") AND Q>R, answer would be R
IF(S="Yes") AND Q<R, Answer would be Q
IF(S="No"), Answer would be 0.
I'm getting my head all twisted around trying to create the formula. Can anyone help?
Thanks,
John
Bookmarks