Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

How to Count One Criteria based on Another Criteria?

$
0
0

I have a worksheet, Grievance Counts-Discipline-1. It has a chart that is supposed to track the total # of disciplinary grievances for all 11 post offices which it does with the formula =COUNTA('2014 Grievances'!M2:M3000). However, I cannot get a formula to break down the total # of grievances each post office.

I'm using Excel 2013. I want to know the total number of times if there is any text entered in M2:M3000 the total number of times for each post office in column U2:U3000. There will be instances where there is no data (text) entered in column M2:M3000 to count. However, there must always be data (text) in U2:U3000. The above chart should have a count of: 4 for Fort Washington, MD; 6 for Hyattsville MD; 2 for Temple Hills MD; and 1 for Waldorf, MD. Based on my search for the correct formula I need a formula that will have multiple criteria. I'm using the formula:

=COUNTIFS('2014 2014 Grievances'!U2:U3000,="Beltsville MD") which gives me an error message because of the equal sign and more than likely because it is wrong any way..

I have a formula that so far accurately counts the total # of Letter of Warnings for each post office:

=COUNTIFS('2014 Grievances'!U2:U3000,"=Beltsville MD",'2014 Grievances'!M2:M3000,"=16.3000-Letter of Warning (16.3)")

After several weeks, I give up. Any help is greatly appreciated. Thanks, Robert.


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>