TommyKay44
New Member
- Joined
- Aug 30, 2021
- Messages
- 3
- Office Version
- 2016
- Platform
- Windows
I'm trying to automate adding amounts to an employee's hourly rate of pay depending on the amount of business (sales) they did that week. Here's a pic of the 9 different levels:
I have it working fine with a nested IF formula for digits 1-7 with the formula below:
=IF(H10=1,(F10*0.5)+((G10*0.5)*1.5),IF(H10=2,(F10*2)+((G10*2)*1.5),IF(H10=3,(F10*5)+((G10*5)*1.5),IF(H10=4,(F10*7)+((G10*7)*1.5),IF(H10=5,(F10*10)+((G10*10)*1.5),IF(H10=6,(F10*12)+((G10*12)*1.5),IF(H10=7,(F10*15)+((G10*15)*1.5),0)))))))
My clients using it and, fortunately, hasn't needed levels 8 and 9 yet. An IFS formula seems ideal to use but when trying to change it to an IFS for levels 1-7, I can't get it to work. What am I doing wrong in the IFS formula below?
=IFS(H10=1,(F10*0.5)+((G10*0.5)*1.5),H10=2,(F10*2)+((G10*2)*1.5),H10=3,(F10*5)+((G10*5)*1.5),H10=4,(F10*7)+((G10*7)*1.5),H10=5,(F10*10)+((G10*10)*1.5),H10=6,(F10*12)+((G10*12)*1.5),H10=7,(F10*15)+((G10*15)*1.5),0)
Thank you in advance for any help I can get on this
I have it working fine with a nested IF formula for digits 1-7 with the formula below:
=IF(H10=1,(F10*0.5)+((G10*0.5)*1.5),IF(H10=2,(F10*2)+((G10*2)*1.5),IF(H10=3,(F10*5)+((G10*5)*1.5),IF(H10=4,(F10*7)+((G10*7)*1.5),IF(H10=5,(F10*10)+((G10*10)*1.5),IF(H10=6,(F10*12)+((G10*12)*1.5),IF(H10=7,(F10*15)+((G10*15)*1.5),0)))))))
My clients using it and, fortunately, hasn't needed levels 8 and 9 yet. An IFS formula seems ideal to use but when trying to change it to an IFS for levels 1-7, I can't get it to work. What am I doing wrong in the IFS formula below?
=IFS(H10=1,(F10*0.5)+((G10*0.5)*1.5),H10=2,(F10*2)+((G10*2)*1.5),H10=3,(F10*5)+((G10*5)*1.5),H10=4,(F10*7)+((G10*7)*1.5),H10=5,(F10*10)+((G10*10)*1.5),H10=6,(F10*12)+((G10*12)*1.5),H10=7,(F10*15)+((G10*15)*1.5),0)
Thank you in advance for any help I can get on this