Add forecast to pivot table based on query

chacham

New Member
Joined
Jun 2, 2023
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
I created a query and a pivot table, and now want to add a forecast.

The query outputs the following columns: Company, Area, Department, Year, Month, Total.

The pivot table is based on it and has the following settings:
Columns: Year, Month
Rows: Company, Area, Department
Values: Sum of Total

The year and month make up the last year, so, right now, for example, it lists 2022/5-2023/4, with a total for each year and a grand total.

fh8sdqhpp93b1.png

Now i want to add a forecast for the next 3 months on another tab. If i go to Data->Forecast->Forecast Sheet, the Create Forecast Worksheet popup has, "Use historical data to create a visual forecast worksheet" Then, "A forecast can't be created because the timeline isn't evenly spaced."

lvkfwic0q93b1.png

Is it a mistake to try to base the forecast on the pivot table?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Error was because of the total columns which can be removed under pivot table option and column options. I created date column in another tab with a formula, but then it said i had too much data. If i limited it to one row, it created the forecast, but that took up multiple rows, though i only had one per forecast. Instead, i used the average different over the last three months and just added it to the most recent total. That seems to work, for now.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,084
Messages
6,123,024
Members
449,092
Latest member
ikke

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