Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ukplay
 
Posts: n/a
Default Show data dependant on selection from drop down box

Hi all, hope somone can help!
I wish to create a spreadsheet whereby the 'summary' sheet contains a
dropdown box list, say months of the year, and on selecting a month in the
list the summary sheet would then display data from another so-named
worksheet in the same book.
The monthly data sheets may gain extra headings which would need to be
collated in the 'summary sheet headings' (presumably via a vlookup on a
further 'standing data' sheet?). Im sure some VB or macro would do, but am a
total novice at those!
Thanks for any advice!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Miguel Zapico
 
Posts: n/a
Default Show data dependant on selection from drop down box

If you use in the dropdown list the name of the worksheets, you can reference
your data using INDIRECT, and it will change with your selection.
Supposing the dropdown is in cell B1, a formula to refer to cell C3 of the
selected worksheet will be:
=INDIRECT(B1 & "!C3")
When you add more headers, changing the cell reference part of the formula
will allow you to link to the new data.

One warning, this will work fine if the format of all the worksheets
referenced is the same. Otherwise, the results will be unpredictable.

Hope this helps,
Miguel.

"ukplay" wrote:

Hi all, hope somone can help!
I wish to create a spreadsheet whereby the 'summary' sheet contains a
dropdown box list, say months of the year, and on selecting a month in the
list the summary sheet would then display data from another so-named
worksheet in the same book.
The monthly data sheets may gain extra headings which would need to be
collated in the 'summary sheet headings' (presumably via a vlookup on a
further 'standing data' sheet?). Im sure some VB or macro would do, but am a
total novice at those!
Thanks for any advice!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
How do I add input data in the input ranges in drop down boxes. oil_driller Excel Discussion (Misc queries) 1 November 9th 05 10:31 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
How can I show all field data in a pivot table, instead of blank Alastair Scott Excel Discussion (Misc queries) 3 August 17th 05 07:08 PM
Forms Toolbar vs. Control Toolbox vs. Data Validation for drop dow Scott Excel Discussion (Misc queries) 1 February 1st 05 01:51 PM


All times are GMT +1. The time now is 04:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"