Phasing Problem

BAMSteve

New Member
Joined
Nov 8, 2017
Messages
3
Good Afternoon all, hopefully you may be able to help

I am trying to phase daily sales trends in particular months and days

For example in March i have 875 orders, there are 31 days in the month giving me a average of 62 orders a day. the bit i want to phase is that certain days of the week perform better. when i look at a week i see sales typically split as follows:

Sunday 16% of sales
Monday 16% Of Sales
Tuesday 11% of Sales
Wednesday 11% of Sales
Thursday 12% of Sales
Friday 19% of Sales
Saturday 15% of Sales

what formula could i add that would take the average daily figure for the month and then associate a uplift or decrease depending on what day of the week it is but still total 875 for the full month?

Thank you in advance for any assistance you may be able to give.

best Regards

Steve
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi, welcome to the board.

I think this is really a maths question, not an Excel question.
In the sense that there are lots of ways to do this in Excel, but first you need to decide how exactly you want the maths for this to work.

By the way, 875 orders in March, spread over 31 days, is, I think, 28.226... orders per day, not 62.

Anyway, here's a suggestion -
If sales were totally flat across the week, each day would make up 1/7th of the total, or 14.2857%.

So, what you COULD do, is to calculate Sunday's sales, take daily average of 62 or 28.226 or whatever it really is, multiply by 16, and divide by 14.2857.
And so on for the other days.
 
Upvote 0
Hi ,

If you want a detailed Excel setup , try out the following :

1. Place the total monthly sales figure , 875 , in some cell ; let us say it is in A1.

2. In some other area of the worksheet place the table of day-wise sales percentages ; let us say you have the days Sunday , Monday ,... in the range K3:K9 ; next to it , in L3:L9 enter the values of 16 , 16 , 11 , 11 , 12 , 19 , 15.

3. In the range A3:A33 , enter the dates 01-03-2017 (if it is March) , 02-03-2017 ,..., 31-03-2017.

4. In B3 enter the following formula , and copy down :

=$A$1*VLOOKUP(TEXT(A3,"dddd"),$K$3:$L$9,2,FALSE)/(100*SUMPRODUCT(--(TEXT($A$3:$A$33,"ddd")=TEXT(A3,"ddd"))))

What this does is multiply the total sales figure for the month by the percentage of sales for that day of the week , and divide by the total number of that day of the week in the month.
 
