![]() |
I want to auto-sum and not exceed a certain number
I have a column that I am using auto-sum. The total of that column cannot
exceed a certain number. What is the formula? |
Answer: I want to auto-sum and not exceed a certain number
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 want to auto-sum and not exceed a certain number
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? |
I want to auto-sum and not exceed a certain number
=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? |
Quote:
|
All times are GMT +1. The time now is 10:08 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com