ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Changing a Worksheet Reference Formula using a drop down box (https://www.excelbanter.com/excel-discussion-misc-queries/59624-changing-worksheet-reference-formula-using-drop-down-box.html)

DaveyC4S

Changing a Worksheet Reference Formula using a drop down box
 
Hi

I have identical data sets in different worksheets. I have one calculation
worksheet at the front of the workbook and based upon the choice in a drop
down box I want the calculation sheet to reference one of the different data
sets.

I have tried using IF statements and this is ok until you reach 7 worksheets.

Is there a way where I can change the referenced worksheet in the
calculation formulae based upon the choice made in the drop down box?

Any help much appreciated.

Best regards
Dave

Niek Otten

Changing a Worksheet Reference Formula using a drop down box
 
Hi Dave,

Use the INDIRECT() function.
Look in HELP for details

--
Kind regards,

Niek Otten

"DaveyC4S" wrote in message
...
Hi

I have identical data sets in different worksheets. I have one
calculation
worksheet at the front of the workbook and based upon the choice in a drop
down box I want the calculation sheet to reference one of the different
data
sets.

I have tried using IF statements and this is ok until you reach 7
worksheets.

Is there a way where I can change the referenced worksheet in the
calculation formulae based upon the choice made in the drop down box?

Any help much appreciated.

Best regards
Dave





All times are GMT +1. The time now is 09:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com