Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how to display an error message

How can i display an error message if the sum of values exceeds a certain
number, or not to allow sellecting a number from a list if the total values
exceeds a certain number
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default how to display an error message

=IF(SUM(A1:A10)100,"Error",SUM(A1:A10))

What exactly do you mean by selecting from the list? If you mean that you
use that list in Data Validation, you could use a List type with a formula
of =IF(SUM(A1:A10)<=100,A1:A10). One thing to note, if you try to add that
formula to a List type, you get an error, so first set the type to Custom
and add the formula, then OK out. Then go back and change it to List.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Luzzan" wrote in message
...
How can i display an error message if the sum of values exceeds a certain
number, or not to allow sellecting a number from a list if the total
values
exceeds a certain number



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
Error Message: Not enough system resources to display completely. Natalie Excel Discussion (Misc queries) 23 February 12th 14 08:00 AM
Error message "Not enough system resources to display completely." MKode Excel Discussion (Misc queries) 1 March 2nd 06 12:00 PM
Why error message when trying to display custom view? creativeops Excel Discussion (Misc queries) 2 January 9th 06 09:57 PM
Why error message - not enough system resources to display comple. BHodges Excel Discussion (Misc queries) 1 September 20th 05 10:01 PM
How to display a blank cell with no error message Juco Excel Worksheet Functions 11 January 31st 05 08:24 AM


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