LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Data Validation blanks

On Aug 13, 12:01 pm, Debra Dalgleish
wrote:
If the entries will all be text, define a name with this formula:

=OFFSET(Sheet1!$K$1,0,0,COUNTIF(Sheet1!$K:$K,"a") ,1)

and use that name as the data validation source.

If there will be numbers mixed in the external list, you can use Count.

=OFFSET(Sheet1!$B$1,0,0,COUNTIF(Sheet1!$B:$B,"a") +COUNT(Sheet1!$B:$B),1)

--
Debra Dalgleish
Contextureshttp://www.contextures.com/tiptech.html- Hide quoted text -

- Show quoted text -


Thanks Debra this works perfectly.
=OFFSET(Sheet1!$K$1,0,0,COUNTIF(Sheet1!$K:$K,"a") ,1)

rather than my formula of =Lists!$K
$1:INDEX(CompetitorList,COUNTA(CompetitorList)) which only works IF
the data is local and the list has no formulas that return "".

Your formula gets away from the problem of Data Validation seeing the
cells with a zero string, "", as some sort of data value to display in
a drop list.

Now we can put lookup data and tables in a remote workbook but still
have a workaround for Data Validation to use mirrored data in a local
worksheet.

Would be nice if Data Validation in newer versions of Excel would be a
bit more friendly or Excel had a better way of dealing with true
NULLs.

Your help is much appreciated,
Dennis

 
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
Ignoring Blanks in Data Validation Scott Excel Discussion (Misc queries) 3 May 28th 09 12:16 AM
Data Validation List with blanks Vinod[_2_] Excel Discussion (Misc queries) 1 July 4th 08 05:47 PM
Blanks Data Validation List FARAZ QURESHI Excel Discussion (Misc queries) 4 March 13th 08 12:40 PM
DATA Validation (Ignore Blanks) el zorro[_2_] Excel Discussion (Misc queries) 3 May 15th 07 12:27 AM
Ignore Blanks in Data Validation Ricky Excel Worksheet Functions 9 July 7th 05 08:24 PM


All times are GMT +1. The time now is 01:08 PM.

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

About Us

"It's about Microsoft Excel"