+ Reply to Thread
Results 1 to 5 of 5

Need drop down for tables

Hybrid View

  1. #1
    Registered User
    Join Date
    06-25-2012
    Location
    Newark, New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    42

    Need drop down for tables

    How can I get a drop down for the tables going by year?

    Please see attached.

    Thank you!
    Attached Files Attached Files
    Last edited by neelpatel; 09-10-2012 at 10:53 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need drop down for tables

    Not sure I follow. You just need a dropdown showing years to select from?

    If so, create a list in consecutive cells of the years to include, then from Data, select Validation, then select List from the allow menu, and in the source field enter the range where you entered the list of years
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-25-2012
    Location
    Newark, New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Need drop down for tables

    I wanted a drop down list where I can practically include the table per year....

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need drop down for tables

    Still not quite sure... but here is my best guess.

    I am assuming you want a drop down, where you can select a year, and the appropriate table displays separately. Yes?

    If so, then see attached.

    I created a list of years in V2:V5.

    Then in K2, I created the data validation, so you can select the year.

    Then in L2 add formula:

    =INDEX($A$3:$C$17,MATCH($K$2,$A$3:$A$17,0)+ROW($K$2:$K2)-2,COLUMNS($K$2:L$2))

    copied to M2.

    In K3 add formula:

    =INDEX($A$3:$C$17,MATCH($K$2,$A$3:$A$17,0)+ROWS($K$2:$K2),COLUMNS($K$2:K$2))

    copied across the table and down.

    Then formatted table as per originals.

    You can cut and paste this table to sheet2, if desired.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-25-2012
    Location
    Newark, New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Need drop down for tables

    Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1