Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Using IF Function
I am trying to create a formula that will sum a list of cells and if the
total exceeds a certain number it will return the number that is above that number. ie:sum = 48, I want the formula to show 8. thanks |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Using IF Function
=IF(SUM(B16:B19)48,SUM(B16:B19)-48,SUM(B16:B19))
Substitute your range of cells as required. "pjb" wrote: I am trying to create a formula that will sum a list of cells and if the total exceeds a certain number it will return the number that is above that number. ie:sum = 48, I want the formula to show 8. thanks |
#3
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Using IF Function
Don't understand where the 8 comes from.
8 is not above 48 unless you mean the cell above the SUM cell is 8? =MIN(SUM(A1:A10),8) entered in A11 Or =MIN(SUM(A1:A8),A10) Gord Dibben MS Excel MVP On Tue, 2 Jun 2009 08:04:01 -0700, pjb wrote: I am trying to create a formula that will sum a list of cells and if the total exceeds a certain number it will return the number that is above that number. ie:sum = 48, I want the formula to show 8. thanks |
#4
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Using IF Function
the second works, thank you!
"Gord Dibben" wrote: Don't understand where the 8 comes from. 8 is not above 48 unless you mean the cell above the SUM cell is 8? =MIN(SUM(A1:A10),8) entered in A11 Or =MIN(SUM(A1:A8),A10) Gord Dibben MS Excel MVP On Tue, 2 Jun 2009 08:04:01 -0700, pjb wrote: I am trying to create a formula that will sum a list of cells and if the total exceeds a certain number it will return the number that is above that number. ie:sum = 48, I want the formula to show 8. thanks |
#5
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Using IF Function
Glad you picked up on the typo<g
=MIN(SUM(A1:A10),A10) is what I meant to post. Gord On Tue, 2 Jun 2009 08:38:06 -0700, pjb wrote: the second works, thank you! "Gord Dibben" wrote: Don't understand where the 8 comes from. 8 is not above 48 unless you mean the cell above the SUM cell is 8? =MIN(SUM(A1:A10),8) entered in A11 Or =MIN(SUM(A1:A8),A10) Gord Dibben MS Excel MVP On Tue, 2 Jun 2009 08:04:01 -0700, pjb wrote: I am trying to create a formula that will sum a list of cells and if the total exceeds a certain number it will return the number that is above that number. ie:sum = 48, I want the formula to show 8. thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Data Validation/Lookup function does function correcty | Excel Worksheet Functions | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Offset function with nested match function not finding host ss. | Excel Worksheet Functions | |||
Emulate Index/Match combo function w/ VBA custom function | Excel Worksheet Functions |