Countifs not referencing same cells and getting 0

WesGrin

New Member
Joined
Nov 14, 2019
Messages
2
I am trying to use CountIfs and every thread I come across all reference when someone is trying to reference the same cells for different criteria, which I understand why that does not work.
What I am trying to do is reference three columns all for different data, but I am getting zeros.

=COUNTIFS(REPORT!$P:$P,"GEORGE",REPORT!$Q:$Q,"APPROVE",REPORT!$R:$R,"JULY")

It's noteworthy to mention that this formula worked before I added the 3rd criteria for July. I wanted to count number of applications by George that were approved in the month of July.
I need to be able to separate applications by underwriter that were approved and in certain months.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I just realized the raw data has the dates with time with seconds, even AM or PM. Even when I format the column to show only "July", the formula is still wanting " 7/16/2019 2:45:28 PM" to work properly.
The issue is now, can I do anything to adjust tens of thousands of rows where the date has all this extra noise?
 
Upvote 0
You can create an auxiliary column to get the month

=TEXTO(R2,"mmmm")

Or you can use this formula

=SUMPRODUCT((P2:P10="GEORGE")*(Q2:Q10="APPROVE")*(TEXTO(R2:R10,"mmm")="jul"))

Try to use a range of P:P100 cells (or a reasonable number of rows)
Do not use the entire P:P column because it slows down the sheet
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,224
Members
452,620
Latest member
dsubash

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