+ Reply to Thread
Results 1 to 8 of 8

Automatically fill summary table with filtered data based on drop-down list

  1. #1
    Registered User
    Join Date
    11-05-2020
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    7

    Automatically fill summary table with filtered data based on drop-down list

    Hi All,

    I have the below excel spreadsheet, where I have a table, with the months on one side and the number of items sold per item in columns.

    Item T Shirts Leg Shorts Vest
    Jan-20 37 33 34 35
    Feb-20 38 33 29 37
    Mar-20 41 35 33 35
    Apr-20 43 36 33 36
    May-20 31 35 43 38
    Jun-20 31 38 43 35
    Jul-20 44 39 44 37
    Aug-20 36 33 31 36
    Sep-20 38 33 31 35
    Oct-20 38 33 31 38
    Nov-20 39 34 44 39
    Dec-20 42 36 30 38
    Jan-21 27 40 32 40
    Feb-21 36 41 37 38
    Mar-21 34 38 27 40
    Apr-21 42 36 36 41
    May-21 42 36 34 38
    Jun-21 42 35 32 38


    What I want to do is at the bottom, have a drop down list where I select the item, for example shorts, and the numbers for each month are automatically pulled into this table for each month.

    Item Sold Shorts (this is a drop down)
    Jan-20 answer to automatically generate when a drop down item is selected, so 34 in this case
    Feb-20
    Mar-20
    Apr-20
    May-20
    Jun-20
    Jul-20
    Aug-20
    Sep-20
    Oct-20
    Nov-20
    Dec-20
    Jan-21
    Feb-21
    Mar-21
    Apr-21
    May-21
    Jun-21

    How would I go about doing this please?

    Thank you.
    Attached Files Attached Files
    Last edited by AliGW; 10-04-2021 at 10:17 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Index Match Query

    An attachment would be much easier to get you a better answer.

    https://exceljet.net/formula/two-way...ndex-and-match is along the lines you want

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Index Match Query

    Could you attach sample file, please.
    Take a look on yellow banner at the top of the page.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Registered User
    Join Date
    11-05-2020
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    7

    Re: Index Match Query

    Added a file!

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,145

    Re: Index Match Query

    Try

    =INDEX($B$2:$E$19,MATCH(A$22,$A$2:$A$19,0),MATCH($B$21,$B$1:$E$1,0))

    Dates in column A ,Data in B:E, A22 has date (jan-20), B21 product (vest)

    From your posted file

    =INDEX($C$4:$F$21,MATCH($B25,$B$4:$B$21,0),MATCH($C$24,$C$3:$F$3,0))
    Attached Files Attached Files
    Last edited by JohnTopley; 10-04-2021 at 10:21 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,288

    Re: Automatically fill summary table with filtered data based on drop-down list

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I have done it for you this time.)

    There is no MS Office 10 - which version do you have? Please update your forum profile. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    11-05-2020
    Location
    London, England
    MS-Off Ver
    MS Office 10
    Posts
    7

    Re: Index Match Query

    Quote Originally Posted by JohnTopley View Post
    Try

    =INDEX($B$2:$E$19,MATCH(A$22,$A$2:$A$19,0),MATCH($B$21,$B$1:$E$1,0))

    Dates in column A ,Data in B:E, A22 has date (jan-20), B21 product (vest)

    From your posted file

    =INDEX($C$4:$F$21,MATCH($B25,$B$4:$B$21,0),MATCH($C$24,$C$3:$F$3,0))
    Thank you it works!!

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,288

    Re: Automatically fill summary table with filtered data based on drop-down list

    Please update your forum profile as requested in post #6.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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. [SOLVED] query regarding index and match
    By msaadkamal in forum Office 365
    Replies: 5
    Last Post: 05-01-2019, 07:34 AM
  2. [SOLVED] INDEX MATCH MAX Query
    By taylor_ in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-20-2017, 11:12 AM
  3. Index and three match query
    By ajayd3v in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-28-2013, 11:11 AM
  4. Index match query
    By jocer in forum Excel General
    Replies: 3
    Last Post: 07-08-2012, 07:17 AM
  5. Index Match Query
    By leekenkeong in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2012, 10:16 AM
  6. index and match query
    By kate in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2006, 08:00 PM
  7. INDEX AND MATCH QUERY ?
    By kate in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2006, 08:25 AM

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