ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   SUMIF w/multiple conditions (https://www.excelbanter.com/excel-discussion-misc-queries/228802-sumif-w-multiple-conditions.html)

lightstation67

SUMIF w/multiple conditions
 
Here's my current formula:

=SUMIF(A3:A50,"Consumer",J3:J50)/C55

This works fine to get an average sum for everything that reads Consumer,
but now I need to sum only the positive $ amounts in column "J3:J50". How and
where do I insert this extra condition?

Any help would be appreciate. Thanks

Eduardo

SUMIF w/multiple conditions
 
Hi,
Try

=sumproduct(--(a3:a50="Consumer"),--(J3:J500),J3:j50/c55)

If this helped please click yes, thanks

"lightstation67" wrote:

Here's my current formula:

=SUMIF(A3:A50,"Consumer",J3:J50)/C55

This works fine to get an average sum for everything that reads Consumer,
but now I need to sum only the positive $ amounts in column "J3:J50". How and
where do I insert this extra condition?

Any help would be appreciate. Thanks


joel

SUMIF w/multiple conditions
 
=SUMProduct(--(A3:A50="Consumer"),--(J3:J500),J3:J50)/C55


"lightstation67" wrote:

Here's my current formula:

=SUMIF(A3:A50,"Consumer",J3:J50)/C55

This works fine to get an average sum for everything that reads Consumer,
but now I need to sum only the positive $ amounts in column "J3:J50". How and
where do I insert this extra condition?

Any help would be appreciate. Thanks


Jacob Skaria

SUMIF w/multiple conditions
 
=SUMPRODUCT(--(A3:A50="Consumer"),--(J3:J500),--(J3:J50))/C55
--
If this post helps click Yes
---------------
Jacob Skaria


"lightstation67" wrote:

Here's my current formula:

=SUMIF(A3:A50,"Consumer",J3:J50)/C55

This works fine to get an average sum for everything that reads Consumer,
but now I need to sum only the positive $ amounts in column "J3:J50". How and
where do I insert this extra condition?

Any help would be appreciate. Thanks


JEB

SUMIF w/multiple conditions
 

Now, what if I need to sum only the amounts in column "J3:J50" where there
is no "#Value" displayed.


"Jacob Skaria" wrote:

=SUMPRODUCT(--(A3:A50="Consumer"),--(J3:J500),--(J3:J50))/C55
--
Here's my current formula:

=SUMIF(A3:A50,"Consumer",J3:J50)/C55

This works fine to get an average sum for everything that reads Consumer,
but now I need to sum only the positive $ amounts in column "J3:J50". How and
where do I insert this extra condition?



Fred Smith[_4_]

SUMIF w/multiple conditions
 
Fix the cells which are displaying #Value. Typically done with:
=if(iserror(yourcalculation),0,yourcalculation)

Regards,
Fred

"JEB" wrote in message
...

Now, what if I need to sum only the amounts in column "J3:J50" where there
is no "#Value" displayed.


"Jacob Skaria" wrote:

=SUMPRODUCT(--(A3:A50="Consumer"),--(J3:J500),--(J3:J50))/C55
--
Here's my current formula:

=SUMIF(A3:A50,"Consumer",J3:J50)/C55

This works fine to get an average sum for everything that reads
Consumer,
but now I need to sum only the positive $ amounts in column "J3:J50".
How and
where do I insert this extra condition?





All times are GMT +1. The time now is 02:11 AM.

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