ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do you limit the total allowed for a group of cells? (https://www.excelbanter.com/excel-discussion-misc-queries/263089-how-do-you-limit-total-allowed-group-cells.html)

Abby

How do you limit the total allowed for a group of cells?
 
I am trying to limit the number of hours that my employees can log. How do I
prevent the total of 3 cells from exceeding 80 hours. I tried to limit it
through the validation menu, but I have been unable to figure it out. (By the
way, they can log in decimals, not just whole numbers).

T. Valko

How do you limit the total allowed for a group of cells?
 
Try this...

Data Validation
Allow: Custom
Formula: =SUM($A1:$C1)<=80

--
Biff
Microsoft Excel MVP


"abby" wrote in message
...
I am trying to limit the number of hours that my employees can log. How do
I
prevent the total of 3 cells from exceeding 80 hours. I tried to limit it
through the validation menu, but I have been unable to figure it out. (By
the
way, they can log in decimals, not just whole numbers).





All times are GMT +1. The time now is 03:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com