ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   SUM ... Numbers, Nulls "", & Div/0 (https://www.excelbanter.com/excel-discussion-misc-queries/262835-sum-numbers-nulls-div-0-a.html)

Ken

SUM ... Numbers, Nulls "", & Div/0
 
Excel2003 ...

Range (D3:D14) ... contains Numbers, Nulls "" & Div/0 ...

How do I write Formula to ... SUM the Numbers?

Thanks ... Kha

--
Kha

Jacob Skaria

SUM ... Numbers, Nulls "", & Div/0
 
If the numbers are all positive numbers try
=SUMIF(D3:D15,"0")

OR else try the below array formula ..You create array formulas in the same
way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

=SUM(IF(ISNUMBER(D3:D15),D3:D15))


--
Jacob (MVP - Excel)


"Ken" wrote:

Excel2003 ...

Range (D3:D14) ... contains Numbers, Nulls "" & Div/0 ...

How do I write Formula to ... SUM the Numbers?

Thanks ... Kha

--
Kha


Bob Phillips[_4_]

SUM ... Numbers, Nulls "", & Div/0
 
Try this array formula

=SUM(IF(ISNUMBER(D3:D14),D3:D14))

--

HTH

Bob

"Ken" wrote in message
...
Excel2003 ...

Range (D3:D14) ... contains Numbers, Nulls "" & Div/0 ...

How do I write Formula to ... SUM the Numbers?

Thanks ... Kha

--
Kha




Dave Peterson

SUM ... Numbers, Nulls "", & Div/0
 
=SUMIF(d3:d14,"<"&"#Div/0!")
or
=SUMIF(d3:d14,"<#Div/0!")

(I like the first since it's easier to see how the comparison string is built.


Ken wrote:

Excel2003 ...

Range (D3:D14) ... contains Numbers, Nulls "" & Div/0 ...

How do I write Formula to ... SUM the Numbers?

Thanks ... Kha

--
Kha


--

Dave Peterson

Ken

SUM ... Numbers, Nulls "", & Div/0
 
Jacob ... Simple solution (when you know it) ... Thanks ... Kha
--
Kha


"Jacob Skaria" wrote:

If the numbers are all positive numbers try
=SUMIF(D3:D15,"0")

OR else try the below array formula ..You create array formulas in the same
way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

=SUM(IF(ISNUMBER(D3:D15),D3:D15))


--
Jacob (MVP - Excel)


"Ken" wrote:

Excel2003 ...

Range (D3:D14) ... contains Numbers, Nulls "" & Div/0 ...

How do I write Formula to ... SUM the Numbers?

Thanks ... Kha

--
Kha


Ken

SUM ... Numbers, Nulls "", & Div/0
 
Jacob, Bob, Dave ... Thank you all for supporting these boards ... there are
many fine solutions found here ... Kha
--
Kha


"Dave Peterson" wrote:

=SUMIF(d3:d14,"<"&"#Div/0!")
or
=SUMIF(d3:d14,"<#Div/0!")

(I like the first since it's easier to see how the comparison string is built.


Ken wrote:

Excel2003 ...

Range (D3:D14) ... contains Numbers, Nulls "" & Div/0 ...

How do I write Formula to ... SUM the Numbers?

Thanks ... Kha

--
Kha


--

Dave Peterson
.



All times are GMT +1. The time now is 05:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com