+ Reply to Thread
Results 1 to 6 of 6

Drop-down list showing only a desired range of a sheet.

  1. #1
    Registered User
    Join Date
    07-05-2018
    Location
    Győr, Hungary
    MS-Off Ver
    MS Office Excel 2010
    Posts
    20

    Drop-down list showing only a desired range of a sheet.

    Hey guys,

    I have a problem processing data, that looks like as shown in the attachment. (Sheet "Munka1")
    I was thinking of having a drop-down list of the dates on another sheet, and when selected, the correct range of data shows up based on what date I selected.

    I included a plain idea on sheet "Munka2" of how I imagined it would work.

    Do you have any suggestions?
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Drop-down list showing only a desired range of a sheet.

    With suitable headers in E3 & F3, an array formula copied across and down:

    =IF(OR($E3="Average:",$E3=""),"",INDEX(Munka1!A1:N1,,MATCH(Munka2!$B$11,INT(Munka1!$A$1:$N$1),0)))

    Check the sheet, as you will probably need to use : intead of ,

    Format as desired.

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    07-05-2018
    Location
    Győr, Hungary
    MS-Off Ver
    MS Office Excel 2010
    Posts
    20

    Re: Drop-down list showing only a desired range of a sheet.

    It seems to be working as I wanted it.
    Now because there will be new data imported to sheet "Munka1" following the scheme, I would like to widen the range of this function to cover a lot bigger range of data. (Dates expected are presented in sheet "Munka2")

    Just to be clear, I added new data with date "2018.07.23" and I would like it to appear on sheet "Munka2" when selecting this date from the drop-down list. And same with the other dates.
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Drop-down list showing only a desired range of a sheet.

    Minor tweak... still an array formula.

    =IF(OR($E3="Average:",$E3=""),"",INDEX(Munka1!1:1,,MATCH(Munka2!$B$11,INT(Munka1!$1:$1),0)+COLUMNS($A:A)-1))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-05-2018
    Location
    Győr, Hungary
    MS-Off Ver
    MS Office Excel 2010
    Posts
    20

    Re: Drop-down list showing only a desired range of a sheet.

    Thank you so much, it is now doing exactly what I imagined. You're amazing.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Drop-down list showing only a desired range of a sheet.

    You're welcome!!

+ 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] Different lists from a available single list in desired format considering master-sheet
    By RavindraK in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-26-2018, 10:39 AM
  2. [SOLVED] Different lists from available single list in desired format considering master-sheet
    By RavindraK in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-26-2018, 08:14 AM
  3. [SOLVED] Complete list not showing in a drop down list from a named row
    By Frankie_The_Flyer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2017, 08:26 PM
  4. To get desired data in master sheet by selecting required item in drop down list
    By vmjain84 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2016, 03:33 PM
  5. Print desired sheet and range from explorer?
    By cure4glass1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2013, 02:09 PM
  6. Drop down list function range on another sheet
    By newbie4 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-20-2012, 02:48 PM
  7. [SOLVED] Drop down list showing blanks
    By blueice2627 in forum Excel General
    Replies: 6
    Last Post: 08-12-2012, 09:51 PM

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