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 Prevent formula calculation from overriding validation

I have a list of 4 numbers with a sum at the bottom. One of the 4 numbers is
a calculation, the others are direct entry. The calculated number cannot be
less than zero. How do I fix this so it doesn't allow this when the number
is calculated?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Prevent formula calculation from overriding validation

The calculated number cannot be less than zero.

You should have posted the formula.

Try changing your current formula to something like this:

=MAX(0,your_current_formula_here)

--
Biff
Microsoft Excel MVP


"CindyMc" wrote in message
...
I have a list of 4 numbers with a sum at the bottom. One of the 4 numbers
is
a calculation, the others are direct entry. The calculated number cannot
be
less than zero. How do I fix this so it doesn't allow this when the
number
is calculated?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Prevent formula calculation from overriding validation

Select the three cells that create the sum. (I'll assume B1:B3). Under Data -
Validation, choose custom rule. Input the following:
=SUM($B$1:$B$3)=0

Note that if a user simply selects a cell however and presses "delete" a
negative sum is still possible.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"CindyMc" wrote:

I have a list of 4 numbers with a sum at the bottom. One of the 4 numbers is
a calculation, the others are direct entry. The calculated number cannot be
less than zero. How do I fix this so it doesn't allow this when the number
is calculated?

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
Overriding formula KANDLEZ[_2_] Excel Worksheet Functions 2 May 19th 09 09:45 PM
Prevent calculation on open littlefb Excel Discussion (Misc queries) 10 March 17th 09 04:00 PM
Prevent negative numbers from changing to positive in calculation robbin New Users to Excel 1 June 17th 08 09:58 PM
Prevent EXCEL from rounding the result of a calculation elusiverunner Excel Discussion (Misc queries) 3 January 9th 08 08:38 AM
Data validation to prevent duplicate entry. vishu Excel Discussion (Misc queries) 0 March 14th 05 11:33 AM


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