Forecasting with VBA or Power Pivot in Excel

Emilio30

New Member
Joined
Oct 5, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Dear members,

I am currently working on forecasting in excel, maybe due to the large amount of data (11K cells) and fomulas (a lot conditional formatting) my excel document is running slow.

I was wondering if it was possible to calculate in VBA (given the historial data of the products) the future forecasts.
For the forecasts calculation Im currently using 8 weeks moving average with a lot of conditional formatting, like when Im in current week X take the sales from this week to this week, if its a new product then to take the values from a separate sheet only meant for new products (which is more manual since are new launches), also when its a new product and there are no current sales for the past 8 weeks; to take the values from the last 8 forecasted weeks but once there are 8 weeks of actual sales to take them instead.

I wanted to check if something like this is possible to automate (Either with macros, VBA or power pivot) since there are currently so many conditional formatting involved and would like to make the document run faster and with less formulas accross all the sheet.

Any suggestion or support is highly appreciated.

Thank you!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

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