hatahetahmad
New Member
- Joined
- Jan 8, 2016
- Messages
- 31
Hi,
If I had two dates from 1/15/2018 to 7/10/2018
and I Had sales per day from historical data :
Qtr1 - 20 - per day
Qtr2 - 25 - per day
Qtr3 - 18 - per day
Qtr4 - 32 - per day
I wanna know how much I'll sold based on this data per quarter like this :
from 1/15 to 3/31 how many working days multiply Qtr 1 (65 days * 20 = 1300)
and from 4/1 to 6/30 (78 days * 25 =1950)
and from 7/1 to 7/10 (9 days * 18 =162)
I excluded Fridays only
total expected sales is (1300 + 1950 + 162 = 3412)
My solution is checking start date quarter and end date quarter then make a huge if to achieve that
Can we have more fast, dynamic and stable solution
Thank you
If I had two dates from 1/15/2018 to 7/10/2018
and I Had sales per day from historical data :
Qtr1 - 20 - per day
Qtr2 - 25 - per day
Qtr3 - 18 - per day
Qtr4 - 32 - per day
I wanna know how much I'll sold based on this data per quarter like this :
from 1/15 to 3/31 how many working days multiply Qtr 1 (65 days * 20 = 1300)
and from 4/1 to 6/30 (78 days * 25 =1950)
and from 7/1 to 7/10 (9 days * 18 =162)
I excluded Fridays only
total expected sales is (1300 + 1950 + 162 = 3412)
My solution is checking start date quarter and end date quarter then make a huge if to achieve that
Can we have more fast, dynamic and stable solution
Thank you
Last edited: