colinheslop1984
Board Regular
- Joined
- Oct 14, 2016
- Messages
- 129
- Office Version
- 2016
Please can someone correct my formula, I feel like I am so close but struggling to get it right.
Below is as far as I have got but I just cant find the right expressions for it to work correctly. I have attached a picture of the document I am working with for your reference.
=IF(E8="",IF($C8<$C$2,$B8*$C$1,SUM($C$1-$F8)*$B8),(E8-F8)*B8)
I want to calculate YTD contracted hours with the following considerations
if start date is < c2 then multiply contracted hours by c1
if start date if > c2 then multiply contracted hours by value of c1-e8
if employment end date is inputted I want the calculation to stop beyond the date or week number inputted in either d8 or e8 respectively, e8 is preffered
If no employment end date is inputted, the calculation should continue to run
Thanks
Below is as far as I have got but I just cant find the right expressions for it to work correctly. I have attached a picture of the document I am working with for your reference.
=IF(E8="",IF($C8<$C$2,$B8*$C$1,SUM($C$1-$F8)*$B8),(E8-F8)*B8)
I want to calculate YTD contracted hours with the following considerations
if start date is < c2 then multiply contracted hours by c1
if start date if > c2 then multiply contracted hours by value of c1-e8
if employment end date is inputted I want the calculation to stop beyond the date or week number inputted in either d8 or e8 respectively, e8 is preffered
If no employment end date is inputted, the calculation should continue to run
Thanks