FUTURE ORDERS

alm395

New Member
Joined
Apr 23, 2018
Messages
39
Office Version
  1. 365
Platform
  1. Windows
Hi!

I am new to creating future estimates and am looking for the best way to show the prediction. I tried using Forecast.Linear, but think I did something wrong, as I got the same number for all future predictions. I was able to calculate the monthly averages for this year based on the historical values.

Total Orders = Total number of orders we received
Arrive < 1 HR = Of the total number of orders, these are the amount we were able to deliver on < 1 hour

I am looking for the estimated number of Total Orders and Arrive < 1 HR for May 2021 - Jan 2022. What is the best way to go about this?

Thank you!

05.06.21 - WD DATA.xlsx
ABCDEFGH
2FYMMYYTotal OrdersTO AVGTO PREDICTARRIVE < 1HR<60 AVG<60 PREDICT
3FY 18Feb-17445174
4Mar-17217190
5Apr-17253213
6May-17396244
7Jun-17250222
8Jul-17237207
9Aug-17569426
10Sep-17188167
11Oct-17159144
12Nov-17118111
13Dec-17175129
14Jan-18148135
15FY19Feb-18142133
16Mar-18235215
17Apr-18225216
18May-18305292
19Jun-18241236
20Jul-18380366
21Aug-18274273
22Sep-18308300
23Oct-18221214
24Nov-18177175
25Dec-18242240
26Jan-19204204
27FY 20Feb-19128128
28Mar-19167167
29Apr-19385360
30May-19335333
31Jun-191493755
32Jul-19317311
33Aug-19221218
34Sep-19301297
35Oct-19324317
36Nov-19230227
37Dec-19139137
38Jan-20159159
39FY 21Feb-20162162
40Mar-20213213
41Apr-20305303
42May-20628582
43Jun-20284283
44Jul-20249248
45Aug-20300298
46Sep-20263260
47Oct-20194193
48Nov-20141140
49Dec-20221221
50Jan-21151151
51FY22Feb-21162219155149
52Mar-21282208278196
53Apr-21319292294273
54May-21416363
55Jun-21567374
56Jul-21296283
57Aug-21341304
58Sep-21265256
59Oct-21225217
60Nov-21167163
61Dec-21194182
62Jan-22166162
DATA (2)
Cell Formulas
RangeFormula
D51:D62,G51:G62D51=AVERAGE(C3,C15,C27,C39)
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
For a decent explanation of Forecast.Linear you can look --> Here.

This appears to be available only to versions 2016 and newer!!! Older versions used Forecast

Example:

VBA Code:
=FORECAST.LINEAR(7,Y1:Y6,X1:X6)

Basically, the 7 would be your estimated future value of X, The result returned from the formula will be the future estimate of what y will be based on the x value you are estimating for the future.

The 1st part of the formula is your estimated value of what x will be, this must be a value, or a cell address that contains a value
The 2nd part of the formula is your range of known y values that have already occurred, This can be a named range also.
The 3rd part of the formula is your range of known x values that have already occurred, This can be a named range also.

These two ranges must be of equal size. <---

So the formula takes your two known ranges of x & y values, looks at what x value you have chosen to be in the future, and as a result it will spit out the future y value.
 
Upvote 0
This solution relies on your having Excel 365 because it uses the new function FILTER.

Copy downwards the formulas in row3 all the way to row62.
MrExcel posts18.xlsx
ABCDEFGH
2FYDateTotal OrdersTotal Orders Monthly AverageTotal Orders Monthly ForecastARRIVE < 1HRArrive < 1HR Monthly AverageArrive < 1HR Monthly Forecast
3FY 182/1/2017445  174  
Sheet73
Cell Formulas
RangeFormula
D3D3=IF(ISNUMBER(C3),"",AVERAGE(FILTER($C$3:$C$62,($B$3:$B$62<B3)*(MONTH($B$3:$B$62)=MONTH(B3)))))
E3E3=IF(ISNUMBER(C3),"",FORECAST.LINEAR(B3,FILTER($C$3:$C$62,($B$3:$B$62<B3)*(MONTH($B$3:$B$62)=MONTH(B3))),FILTER($B$3:$B$62,($B$3:$B$62<B3)*(MONTH($B$3:$B$62)=MONTH(B3)))))
G3G3=IF(ISNUMBER(F3),"",AVERAGE(FILTER($F$3:$F$62,($B$3:$B$62<B3)*(MONTH($B$3:$B$62)=MONTH(B3)))))
H3H3=IF(ISNUMBER(F3),"",FORECAST.LINEAR(B3,FILTER($F$3:$F$62,($B$3:$B$62<B3)*(MONTH($B$3:$B$62)=MONTH(B3))),FILTER($B$3:$B$62,($B$3:$B$62<B3)*(MONTH($B$3:$B$62)=MONTH(B3)))))
 
Upvote 0
I used those formulas & they worked. Only one problem...column H should be < column E. That is stating, of the total number of orders (column E), this amount arrived at the location under 60 minutes (column H). We then divide H by E to get our month-end percentage.

1620654359325.png
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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