+ Reply to Thread
Results 1 to 3 of 3

How to have a drop down menu change multiple other cells (chart)

  1. #1
    Registered User
    Join Date
    06-26-2015
    Location
    Wisconsin
    MS-Off Ver
    2010
    Posts
    5

    Cool How to have a drop down menu change multiple other cells (chart)

    Hello,

    I am currently working on a calendar-like document where I track weekly data, but I only send a recap showing the previous 2 week's worth of data. I have the data saved for several week's but since I only communicate out the previous 2 week's worth of data, I end up doing a lot of copying and pasting. I feel like what I am doing could be done a lot more efficiently. That way if it is requested to look at Week 1 and Week 8, I don't have to go and copy/paste a lot of data, I could just select for my document to only show Week 1 and Week 8.

    I would like to have a drop-down list in a cell in the first column to let me choose what week I am referencing. Once a week is selected, it would pull in the information and populate the results for that week - Sunday's data through Saturday's data. The week's data would be in the columns to the right. The part I am unsure about is that the data populated for each individual day has several pieces of data.

    To make it easier to understand, I came up with a document (attached below) that will show what I am looking to have displayed.

    I know how to create a drop-down list in Excel. But I don't know how to get the drop down choice selected to have such a huge affect on other cells. I know that there will have to be a table created on a different sheet that has all this information, however I am not even sure of the correct way to put this information into a table to get this to work. What I would like to do is if I choose "week 1" from a drop down menu, I would like it to properly change Sunday's date to January 1st, Monday's date to January 2nd, etc. And then under Sunday, display all the information for Sunday, January 1st.



    Please let me know if this doesn't quite make sense! And thanks in advance for any help!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to have a drop down menu change multiple other cells (chart)

    You can use the offset function.
    I put the dropdown in A2 of the next sheet. I formatted the table next to it exactly like the tables on sheet1
    Then in B2 (and similar formulas throughout the table)
    =OFFSET(Sheet1!$A$3, MATCH($A$2, Sheet1!$A$4:$A$14,0)+ROWS($A$1:$A1)-1,COLUMNS($A$1:A$1))

    The use of ROWS and COLUMNS allows you to copy and paste the formula and it will automatically adjust to the new row and column.
    Is this what you are looking for?
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    06-26-2015
    Location
    Wisconsin
    MS-Off Ver
    2010
    Posts
    5

    Re: How to have a drop down menu change multiple other cells (chart)

    That is exactly what I am looking for!! Thank you so much! I will look it over more and let you know if I come across any issues with it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Autopopulate multiple cells based on one drop down menu
    By Vincent16 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2013, 04:08 PM
  2. Multiple cells changed through 1 drop down menu
    By Dj_Seagal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-31-2012, 12:26 AM
  3. Replies: 2
    Last Post: 04-30-2012, 12:00 PM
  4. Drop down menu for multiple cells! AHH!
    By dekken in forum Excel General
    Replies: 6
    Last Post: 01-06-2009, 08:57 AM
  5. Drop Down menu & multiple linked cells
    By darken99 in forum Excel General
    Replies: 0
    Last Post: 06-05-2007, 01:03 PM

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