Count blank when criteria is met

Jennyb7714

Board Regular
Joined
Jan 29, 2008
Messages
78
I have a report that references an I'd in the first column then another column that specifies the count of a specific item. What I need to do is IF A:A = (reference) then count all non blank cells in column G:G. Can anyone help me out. It seems so simple but I can't get it to work. Oh and col G could be a mixture of formats

Appreciate any and all help
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
not sure if my reply posted - it didn't look like it, so I'm re-posting

in answer to your question - it was that one that worked - but the alternative one didn't.....
 
Upvote 0
That I'm trying to make sense of, there must be something in your "empty" cells causing these issues, if we can establish what that something is then we should be able to make countifs work.

how about

=COUNTIFS(A:A,$D8,G:G,">< ")
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,726
Members
452,939
Latest member
WCrawford

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