Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jack Daniels
 
Posts: n/a
Default Sum of a range dont have to be over 8


Hi!

I have a workshhet where people are booking themselves for different
programs. But there is a limit, for example the SUM of D2:D10 donīt
have to be more than 8. How do I stop a user to put in any number when
th SUM has reached 8?

Jack


--
Jack Daniels
------------------------------------------------------------------------
Jack Daniels's Profile: http://www.excelforum.com/member.php...o&userid=31170
View this thread: http://www.excelforum.com/showthread...hreadid=508298

  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Sum of a range dont have to be over 8


There seems to be a lag in the system today because I answered this post
on the microsoft newsgroup hours ago. I guess I'll just have to repost
it here so here it goes.


Select D2:D10, then go to Data/Validation, next select "custom" from
the
"Allow" menu and in the formula box type:

=SUM($D$2:$D$10)<=8

next click on the "Error Alert" tab and leave a message for the user.

HTH
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=508298

  #3   Report Post  
Posted to microsoft.public.excel.misc
Jack Daniels
 
Posts: n/a
Default Sum of a range dont have to be over 8


Thank you very much!!!
It works perfect!!!!

I tried almost the same but I must have written something wrong.

Jack


--
Jack Daniels
------------------------------------------------------------------------
Jack Daniels's Profile: http://www.excelforum.com/member.php...o&userid=31170
View this thread: http://www.excelforum.com/showthread...hreadid=508298

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
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Help with using range names in sum function soteman2005 Excel Worksheet Functions 2 November 28th 05 04:43 PM
How to Select a relative range with Using "Find" and Offset() Dennis Excel Discussion (Misc queries) 7 July 27th 05 03:57 PM
Can a formula check for a certain value in a range? Lee IT Excel Discussion (Misc queries) 3 April 8th 05 07:36 AM
can a formula check for a certain value in a range? Lee IT Excel Discussion (Misc queries) 1 April 7th 05 04:31 PM


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