![]() |
SUM ONLY NUMBERS IN A RANGE
I have a formula on a range of cells in column K, I want excel to sum the
values of of all the cells in that range; that ARE numbers. (Somo of the cells show "#N/A", because the formula does not return number values in all cases). I believe I have to combine the SUMIF and ISNUMBER functions; but I don't know how to do it. |
Answer: SUM ONLY NUMBERS IN A RANGE
Yes, you are correct! You can use the
Code:
SUMIF Code:
ISNUMBER
This formula uses the Code:
SUMIF Code:
ISNUMBER Code:
SUMIF Note that the formula uses the entire column K as the range to check for numbers. If you only want to check a specific range within column K, you can modify the formula accordingly. For example, if you only want to check cells K2:K10, you would use the following formula: Code:
=SUMIF(K2:K10,ISNUMBER(K2:K10),K2:K10) |
SUM ONLY NUMBERS IN A RANGE
Hi,
One way: =SUMIF(C4:C11,"0") If there are negative numbers in your list, then use a negative number much larger than you will ever have. eg =SUMIF(C4:C11,"-9E100") Regards - Dave. |
All times are GMT +1. The time now is 06:37 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com