+ Reply to Thread
Results 1 to 4 of 4

How to avoid blank rows in DATA VALIDATION list?

  1. #1
    Forum Contributor
    Join Date
    07-08-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    139

    How to avoid blank rows in DATA VALIDATION list?

    hi guys,
    do you know how to prevent blank rows in data validation list?please help.
    dvwihoutblankrows.xlsx
    Last edited by pejoi; 11-24-2012 at 10:32 PM. Reason: add a sentence

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: How to avoid blank rows in DATA VALIDATION list?

    hi pejoi, your source for the validation should be from somewhere else consisting of this array formula:
    =INDEX($A$3:$A$24,SMALL(IF($A$3:$A$24<>"",ROW($A$3:$A$24)-2),ROW(A1)))

    you have to paste the formula inside the formula bar & press CTRL + SHIFT + ENTER

    it looks in column A for those non-blanks & return you those text as you drag down the formula. hope that helps

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: How to avoid blank rows in DATA VALIDATION list?

    Hi pejoi,

    Simply make the data validation a list of numbers. You don't need a named range like your example. Look how I've done it. You can go up to 52 but I've stopped at 16.

    Look in B31 where I've created a Validation List. Look at the Data Tab and Validation while on B31 to see the list.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Contributor
    Join Date
    07-08-2012
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    139

    Re: How to avoid blank rows in DATA VALIDATION list?

    thank you very much guys.....

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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