How to sum all values in a column where >0?

Brovashift

New Member
Joined
May 9, 2021
Messages
13
Office Version
  1. 2007
Platform
  1. Windows
Hello again...

As per title, how can I sum all values (currency) in a particular column, where specific name text is found in Column A?

e.g. I am getting totals of the L column by using: =SUMIF(A:A,"wh",L:L)

Now I want to do the same thing but only for values greater than 0. Something like; =SUMIF(A:A,"wh",(L:L>0))

Thanks

Office Excel 2007
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
How about
Excel Formula:
=SUMIFS(L:L,L:L,">0",A:A,"wh")
 
Upvote 0
Hi, you can try.

=SUMIFS(L:L,A:A,"wh",L:L,">0")
 
Upvote 0
Solution
Thank you, they both work great (y)

Why do they both sum the L:L column twice... out of curiosity?
 
Upvote 0
Why do they both sum the L:L column twice

The arguments for SUMIFS() are sum_range, criteria_range, criteria, critera_range, criteria, etc etc - you want to use column L for both the sum_range and also one of the criteria ranges.
 
Upvote 0
The arguments for SUMIFS() are sum_range, criteria_range, criteria, critera_range, criteria, etc etc - you want to use column L for both the sum_range and also one of the criteria ranges.
Ah OK, excellent, Thank you...
 
Upvote 0

Forum statistics

Threads
1,215,558
Messages
6,125,507
Members
449,236
Latest member
Afua

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top