Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Solis
 
Posts: n/a
Default Adding different validations based on condition

How do I add two different validations based on the condition of another
cell? (i.e. If cell A1 has a value of "X", then cell A2 cannot exceed
$1000.00, but if cell A1 has a value of "Y", then cell A2 cannot exceed
$500.00)
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

Allow: Custom
Formula: =IF(A1="X",A2<=1000,IF(A1="Y",A2<=500))

Note, this won't allow any entry if A1 is anything other than X or Y

In article ,
"Solis" wrote:

How do I add two different validations based on the condition of another
cell? (i.e. If cell A1 has a value of "X", then cell A2 cannot exceed
$1000.00, but if cell A1 has a value of "Y", then cell A2 cannot exceed
$500.00)

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
Excel problem with web based spreadsheets Steve Williams Excel Discussion (Misc queries) 0 January 12th 05 03:11 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 02:01 PM
Cannot sum values based on condition Ned Flanders Excel Worksheet Functions 1 December 3rd 04 05:36 AM
Add condition to formula Pat Excel Worksheet Functions 0 November 16th 04 01:23 PM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 10:08 PM


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