Using a more advance formula than CountIF

Soni123456

New Member
Joined
Jan 12, 2017
Messages
5
Hi all,

I was wondering if someone could help. I have a list of Participants (Participant 1 down to Participant 30), and each participant has received feedback from a number of their colleagues (Peers, Team Member, Senior Colleagues etc.). What I am looking to do is to use a formula whereby I could count the number of Peers (for example) have given feedback to that particular participant. I want to be able to enter "Participant 3" into a cell and then the formula look up that participant in the data table range and give me back the number of peers that have given him/her feedback.

I hope this makes sense.

Please let me know if you would like more information.

Thanks in advance :)
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
You can do something like this:

I put an x to simulate someone that provided feeback.

Formula in G2: =COUNTA(INDEX(B2:D6,MATCH(F2,A2:A6,0),0))
Col ACol BCol CCol DCol ECol FCol G
Participant #PeerTeam MemberSenior ColleagueParticipant# of Feedback received
Participant 1xxParticipant 12
Participant 2x
Participant 3xxx
Participant 4xx
Participant 5x

<tbody>
</tbody><colgroup><col><col><col><col><col><col><col></colgroup>
 
Upvote 0
Hello,

Thank you for your help. What is the data was laid out this way

Participant Relationship
PP1 Team Member
PP1 Peer
PP1 Peer
PP1 Team Member
PP1 Peer
PP2 Team Member
PP2 Peer
PP2 Peer
PP2 Peer

and I only wanted to count the number of Peers that gave feedback to PP1?

Thanks again :)
 
Upvote 0
Alright:

Formula in E2: =SUMPRODUCT((A2:A10=D2)*(B2:B10="Peer"))

I used "Peer" directly in the formula. If you'd rather, you can reference a cell instead to easily change between counting peers, team members, etc.
ParticipantRelationshipPartipant# of feedback
PP1Team MemberPP13
PP1Peer
PP1Peer
PP1Team Member
PP1Peer
PP2Team Member
PP2Peer
PP2Peer
PP2Peer

<tbody>
</tbody><colgroup><col><col><col span="2"><col></colgroup>
 
Upvote 0

Forum statistics

Threads
1,216,172
Messages
6,129,290
Members
449,498
Latest member
Lee_ray

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