Upvote 0
[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
A​
[/td][td="bgcolor:#C0C0C0"]
B​
[/td][td="bgcolor:#C0C0C0"]
C​
[/td][td="bgcolor:#C0C0C0"]
D​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td="bgcolor:#F3F3F3"]
Weekday
[/td][td="bgcolor:#F3F3F3"]
Rel %
[/td][td="bgcolor:#F3F3F3"]
Count
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]Sun[/td][td]
16%​
[/td][td="bgcolor:#E5E5E5"]
4​
[/td][td]C2: =SUMPRODUCT(--(TEXT(WEEKDAY($A$13:$A$43), "ddd") = A2))[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td]Mon[/td][td]
16%​
[/td][td="bgcolor:#E5E5E5"]
4​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
4​
[/td][td]Tue[/td][td]
11%​
[/td][td="bgcolor:#E5E5E5"]
4​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
5​
[/td][td]Wed[/td][td]
11%​
[/td][td="bgcolor:#E5E5E5"]
5​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
6​
[/td][td]Thu[/td][td]
12%​
[/td][td="bgcolor:#E5E5E5"]
5​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
7​
[/td][td]Fri[/td][td]
19%​
[/td][td="bgcolor:#E5E5E5"]
5​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
8​
[/td][td]Sat[/td][td]
15%​
[/td][td="bgcolor:#E5E5E5"]
4​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
9​
[/td][td][/td][td][/td][td="bgcolor:#E5E5E5"]
4.42
[/td][td]C9: =SUMPRODUCT(B2:B8, C2:C8)[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
10​
[/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
11​
[/td][td][/td][td="bgcolor:#F3F3F3"]
Sales
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
12​
[/td][td="bgcolor:#F3F3F3"]
Day
[/td][td]
875​
[/td][td][/td][td]B12: Input[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
13​
[/td][td]
Wed 01 Mar​
[/td][td="bgcolor:#E5E5E5"]
21.8​
[/td][td][/td][td]B13: =VLOOKUP(TEXT(WEEKDAY(A13), "ddd"), $A$2:$B$8, 2, FALSE) * B$12/C$9[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
14​
[/td][td]
Thu 02 Mar​
[/td][td="bgcolor:#E5E5E5"]
23.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
15​
[/td][td]
Fri 03 Mar​
[/td][td="bgcolor:#E5E5E5"]
37.6​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
16​
[/td][td]
Sat 04 Mar​
[/td][td="bgcolor:#E5E5E5"]
29.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
17​
[/td][td]
Sun 05 Mar​
[/td][td="bgcolor:#E5E5E5"]
31.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
18​
[/td][td]
Mon 06 Mar​
[/td][td="bgcolor:#E5E5E5"]
31.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
19​
[/td][td]
Tue 07 Mar​
[/td][td="bgcolor:#E5E5E5"]
21.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
20​
[/td][td]
Wed 08 Mar​
[/td][td="bgcolor:#E5E5E5"]
21.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
21​
[/td][td]
Thu 09 Mar​
[/td][td="bgcolor:#E5E5E5"]
23.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
22​
[/td][td]
Fri 10 Mar​
[/td][td="bgcolor:#E5E5E5"]
37.6​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
23​
[/td][td]
Sat 11 Mar​
[/td][td="bgcolor:#E5E5E5"]
29.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
24​
[/td][td]
Sun 12 Mar​
[/td][td="bgcolor:#E5E5E5"]
31.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
25​
[/td][td]
Mon 13 Mar​
[/td][td="bgcolor:#E5E5E5"]
31.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
26​
[/td][td]
Tue 14 Mar​
[/td][td="bgcolor:#E5E5E5"]
21.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
27​
[/td][td]
Wed 15 Mar​
[/td][td="bgcolor:#E5E5E5"]
21.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
28​
[/td][td]
Thu 16 Mar​
[/td][td="bgcolor:#E5E5E5"]
23.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
29​
[/td][td]
Fri 17 Mar​
[/td][td="bgcolor:#E5E5E5"]
37.6​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
30​
[/td][td]
Sat 18 Mar​
[/td][td="bgcolor:#E5E5E5"]
29.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
31​
[/td][td]
Sun 19 Mar​
[/td][td="bgcolor:#E5E5E5"]
31.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
32​
[/td][td]
Mon 20 Mar​
[/td][td="bgcolor:#E5E5E5"]
31.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
33​
[/td][td]
Tue 21 Mar​
[/td][td="bgcolor:#E5E5E5"]
21.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
34​
[/td][td]
Wed 22 Mar​
[/td][td="bgcolor:#E5E5E5"]
21.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
35​
[/td][td]
Thu 23 Mar​
[/td][td="bgcolor:#E5E5E5"]
23.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
36​
[/td][td]
Fri 24 Mar​
[/td][td="bgcolor:#E5E5E5"]
37.6​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
37​
[/td][td]
Sat 25 Mar​
[/td][td="bgcolor:#E5E5E5"]
29.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
38​
[/td][td]
Sun 26 Mar​
[/td][td="bgcolor:#E5E5E5"]
31.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
39​
[/td][td]
Mon 27 Mar​
[/td][td="bgcolor:#E5E5E5"]
31.7​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
40​
[/td][td]
Tue 28 Mar​
[/td][td="bgcolor:#E5E5E5"]
21.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
41​
[/td][td]
Wed 29 Mar​
[/td][td="bgcolor:#E5E5E5"]
21.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
42​
[/td][td]
Thu 30 Mar​
[/td][td="bgcolor:#E5E5E5"]
23.8​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
43​
[/td][td]
Fri 31 Mar​
[/td][td="bgcolor:#E5E5E5"]
37.6​
[/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
44​
[/td][td="bgcolor:#F3F3F3"]
Check
[/td][td="bgcolor:#E5E5E5"]
875.0
[/td][td][/td][td]B44: =SUM(B13:B43)[/td][/tr]
[/table]


Note that the ratio of sales on, for example, any Sunday to any Tuesday, is 16/11
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top