+ Reply to Thread
Results 1 to 3 of 3

Removing blanks from data validation - using INDEX(MATCH) though...

  1. #1
    Registered User
    Join Date
    08-18-2011
    Location
    East Sussex, England
    MS-Off Ver
    Excel 2007
    Posts
    76

    Removing blanks from data validation - using INDEX(MATCH) though...

    I have attached an example of what I am trying to do.

    On the "Selectable" sheet I wish to have the data validation in the orange section without blanks. At the moment, because the data validation drop-down box is from the "data" row and not every cell has a label, then there are blanks appearing in the data validation list.

    I would like these blanks to be removed.

    Any ideas?

    Cheers,
    Graeme
    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,002

    Re: Removing blanks from data validation - using INDEX(MATCH) though...

    One way would be to assemble a blank free list and use this array formula to generate the Data validation source:

    =IFERROR(INDEX($A$1:$T$1, SMALL(IF(ISBLANK($A$1:$T$1), "", COLUMN($A$1:$T$1)-MIN(COLUMN($A$1:$T$1))+1), ROWS($1:1))),"")

    I used this formula in Data validation:

    =OFFSET(data!$AA$2,,,SUMPRODUCT(--(LEN(data!$AA$2:$AA$100)>0)))
    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
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Removing blanks from data validation - using INDEX(MATCH) though...

    It would be best just to make a list in a separate range with no blanks.

+ 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. Replies: 2
    Last Post: 02-12-2015, 01:33 PM
  2. Removing blanks in data validation
    By geliedee in forum Excel General
    Replies: 4
    Last Post: 10-17-2013, 05:03 AM
  3. Removing blanks in data validation
    By geliedee in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2013, 03:29 AM
  4. [SOLVED] Index-Match Data Validation List
    By DinghoAteMyBaby in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-22-2013, 10:42 AM
  5. Data Validation with Index Match
    By Blake 7 in forum Excel General
    Replies: 2
    Last Post: 02-09-2011, 07:43 AM
  6. Index/match with Data Validation Listing
    By rise206 in forum Excel General
    Replies: 7
    Last Post: 12-30-2010, 12:36 PM
  7. How do I use Data Validation and Index Match
    By MattyD1978 in forum Excel General
    Replies: 7
    Last Post: 05-25-2010, 06:45 AM

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