SOLVED

Divide Sales Objective by number of working days

Copper Contributor

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 Objective0102030405080910111215161718192223242526293031
4012122212221222122212222
5522232223223322332233223
2002020202002020202020101

 

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!

5 Replies
best response confirmed by mroldan5 (Copper Contributor)
Solution

@mroldan5 

See the attached demo workbook.

Thank you very much for your help, it's exactly what I needed!

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.

@dscheikey 

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

I really like this one too, it considers even holidays! Thank you very much.
1 best response

Accepted Solutions
best response confirmed by mroldan5 (Copper Contributor)
Solution

@mroldan5 

See the attached demo workbook.

View solution in original post