Automatically update formulae and add to new row

bigjim324

New Member
Joined
Jan 25, 2023
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Howdy all,

I would like to find a way to have my excel sheet automatically produce a new row of formulae with a new file reference to reflect the new month. i.e. I would like the below formula to be replicated in the cell below and have the name for the document referenced changed from 'June 22' to 'July 22', preferably at the beginning of a new month.

=IF($B$1=1,ABS(SUMPRODUCT(-('Report June 22.xlsx'!$C$2:$C$200=$A$10),'Report June 22.xlsx'!$S$2:$S$200)/SUMPRODUCT(-('Report June 22.xslx'!$C$2:$C$200=$A$10))),IFERROR((VLOOKUP($A$10,'Report June 22.xlsx'!$A$1:$U$1800,19,FALSE)),0))

Thanks!
Jimbo
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,214,653
Messages
6,120,749
Members
448,989
Latest member
mariah3

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