Need formula that Counts items matching criteria using two columns
The formula in Column D should lookup the name in Column C, go to Column A
and find the corresponding name(s), then count the number of percents opposite the corresponding name in Column B that are less than 90%. (I did a manual count in Column D as illustration of what the final result should look like.) Thanks !!! Column A Column B Column C Column D (Formula column) Name Percent earnings Criteria Count SMITH K 106% SMITH T 2 SMITH T 101% SMITH K CHILDERS 97% ANDERSON 1 SMITH T 92% NEWTON SMITH T 87% LEVINE 1 SMITH T 76% HOGAN SMITH T 102% CHRISTOS LEVINE 60% CHILDS SMITH T 100% CATALDY ANDERSON 77% BAKERS |
Need formula that Counts items matching criteria using two columns
=SUMPRODUCT(--(A2:A11=C2),--(B2:B11<0.9))
You will need to change the formating to the following custom format to show a blank instead of zeros General;-General; "Juana Cafe" wrote: The formula in Column D should lookup the name in Column C, go to Column A and find the corresponding name(s), then count the number of percents opposite the corresponding name in Column B that are less than 90%. (I did a manual count in Column D as illustration of what the final result should look like.) Thanks !!! Column A Column B Column C Column D (Formula column) Name Percent earnings Criteria Count SMITH K 106% SMITH T 2 SMITH T 101% SMITH K CHILDERS 97% ANDERSON 1 SMITH T 92% NEWTON SMITH T 87% LEVINE 1 SMITH T 76% HOGAN SMITH T 102% CHRISTOS LEVINE 60% CHILDS SMITH T 100% CATALDY ANDERSON 77% BAKERS |
Need formula that Counts items matching criteria using two columns
=sumproduct(--(A$1:A$1000=C2),--(B$1:B$1000<0.9))
Enter that in D2 to get the count for SMITH T, then copy down as many rows as you need. Also, change the row range to cover your entire dataset (sumproduct can't take entire columns as input, though you could use $A$1:$A$65536 if necessary). "Juana Cafe" wrote: The formula in Column D should lookup the name in Column C, go to Column A and find the corresponding name(s), then count the number of percents opposite the corresponding name in Column B that are less than 90%. (I did a manual count in Column D as illustration of what the final result should look like.) Thanks !!! Column A Column B Column C Column D (Formula column) Name Percent earnings Criteria Count SMITH K 106% SMITH T 2 SMITH T 101% SMITH K CHILDERS 97% ANDERSON 1 SMITH T 92% NEWTON SMITH T 87% LEVINE 1 SMITH T 76% HOGAN SMITH T 102% CHRISTOS LEVINE 60% CHILDS SMITH T 100% CATALDY ANDERSON 77% BAKERS |
Need formula that Counts items matching criteria using two col
Thanks so much !!!
"Sloth" wrote: =SUMPRODUCT(--(A2:A11=C2),--(B2:B11<0.9)) You will need to change the formating to the following custom format to show a blank instead of zeros General;-General; "Juana Cafe" wrote: The formula in Column D should lookup the name in Column C, go to Column A and find the corresponding name(s), then count the number of percents opposite the corresponding name in Column B that are less than 90%. (I did a manual count in Column D as illustration of what the final result should look like.) Thanks !!! Column A Column B Column C Column D (Formula column) Name Percent earnings Criteria Count SMITH K 106% SMITH T 2 SMITH T 101% SMITH K CHILDERS 97% ANDERSON 1 SMITH T 92% NEWTON SMITH T 87% LEVINE 1 SMITH T 76% HOGAN SMITH T 102% CHRISTOS LEVINE 60% CHILDS SMITH T 100% CATALDY ANDERSON 77% BAKERS |
Need formula that Counts items matching criteria using two col
Thanks so much for all your help !!
"bpeltzer" wrote: =sumproduct(--(A$1:A$1000=C2),--(B$1:B$1000<0.9)) Enter that in D2 to get the count for SMITH T, then copy down as many rows as you need. Also, change the row range to cover your entire dataset (sumproduct can't take entire columns as input, though you could use $A$1:$A$65536 if necessary). "Juana Cafe" wrote: The formula in Column D should lookup the name in Column C, go to Column A and find the corresponding name(s), then count the number of percents opposite the corresponding name in Column B that are less than 90%. (I did a manual count in Column D as illustration of what the final result should look like.) Thanks !!! Column A Column B Column C Column D (Formula column) Name Percent earnings Criteria Count SMITH K 106% SMITH T 2 SMITH T 101% SMITH K CHILDERS 97% ANDERSON 1 SMITH T 92% NEWTON SMITH T 87% LEVINE 1 SMITH T 76% HOGAN SMITH T 102% CHRISTOS LEVINE 60% CHILDS SMITH T 100% CATALDY ANDERSON 77% BAKERS |
All times are GMT +1. The time now is 10:59 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com