From: Anri on
How do I get to add up only the values > than 0?

Only count: =((Q8)*0.5)+(Q8) .... if larger than 0
From: Jacob Skaria on
Use SUMIF()

=SUMIF(Q8,">0")

or

=SUMIF(A1:A10,">0")

--
Jacob (MVP - Excel)


"Anri" wrote:

> How do I get to add up only the values > than 0?
>
> Only count: =((Q8)*0.5)+(Q8) .... if larger than 0
From: Jacob Skaria on
OR use MAX() as below

=MAX(0,Q8)

=(MAX(0,Q8)*0.5)+MAX(0,Q8)

--
Jacob (MVP - Excel)


"Jacob Skaria" wrote:

> Use SUMIF()
>
> =SUMIF(Q8,">0")
>
> or
>
> =SUMIF(A1:A10,">0")
>
> --
> Jacob (MVP - Excel)
>
>
> "Anri" wrote:
>
> > How do I get to add up only the values > than 0?
> >
> > Only count: =((Q8)*0.5)+(Q8) .... if larger than 0