ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sum function (https://www.excelbanter.com/excel-worksheet-functions/235441-sum-function.html)

dannyboy8

sum function
 
if I have a row of #s and I want the sum to include only the positive #s,
what kind of formula could I write to accomplish this?

Eduardo

sum function
 
Hi,
Let's say you want to summarize column A from row 1 to 100 use

=sumproduct(--(A1:A1000),A1:A100)

"dannyboy8" wrote:

if I have a row of #s and I want the sum to include only the positive #s,
what kind of formula could I write to accomplish this?


Jacob Skaria

sum function
 
Use SUMIF()

=SUMIF(A1:J1,"0")

If this post helps click Yes
---------------
Jacob Skaria


"dannyboy8" wrote:

if I have a row of #s and I want the sum to include only the positive #s,
what kind of formula could I write to accomplish this?


Rick Rothstein

sum function
 
I'm not sure why you have posted this question again... I responded to your
first posting that asked this question 6 days ago. My answer then was this:

Change the range to suit your actual setup...

=SUMIF(A1:Z1,"0")

--
Rick (MVP - Excel)


"dannyboy8" wrote in message
...
if I have a row of #s and I want the sum to include only the positive #s,
what kind of formula could I write to accomplish this?




All times are GMT +1. The time now is 09:17 PM.

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