Limit sum of values in range

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,922
Office Version
  1. 365
Platform
  1. Windows
Hi

I have the following table and related formula's:

Excel Workbook
ABCDEFGHIJKLMN
1Lion start date:07/06/2010
2
3Free man days per year:15
4Per Month:1.25
5
62010-2011
7MonthJunJulAugSepOctNovDecJanFebMarAprMay
8Days brought forward01.252.53.7556.257.58.751011.2512.513.75
9Free days accrued1.251.251.251.251.251.251.251.251.251.251.251.25
10Days used2
11Days stripped out000000000000
12Days carried forward1.252.53.7556.257.58.751011.2512.513.7513
13
14Total number of days used-----------2
15(On a rolling 12 month basis)
16Total used in 2010-2011:2
17Unused/Overused:13
Sheet1


How can I limit the sum of the yellow cells in row 10 to never exceed 15 (value in B3) would it be with Data->Validation? The values in row 10 will always be positive and I don't want a macro or worksheet event change solution.

Many thanks,
Jack
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Jack,

If you do use Data/Validation, then set the Allow to Decimal, Data to Between, Min as ZERO and Max as Opening balance in that month.

Then you could use Conditional Formatting to limit the Yellow on Row 10, to those that only have a value in that months opening balance

If you allow the accrued amount in the month, to be used in the month, then ADD this to the Opening Balance above.
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,681
Members
452,937
Latest member
Bhg1984

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top