Forecast in Excel with multiple criteria

JS050

New Member
Joined
Feb 1, 2023
Messages
7
Office Version
  1. 365
Platform
  1. MacOS
Hi everyone,

I am continuing on an earlier post which AhoyNC solved about finding an value in a range that is between percentage of one 1 value: Value within percentage range

Now, I am trying to forecast future values based on multiple criteria within 2 ranges. I have tried to use XL2BB, but I can't get it to work, apologies in advance.

I have created a summary table in N5:P10 of the values in H5:L10. This is obviously based on the first table. In this summary I was able to get a forecast with =FORECAST(B2;K6:K16;J6:J16), which was easy.

However, now I am trying to get a forecast based on two different Criteria: B1 & B2 in cell E22 for the Price in EU en F22 for the Price in SEA. In B1 i have created a drop-down menu with all the unique types of wood in C6:C16. In B2 is 3600 which need to correspond to the values of D6:D16. I would like to get a forecast with for example, only oak. It should give me then a forecast of Price in EU & Price SEA based on the C7:F7;OAK, 3000,1500,975 & C13:F13; 4000,2500,1300.

Can somebody help?

Thanks a lot in advance!

Schermafbeelding 2023-02-07 om 20.33.37.png
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Not sure I totally understand, but maybe:
On earlier versions of Excel you will probably need to enter this as an array formula. Which is CTRL-SHIFT-ENTER in windows. On a Mac I think it's COMMAND-RETURN.
Also, since you stated before you don't have Excel 365 at work you need to advise us what version you are using since your profile has 365.

Book1
ABCDEFG
1TypeOak
2Weight3600
3Procentual Change95%3420
4105%3780
5Unique ID TypeWeightPrice EUPrice SEA
6ffffPine37002,0001,300
7BaltOak30001,500975
8PPRRWalnut32401,500975
9KBPine36501,6001,040
10FDDAsh32401,8001,170
11FFGGAsh37001,9001,235
12KKKKPine34501,9001,235
13EEDDOak37002,0001,300
14EECIIWalnut40002,5001,625
15EEFFFWalnut43001,9001,235
16CCMMPine42002,5001625
17
18TypeWeightPrice EUPrice SEA
19
20
21
22ForecastOak360019291254
Sheet2
Cell Formulas
RangeFormula
C3C3=B2*B3
C4C4=B2*B4
F22F22=FORECAST($B$2,IF($C$6:$C$16=$B$1,$E$6:$E$16),IF($C$6:$C$16=$B$1,$D$6:$D$16))
G22G22=FORECAST($B$2,IF($C$6:$C$16=$B$1,$F$6:$F$16),IF($C$6:$C$16=$B$1,$D$6:$D$16))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Solution
Not sure I totally understand, but maybe:
On earlier versions of Excel you will probably need to enter this as an array formula. Which is CTRL-SHIFT-ENTER in windows. On a Mac I think it's COMMAND-RETURN.
Also, since you stated before you don't have Excel 365 at work you need to advise us what version you are using since your profile has 365.

Book1
ABCDEFG
1TypeOak
2Weight3600
3Procentual Change95%3420
4105%3780
5Unique ID TypeWeightPrice EUPrice SEA
6ffffPine37002,0001,300
7BaltOak30001,500975
8PPRRWalnut32401,500975
9KBPine36501,6001,040
10FDDAsh32401,8001,170
11FFGGAsh37001,9001,235
12KKKKPine34501,9001,235
13EEDDOak37002,0001,300
14EECIIWalnut40002,5001,625
15EEFFFWalnut43001,9001,235
16CCMMPine42002,5001625
17
18TypeWeightPrice EUPrice SEA
19
20
21
22ForecastOak360019291254
Sheet2
Cell Formulas
RangeFormula
C3C3=B2*B3
C4C4=B2*B4
F22F22=FORECAST($B$2,IF($C$6:$C$16=$B$1,$E$6:$E$16),IF($C$6:$C$16=$B$1,$D$6:$D$16))
G22G22=FORECAST($B$2,IF($C$6:$C$16=$B$1,$F$6:$F$16),IF($C$6:$C$16=$B$1,$D$6:$D$16))
Press CTRL+SHIFT+ENTER to enter array formulas.
Works again, thanks!!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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