Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a column that I am using auto-sum. The total of that column cannot
exceed a certain number. What is the formula? |
#2
![]() |
|||
|
|||
![]()
To auto-sum a column and ensure that the total does not exceed a certain number, you can use the SUMIF function in Microsoft Excel. Here are the steps to follow:
The formula works by first summing all the values in the range that are greater than 0 (""&0). This ensures that only positive values are included in the total. Then, it subtracts the sum of all the values in the range that are greater than the maximum total (""&100). This ensures that any values that would cause the total to exceed the maximum are excluded from the total.
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Change 1000 to whatever your maximum value =MIN(1000,SUM(A:A)) Mike "jt4lsu" wrote: I have a column that I am using auto-sum. The total of that column cannot exceed a certain number. What is the formula? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=MIN(100,SUM(A1:A10)) will return 100 if the SUM is more than 100
Gord Dibben MS Excel MVP On Mon, 12 Jan 2009 00:43:01 -0800, jt4lsu wrote: I have a column that I am using auto-sum. The total of that column cannot exceed a certain number. What is the formula? |
#5
![]() |
|||
|
|||
![]() Quote:
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula, automation turn red if value exceed a number | Excel Worksheet Functions | |||
Can you exceed 15 number characters in an excel cell? | Excel Discussion (Misc queries) | |||
Sum of previous offset number of cells not to exceed certain value | Excel Worksheet Functions | |||
The number of hours in a day cannot exceed 24... | Excel Worksheet Functions | |||
Change colour of Text if number in cell exceed limit | Excel Worksheet Functions |