Avatar of Matt Pinkston
Matt Pinkston
 asked on

Excel Formula NOT logic

I use the following =COUNTIFS(Raw_20180918!V:V,"approved") to find how many entries are approved?

How do I determine how many entries are NOT approved?
Microsoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Matt Pinkston

8/22/2022 - Mon
Norie

Matt

Try this.

=COUNTIFS(Raw_20180918!V:V,"<>approved",Raw_20180918!V:V, "<>")
Matt Pinkston

ASKER
I am getting 1048576 like it is reading a ton a blank lines at the end?
Matt Pinkston

ASKER
I am getting 1048576 like it is reading a ton a blank lines at the end?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Rob Henson

Try:
=COUNTA(Raw_20180918!V:V)-COUNTIFS(Raw_20180918!V:V,"approved")

This counts all non-blank cells and deducts those with "Approved"
ASKER CERTIFIED SOLUTION
Rob Henson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Norie

The 2nd criteria in the formula I posted should exclude blank cells from the count

If it isn't then there might be a problem with the data, so it might be better to use the formula Rob suggested.
Matt Pinkston

ASKER
thanks
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.