Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Validation Formula


For data validation I want to allow a blank, or zero through an
including 100. Trying the following formula - the blank part works
but not the 0 - 100. How should this formula be constructed?

=OR(H22="",(AND(H22=0,H22<=100))

--
Phil H
-----------------------------------------------------------------------
Phil H.'s Profile: http://www.hightechtalks.com/m22
View this thread: http://www.hightechtalks.com/t228504

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Validation Formula

Try

=OR(H22="",AND(ISNUMBER(H22),H22=0,H22<=100))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Phil H." wrote
in message ...

For data validation I want to allow a blank, or zero through
and
including 100. Trying the following formula - the blank part
works,
but not the 0 - 100. How should this formula be constructed?

=OR(H22="",(AND(H22=0,H22<=100)))


--
Phil H.
------------------------------------------------------------------------
Phil H.'s Profile: http://www.hightechtalks.com/m229
View this thread: http://www.hightechtalks.com/t2285047



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Validation Formula


The validated cell has been formatted percentage. Numbers between 0 an
100 are no longer valid according to the existing formula. With
percentage-formatted cell, what would the formula be to allow the use
to enter whole numbers (0 to 100) and have them become % and thu
return a true condition

--
Phil H
-----------------------------------------------------------------------
Phil H.'s Profile: http://www.hightechtalks.com/m22
View this thread: http://www.hightechtalks.com/t228504

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
validation Formula RK Excel Worksheet Functions 4 October 24th 08 05:07 PM
Validation Formula Teddy-B Excel Discussion (Misc queries) 7 January 23rd 08 08:53 PM
Validation Formula Teddy-B Excel Discussion (Misc queries) 3 December 28th 06 08:19 PM
Validation Formula cathyds1 Excel Discussion (Misc queries) 5 November 28th 06 06:54 PM
formula validation jim Excel Programming 9 April 14th 04 05:55 PM


All times are GMT +1. The time now is 08:55 AM.

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"