Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting Max Value
I have a worksheet with a range of cells that have a SUMIF function
based on entry into another range of cells. How can I prevent user entry that will cause these cells to exceed the value of 10? Thanks in advance for any help. Amy |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting Max Value
Assuming the sum is in C1, add data validation with a custom formula in the
cells, a formula of =$C$1<=10 -- HTH Bob Phillips (remove nothere from the email address if mailing direct) "Amy Stein" wrote in message oups.com... I have a worksheet with a range of cells that have a SUMIF function based on entry into another range of cells. How can I prevent user entry that will cause these cells to exceed the value of 10? Thanks in advance for any help. Amy |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting Max Value
Yes, I tried...the SUMIF is the issue...the data entry is dependent
upon two different ranges so the validation isnt working. I was thinking I needed to use VBA. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting Max Value
Select you range of cells to protect
then in the Main Menu goto DataValidation on the settings tab under the 'Allow' Drop box select whole number then use 1 or 0 as a minumum and 10 as a maximum -- When you lose your mind, you free your life. Ever Notice how we use '' for comments in our posts even if they aren''t expected to go into the code? "Amy Stein" wrote: I have a worksheet with a range of cells that have a SUMIF function based on entry into another range of cells. How can I prevent user entry that will cause these cells to exceed the value of 10? Thanks in advance for any help. Amy |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting Max Value
do you not want the range of cells with the formula to exceed 10?
if that is the case we will need some idea of what the data the user enters to be added up in the SUMIF functions, that is the data you will have to validate Ben -- When you lose your mind, you free your life. Ever Notice how we use '' for comments in our posts even if they aren''t expected to go into the code? "Amy Stein" wrote: Yes, I tried...the SUMIF is the issue...the data entry is dependent upon two different ranges so the validation isnt working. I was thinking I needed to use VBA. |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting Max Value
Why don't you share some specific information about the various ranges
involved instead of all these abstract statements. You'd be surprised at how much can be done in XL w/o using VBA. Too many rely on the latter prematurely. -- Regards, Tushar Mehta www.tushar-mehta.com Excel, PowerPoint, and VBA add-ins, tutorials Custom MS Office productivity solutions In article .com, says... Yes, I tried...the SUMIF is the issue...the data entry is dependent upon two different ranges so the validation isnt working. I was thinking I needed to use VBA. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
setting default filter setting | Charts and Charting in Excel | |||
Setting a value in an add-in | Excel Programming | |||
Setting default pivot table field setting to "sum" | Excel Discussion (Misc queries) | |||
VBA Setting .Value to a date does not respect local system setting | Excel Programming | |||
Sending email via macro- setting the importance setting. | Excel Programming |