Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Custom Validation Not Accepting Valid Data Revision

Does anyone know why the following custom validation formula does NOT
allow
the user to accept zero (0) as a valid replacement for the target
cell?:

S11=AND(COUNTA($P11:$S11)<3)

MS-Excel will allow the user to hit the "escape" key and reset the
target field
value back to "blank" status.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Custom Validation Not Accepting Valid Data Revision

A zero is counted by the COUNTA function, and a blank cell is not
counted. If there are already two entries in the range P11:S11, the
formula won't allow any entry, even a zero, in the cell with validation.

The formula doesn't need the AND function though, and could be
simplified to:

=COUNTA($P11:$S11)<3

wrote:
Does anyone know why the following custom validation formula does NOT
allow
the user to accept zero (0) as a valid replacement for the target
cell?:

S11=AND(COUNTA($P11:$S11)<3)

MS-Excel will allow the user to hit the "escape" key and reset the
target field
value back to "blank" status.



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

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
data validation mattdsc Excel Worksheet Functions 4 July 26th 06 11:30 AM
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Data Validation - Scroll in the formula bar for a custom criteria Hanno Scholtz Excel Worksheet Functions 3 September 22nd 05 02:11 PM
Data Validation - Custom - Formula DYeomans Excel Worksheet Functions 2 May 2nd 05 05:21 AM


All times are GMT +1. The time now is 10:01 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"