Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How to do - B2 is only valid if B1 is zero

Microsoft office 2007 XL. How do I perform a validation where cell B2 is only
valid if cell B1 is blank or zero. Have read the help text on this including
the section on "what is allowed on the context of another cell". As a result
I tried many different things but cannot get it right (if it can be done).
The data validation only appears to have equal to, greater than, less than
etc., for a field compared to the field being validated. It does not seem to
have the scenario where a field is valid solely on the value of another field
(i.e. if(And(B1<0,B2<0),error) ) . Can anybody help me?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default How to do - B2 is only valid if B1 is zero

Hi,
go to data validation,custom, enter

=OR(B1="",B1=0)

enter an error alert message

"declaire9" wrote:

Microsoft office 2007 XL. How do I perform a validation where cell B2 is only
valid if cell B1 is blank or zero. Have read the help text on this including
the section on "what is allowed on the context of another cell". As a result
I tried many different things but cannot get it right (if it can be done).
The data validation only appears to have equal to, greater than, less than
etc., for a field compared to the field being validated. It does not seem to
have the scenario where a field is valid solely on the value of another field
(i.e. if(And(B1<0,B2<0),error) ) . Can anybody help me?

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
How to valid the values? Eric Excel Worksheet Functions 10 August 26th 07 05:43 AM
'reference is not valid' Tim Excel Discussion (Misc queries) 12 June 21st 06 07:36 PM
.xls not a valid web archive adam_hw Excel Discussion (Misc queries) 0 April 18th 06 11:50 AM
Reference is not valid Steved Excel Worksheet Functions 1 January 30th 06 10:56 PM
Valid SQL string Malcolm Agingwell Excel Discussion (Misc queries) 0 August 12th 05 11:00 AM


All times are GMT +1. The time now is 02:32 AM.

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"