ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Update Formula's based on drop down list value (https://www.excelbanter.com/excel-worksheet-functions/150260-update-formulas-based-drop-down-list-value.html)

Steven Taylor

Update Formula's based on drop down list value
 
Hi,



I would appreciate some advise on the following:



1. I have a workbook with 5 sheets in it. The first four sheets are

named wk1, wk2, wk3, wk4. The fifth sheet is named Summary.

2. The "Summary" sheet has a drop down box on the sheet with the

names of the first four worksheets.

3. When a user selects a value from the drop down list say "wk2", I
would

like all the formula's on the "Summary" page now to pull the values from

the "wk 2" worksheet etc.



All comments and suggestions welcome.



Thanks,



Steve



Pete_UK

Update Formula's based on drop down list value
 
You'll need to use the INDIRECT function, something like:

=INDIRECT($M$1&"!A1)

where M1 contains your pull-down. This will bring the value from cell
A1 of the sheet specified in M1.

Hope this helps.

Pete

On Jul 15, 12:20 am, "Steven Taylor" wrote:
Hi,

I would appreciate some advise on the following:

1. I have a workbook with 5 sheets in it. The first four sheets are

named wk1, wk2, wk3, wk4. The fifth sheet is named Summary.

2. The "Summary" sheet has a drop down box on the sheet with the

names of the first four worksheets.

3. When a user selects a value from the drop down list say "wk2", I
would

like all the formula's on the "Summary" page now to pull the values from

the "wk 2" worksheet etc.

All comments and suggestions welcome.

Thanks,

Steve




Vasant Nanavati

Update Formula's based on drop down list value
 
I think you missed the closing double quote. <g

=INDIRECT($M$1&"!A1")

Of course, this is assuming that it is a Data Validation dropdown.
__________________________________________________ _______________________

"Pete_UK" wrote in message
ups.com...
You'll need to use the INDIRECT function, something like:

=INDIRECT($M$1&"!A1)

where M1 contains your pull-down. This will bring the value from cell
A1 of the sheet specified in M1.

Hope this helps.

Pete

On Jul 15, 12:20 am, "Steven Taylor" wrote:
Hi,

I would appreciate some advise on the following:

1. I have a workbook with 5 sheets in it. The first four sheets are

named wk1, wk2, wk3, wk4. The fifth sheet is named Summary.

2. The "Summary" sheet has a drop down box on the sheet with the

names of the first four worksheets.

3. When a user selects a value from the drop down list say "wk2", I
would

like all the formula's on the "Summary" page now to pull the values from

the "wk 2" worksheet etc.

All comments and suggestions welcome.

Thanks,

Steve






Steven Taylor

Update Formula's based on drop down list value
 
It worked!

Thanks guy's.

Cheers,

Steve

"Vasant Nanavati" <vasantn AT aol DOT com wrote in message
...
I think you missed the closing double quote. <g

=INDIRECT($M$1&"!A1")

Of course, this is assuming that it is a Data Validation dropdown.
__________________________________________________ _______________________

"Pete_UK" wrote in message
ups.com...
You'll need to use the INDIRECT function, something like:

=INDIRECT($M$1&"!A1)

where M1 contains your pull-down. This will bring the value from cell
A1 of the sheet specified in M1.

Hope this helps.

Pete

On Jul 15, 12:20 am, "Steven Taylor" wrote:
Hi,

I would appreciate some advise on the following:

1. I have a workbook with 5 sheets in it. The first four sheets
are

named wk1, wk2, wk3, wk4. The fifth sheet is named Summary.

2. The "Summary" sheet has a drop down box on the sheet with the

names of the first four worksheets.

3. When a user selects a value from the drop down list say "wk2",
I
would

like all the formula's on the "Summary" page now to pull the values from

the "wk 2" worksheet etc.

All comments and suggestions welcome.

Thanks,

Steve









All times are GMT +1. The time now is 01:58 AM.

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