Hi,
I am trying to calculate the average pay per week to calculate the holiday pay. For me to do that I need TOTAL PAY FOR THE LAST 52 WEEKS / 52 = AVERAGE PAY PER WEEK.
This post (How do I continue to take the sum of the last 50 non-zero numbers?) is solving the first part of the calculation which return the total of last 52 weeks pay. I need help for second part of the calculation which is the number of weeks included in total calculation. This is because not all employees have 52 weeks pay.
I have uploaded an image
May thanks for your help
I am trying to calculate the average pay per week to calculate the holiday pay. For me to do that I need TOTAL PAY FOR THE LAST 52 WEEKS / 52 = AVERAGE PAY PER WEEK.
This post (How do I continue to take the sum of the last 50 non-zero numbers?) is solving the first part of the calculation which return the total of last 52 weeks pay. I need help for second part of the calculation which is the number of weeks included in total calculation. This is because not all employees have 52 weeks pay.
I have uploaded an image
May thanks for your help