Forum Discussion

mroldan5's avatar
mroldan5
Copper Contributor
Aug 17, 2022
Solved

Divide Sales Objective by number of working days

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

    • mroldan5's avatar
      mroldan5
      Copper Contributor
      I really like this one too, it considers even holidays! Thank you very much.
    • HansVogelaar's avatar
      HansVogelaar
      MVP

      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

    • mroldan5's avatar
      mroldan5
      Copper Contributor
      Thank you very much for your help, it's exactly what I needed!

Resources