Dynamic Variance formula as reporting month changes

Zakky

Board Regular
Joined
Mar 26, 2016
Messages
143
Office Version
  1. 365
Platform
  1. Windows
Hi, All. I have produced a simple example of my monthly reporting file which i update manually for the relevant month by changing the formula in cells B13, C13, D13. I manually change the budget column reference 'E' (E3), say, for April each month. So for May i will change to 'F' (F3) so it picks up May budget. Is there a way to make the formula dynamic (without VBA) so it jumps to the month (column) in cell 'A9' (Relevant month) including previous months e.g Jan. Thank you for your help.

1706222342698.png
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I don't know where your values in B11:D11 come from, but perhaps something like this?
Book1
ABCDEFGHIJKLM
1
2JanFebMarAprMayJunJulAugSepOctNovDec
3Product A2000300040005000600070008000900010000110001200013000
4Product B400060008000100001200014000160001800020000220002400026000
5Product C100015002000250030003500400045005000550060006500
6
7
8
9Apr
10Product AProduct BProduct C
11Units100020003000
12
13Variance-4000-8000500
Sheet1
Cell Formulas
RangeFormula
B13:D13B13=B11-SUMPRODUCT(($B$2:$M$2=$A$9)*($A$3:$A$5=B10),$B$3:$M$5)
Cells with Data Validation
CellAllowCriteria
A9List=$B$2:$M$2
 
Upvote 0
Kevin999, thank you for the prompt reply. Your solution works like a charm. Many thanks for saving me a lot of time each month.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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