"Countif" with a result depending of other cells

bonbonboy

New Member
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.
Excel Formula:
``=COUNTIFS(title_FR!Y:Y,"Done",title_FR!X:X,"Mike")``

It works perfectly
Thank you a lot !!

You're welcome & thanks for the feedback.

Replies
1
Views
434
Replies
1
Views
473
Replies
3
Views
555
Replies
7
Views
552
Replies
1
Views
2K

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.

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

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