Change reference in formula with dropdown

L

Legacy 287389

Guest
Hi good people!,

i'm trying to find a way to replace part of a formula by using a drop down. The formula is this:
HTML:
='G:\Flash\FLASH 18 - 19\NOV 18\The Ridge Flash\[The Ridge Flash - 21 Nov  18.xlsx]Slots Per Area'!$M$63

the drop down contains a list of months, so if i select "Jun", the "NOV" in the formula must change. is this at all possible?..please help..

NB: the actual days are not a problem as i will fill all cells next to the days in a column with the formula, obviously just changing the days in all of them. thank you kindly..

Something else...the cell reference in the formula displays M63..actually what i would like is the sum of 3 cells, M63, O63 and Q63.
 
Last edited by a moderator:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Dropdowns are linked to a cell arent they? You enter the cell reference when defining the dropdown, e.g. A1

So you'd need to change the formula to

=INDIRECT("'G:\Flash\FLASH 18 - 19"&A1&" 18\The Ridge Flash\[The Ridge Flash - 21 Nov 18.xlsx]Slots Per Area'!$M$63")
or
=INDIRECT("'G:\Flash\FLASH 18 - 19"&A1&" 18\The Ridge Flash\[The Ridge Flash - 21 "&A1&" 18.xlsx]Slots Per Area'!$M$63")

depending if you only want the one NOV reference changed or both the NOV and the Nov reference changed as you've only specified the NOV reference
 
Upvote 0
hello Special-K99,

sorry for coming back only now...thank you very much for your help, greatly appreciated!
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,262
Members
452,627
Latest member
KitkatToby

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