Excel to COUNTIF Joe Blogs makes a mistake.. Help

jharcourt1

New Member
Joined
Dec 10, 2010
Messages
9
Hi all,

I thought this was potentially an easy problem to solve. I am by no means an expert in excel but i can manage the straight forward formulas.

However i need someone's help in this scenario:

I have a set of people whom i am monitoring. My spreadsheet needs to capture how many mistake of which type each person makes.

Column A represents which type of error (4 possibilities (no error, admin error, minor error, major error))

Column B has a drop down list of all the people to monitor from.

I then have a seperate sheet (within the same excel document) where i will capture the details of how many of each mistake each person makes... which is where i am struggling to find a forumla.

Can any please help?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Which version of excel are you using? In Excel 2007 and later you can use COUNTIFS, e.g. with specific name in A2 and error in B1

=COUNTIFS(Sheet1!B:B,$A2,Sheet1!A:A,B$1)
 
Upvote 0
Take a look at this sample, I have them all on the same sheet but you can adjust the formula accordingly. It is using CountIFs which is available in Excel 2007 or above

Excel Workbook
ABCDEFGHI
1ErrorsNameNamesNo ErrorAdmin ErrorMinor ErrorMajor Error
2no errorJoe BloggsJoe Bloggs1211
3admin errorJoe BloggsKen Williams1010
4admin errorJoe BloggsAnne Clarke1201
5no errorKen Williams
6admin errorAnne Clarke
7minor errorJoe Bloggs
8admin errorAnne Clarke
9major errorAnne Clarke
10no errorAnne Clarke
11minor errorKen Williams
12major errorJoe Bloggs
Sheet2
 
Upvote 0
Pleased to have helped with a sample for you. Barries code was also spot on.
 
Upvote 0

Forum statistics

Threads
1,216,166
Messages
6,129,260
Members
449,497
Latest member
The Wamp

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