Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Data validation, select from list: omit blanks?

I'm using <data - validation - allow "list". Which works fine, except
this particular list has blank cells interspersed within it. Is there a
way to have the list ignore the blanks?

TIA,
George
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Data validation, select from list: omit blanks?

You can create an equivalent list without the blanks.

Say the list is in column C from C1 thru C20.

In B1 enter 1

In B2 enter:
=IF(C2="",-1,1+MAX($B$1:B1))
and copy down

In A1 enter:
=VLOOKUP(LARGE(B:B,ROW()),B$1:C$20,2)
and copy down


Column A will have the same data as column C, but no blanks. Use column A
--
Gary''s Student - gsnu200761


"George" wrote:

I'm using <data - validation - allow "list". Which works fine, except
this particular list has blank cells interspersed within it. Is there a
way to have the list ignore the blanks?

TIA,
George

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Complete a select from a data validation list Lele Excel Discussion (Misc queries) 6 April 6th 09 10:17 PM
Why is * valid if Excel data validation list has no blanks or *? Loligo Excel Worksheet Functions 1 February 28th 07 06:45 PM
blanks in data validation list dropdown confused Excel Worksheet Functions 7 June 7th 06 02:10 PM
Using a 'Select' (Data Validation) List? [email protected] Excel Worksheet Functions 6 November 30th 05 06:42 PM
Data Validation and Blanks in List GoneRural Excel Worksheet Functions 1 October 26th 05 05:03 PM


All times are GMT +1. The time now is 04:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"