"Countif" with a result depending of other cells

bonbonboy

New Member
Joined
Oct 12, 2015
Messages
27
Hi there,

In my team, we have an excel spreadsheet that must calculate productivity.
Therefore, I have to calculate the number of "done" per person.
The "done" is in a column Y and the "person" that is linked to this "done" is in the column X, to the left of it.
It looks like this:

XY
PierreDone

These values are in the tab "title_FR"
A new tab will be for the stats.

I want to calculate the number of "Done", but the result have to be connected with the name beside (as column X is split by all team members, for example 500 lines for Pierre, 500 for Mike, etc...)

If pierre has the lines 2 to 500, so i did
Excel Formula:
=COUNTif(title_FR!Y2Y500,"Done")
Unfortunately, it is not dynamic, because Pierre can take some lines from the others, outside the range 2-500

So yeah, i'm looking for a formula counting the number of "done", not by a range of lines but linked by the specific name on its left.

Thank you beforehand for your help :)
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
How about
Excel Formula:
=COUNTIFS(title_FR!Y:Y,"Done",title_FR!X:X,"Mike")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,515
Messages
6,131,111
Members
449,620
Latest member
MatXm

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