+ Reply to Thread
Results 1 to 4 of 4

Filtered Drop Down List from named ranged

  1. #1
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Filtered Drop Down List from named ranged

    Hi All,

    I have attached an example for you:

    I have two columns of days of week in one and dates in the the second. What I am looking for is to be able to create a data validation drop down list from these columns that specifically contains each "Monday" within the range. In essence creating drop down list of the dates (column b) which fall on a Monday.
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Filtered Drop Down List from named ranged

    Here!

    Put this in D1 and drag down as required.

    =IFERROR(INDEX($B$1:$B$60,SMALL(IF($A$1:$A$69="Mon",ROW($A$1:$A$69)-ROW($A$1)+1,""),ROWS($D$1:D1))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    On F1 Create a Drop Down Using Data Validation, and for the source use this formula

    =OFFSET($D$1,0,0,COUNTA($D$1:$D$69)-COUNTBLANK($D$1:$D$69))

    See the file attached..
    Attached Files Attached Files
    Cheers!
    Deep Dave

  3. #3
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Re: Filtered Drop Down List from named ranged

    Hi NeedForExcel,

    Thank you for the formulas - quite literally legendary

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Filtered Drop Down List from named ranged

    I approached it like this...
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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] Exclude values that contain text from a named ranged vba
    By L plates in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2015, 04:02 AM
  2. named ranged within named range
    By dluhut in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-12-2014, 01:47 PM
  3. [SOLVED] named ranged - offset & counta
    By milo1984 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2014, 02:13 AM
  4. [SOLVED] AVERAGEIFS & Named Ranged Inputted Criteria
    By tskabo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2014, 08:19 PM
  5. sumproduct on named ranged giving #VALUE! error
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2011, 10:02 PM
  6. Lookup Two Named Ranged
    By yawnzzzz in forum Excel General
    Replies: 3
    Last Post: 09-24-2010, 03:10 PM
  7. Replies: 2
    Last Post: 06-01-2005, 01:05 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