Aug 17 2022 11:09 AM
Hi everyone!
I would like to request help with the following problem.
I need to divide the sales objective by the number of business days in the month, the problem is that I can't sell half a car. The idea is to have only integers and the remainder must eventually be considered.
Please see the example (made poorly by hand):
August 2022 | |||||||||||||||||||||||
Sales Objective | 01 | 02 | 03 | 04 | 05 | 08 | 09 | 10 | 11 | 12 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 29 | 30 | 31 |
40 | 1 | 2 | 1 | 2 | 2 | 2 | 1 | 2 | 2 | 2 | 1 | 2 | 2 | 2 | 1 | 2 | 2 | 2 | 1 | 2 | 2 | 2 | 2 |
55 | 2 | 2 | 2 | 3 | 2 | 2 | 2 | 3 | 2 | 2 | 3 | 3 | 2 | 2 | 3 | 3 | 2 | 2 | 3 | 3 | 2 | 2 | 3 |
20 | 0 | 2 | 0 | 2 | 0 | 2 | 0 | 2 | 0 | 0 | 2 | 0 | 2 | 0 | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 |
Please note that the monthly target and number of business days change every month.
Does anyone have any Excel formula I can use?
Thank you in advance!
Aug 17 2022 01:17 PM
SolutionSee the attached demo workbook.
Aug 17 2022 01:31 PM
Aug 17 2022 01:34 PM - edited Aug 17 2022 02:15 PM
Hi@mroldan5,
@Hans Vogelaarand I also must have been working on the problem in parallel. I did it a little differently. See my example! I did not want to throw it in the trash.
I have exchanged the example again.
Aug 17 2022 01:51 PM
That's a more 'modern' solution, I like it.
But there's something strange with the calculation of Easter Monday. I see this in your workbook:
=7*ROUND((4&-A1)/7+MOD(19*MOD(A1,19)-7,30)*0.14,)-6+1
This causes an error when Excel recalculates. It should be
=7*ROUND((DATE(A1,4,1))/7+MOD(19*MOD(A1,19)-7,30)*0.14,)-6+1
Aug 17 2022 01:57 PM
Aug 17 2022 01:17 PM
Solution