Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Josh O.
 
Posts: n/a
Default Data Validation Help

I am trying to set a data validation to respond this way:
If A1="Add", then value must be =0.
If A1="Drop", then value must be <=0.
If A1=(Any Other Value), then accept any value.

Here is the formula in the data validation that I am using now. It does
everything except allow any value if A1 is not Add or Drop.
=IF(B14="Drop",E14<=0,IF(B14="Add",E14=0,""))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Data Validation Help

Try this:

Formula: =IF(B14="Drop",E14<=0,IF(B14="Add",E14=0,TRUE))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Josh O." wrote:

I am trying to set a data validation to respond this way:
If A1="Add", then value must be =0.
If A1="Drop", then value must be <=0.
If A1=(Any Other Value), then accept any value.

Here is the formula in the data validation that I am using now. It does
everything except allow any value if A1 is not Add or Drop.
=IF(B14="Drop",E14<=0,IF(B14="Add",E14=0,""))

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Josh O.
 
Posts: n/a
Default Data Validation Help

Perfect...thank you.

"Ron Coderre" wrote:

Try this:

Formula: =IF(B14="Drop",E14<=0,IF(B14="Add",E14=0,TRUE))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Josh O." wrote:

I am trying to set a data validation to respond this way:
If A1="Add", then value must be =0.
If A1="Drop", then value must be <=0.
If A1=(Any Other Value), then accept any value.

Here is the formula in the data validation that I am using now. It does
everything except allow any value if A1 is not Add or Drop.
=IF(B14="Drop",E14<=0,IF(B14="Add",E14=0,""))

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
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
Data Validation Kosta S Excel Worksheet Functions 2 July 17th 05 11:38 PM
data validation lists [email protected] Excel Discussion (Misc queries) 5 June 25th 05 07:44 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


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