Vlookup or IF formula to return count if name is populated

Miguelluis

New Member
Joined
Jan 29, 2013
Messages
45
Hi
I have one spredsheet where the date, name, team, results are recorded.

Date</SPAN>
Exec Name</SPAN>
Team</SPAN>
Internal Process</SPAN>
Client Impact?</SPAN>
Final Status</SPAN>
27/01/2013</SPAN>
Miguel Luis</SPAN>
Tools team</SPAN>
Fail
Yes
Fail
28/01/2013</SPAN>
Miguel Luis</SPAN>
Tools team</SPAN>
Pass
No
Pass
29/01/2013</SPAN>
Mr Excel</SPAN>
Tools team</SPAN>
Pass
no
Pass

<TBODY>
</TBODY>


What I am trying to do is when a name is displayed here one or more times, it will then show this on a diferent sheet and count how many fails and passes each person has had.
like so:
Name</SPAN>
Pass</SPAN>
Fail</SPAN>
Total QC'd</SPAN>
%</SPAN>
Miguel Luis</SPAN>
1</SPAN>
1</SPAN>
2</SPAN>
50%</SPAN>
Mr Excel</SPAN>
1</SPAN>
0</SPAN>
1</SPAN>
100%</SPAN>

<TBODY>
</TBODY>

Can you help?

Thank you
Miguel Luis
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hi
I have one spredsheet where the date, name, team, results are recorded.



DateExec NameTeamInternal ProcessClient Impact?Final Status
27/01/2013Miguel LuisTools teamFailYesFail
28/01/2013Miguel LuisTools teamPassNoPass
29/01/2013Mr ExcelTools teamPassnoPass

<tbody>
</tbody>


What I am trying to do is when a name is displayed here one or more times, it will then show this on a diferent sheet and count how many fails and passes each person has had.
like so:
Name
PassFailTotal QC'd%
Miguel Luis11250%
Mr Excel101100%

<tbody>
</tbody>

Can you help?

Thank you
Miguel Luis

try:


Excel 2012
ABCDEFGHIJKL
1DateExec NameTeamInternal ProcessClient Impact?Final StatusPassFailTotal QC'd%
227/01/2013Miguel LuisTools teamFailYesFailMiguel Luis11250%
328/01/2013Miguel LuisTools teamPassNoPassMr Excel101100%
429/01/2013Mr ExcelTools teamPassnoPass
xl5galry.xls
Cell Formulas
RangeFormula
I2=COUNTIFS($B$2:$B$4,$H2,$F$2:$F$4,I$1)
I3=COUNTIFS($B$2:$B$4,$H3,$F$2:$F$4,I$1)
J2=COUNTIFS($B$2:$B$4,$H2,$F$2:$F$4,J$1)
J3=COUNTIFS($B$2:$B$4,$H3,$F$2:$F$4,J$1)
K2=SUM(I2:J2)
K3=SUM(I3:J3)
L2=I2/K2
L3=I3/K3
 
Upvote 0
try:

Excel 2012
ABCDEFGHIJKL
1DateExec NameTeamInternal ProcessClient Impact?Final StatusPassFailTotal QC'd%
227/01/2013Miguel LuisTools teamFailYesFailMiguel Luis11250%
328/01/2013Miguel LuisTools teamPassNoPassMr Excel101100%
429/01/2013Mr ExcelTools teamPassnoPass

<COLGROUP><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL><COL></COLGROUP><THEAD>
</THEAD><TBODY>
</TBODY>
xl5galry.xls

Worksheet Formulas
CellFormula
I2=COUNTIFS($B$2:$B$4,$H2,$F$2:$F$4,I$1)
J2=COUNTIFS($B$2:$B$4,$H2,$F$2:$F$4,J$1)
K2=SUM(I2:J2)
L2=I2/K2
I3=COUNTIFS($B$2:$B$4,$H3,$F$2:$F$4,I$1)
J3=COUNTIFS($B$2:$B$4,$H3,$F$2:$F$4,J$1)
K3=SUM(I3:J3)
L3=I3/K3

<THEAD>
</THEAD><TBODY>
</TBODY>

<TBODY>
</TBODY>
Hello
Thank you for your repy. It worked but what if I wanted to colate the data in columns A to F in a separate sheet called Data and have the data from H to L displayed in a separate sheet called MTD.
Also, would this formula pull the name in column B automaticaly to column H or would I have to manualy type it?

Thank you
 
Upvote 0
Hello
Thank you for your repy. It worked but what if I wanted to colate the data in columns A to F in a separate sheet called Data and have the data from H to L displayed in a separate sheet called MTD.
Also, would this formula pull the name in column B automaticaly to column H or would I have to manualy type it?

Thank you
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,800
Members
449,468
Latest member
AGreen17

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