Sum, countifs, and

RJB78

Board Regular
Joined
Aug 8, 2016
Messages
69
Office Version
  1. 365
Hello. I am trying to get a count of the cells that contain certain texts in one column (K) AND have a cell value greater than 2.5% (.025) in a different column (O)

This is the formula I am using now:

=SUM(AND(COUNTIFS(K:K,{"GROWTH1","GROWTH2","GROWTH3","GROWTH4"}),O:O>0.025))

I am getting a return of 0
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Without seeing further examples of your data, maybe:

=SUM(COUNTIFS(K:K,"GROWTH"&{1,2,3,4},O:O,">.025")) Although I would replace the K:K and O:O with just the actual range used.

If there is only GROWTH1 through 4 in you data you could use:

=COUNTIFS(K:K,"GROWTH*",O:O,">.025")
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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