SUMIF with Names?

KuraiChikara

Board Regular
Joined
Nov 16, 2016
Messages
111
Office Version
  1. 2013
Platform
  1. Windows
Hello, I am looking to perform a SUMIF but with names. For example, say there are different supervisors in column A and I want to find the amount of agents a particular supervisor has listed in column B (without doing a filter).

Say supervisor JOHN CLOUD is in Column A2 and then in random rows after that and he has 12 agents. Those agents are in column B formatted this way: Smith, Jane.

I want to be able to to a SUMIF to look for John the supervisor and pull the total of people under him from column B but I dont know how to SUMIF text.

I used this formula:
=SUMIF(A$2:A$600,A2,B$2:B$600)

But it just results in pulling a zero (0).
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try COUNTIF.
Maybe just COUNTIF(A$2:A$600,A2)
which would count how many times John Cloud is in column A.
 
Upvote 0
That works, I was racking my brain on counting column B and matching it to column A's sup but realistically the agent and the supervisor will be on the same row of each other. So if it counts 16 "John Cloud" names, for what I'm working with, that's the same as 16 agents. Thanks!
 
Upvote 0
Your welcome. Glad that worked for you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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