Summing data by name

DitdotUK

New Member
Joined
Jun 20, 2018
Messages
4
Hi All,

I'm not an excel expert and I have limited knowledge.

I have two sheets of data.

The first sheet of Data looks like this

[TABLE="width: 200"]
<tbody>[TR]
[TD]Name[/TD]
[TD]CallIN[/TD]
[TD]Abandoned[/TD]
[TD]Outbound[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]30[/TD]
[TD]3[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]20[/TD]
[TD]7[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]15[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Ben[/TD]
[TD]3[/TD]
[TD]17[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Ben[/TD]
[TD]8[/TD]
[TD]2[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]Mo[/TD]
[TD]12[/TD]
[TD]15[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


On another sheet I want excel to return

[TABLE="width: 200"]
<tbody>[TR]
[TD]Name[/TD]
[TD]CallIN[/TD]
[TD]Abandoned[/TD]
[TD]Outbound[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]55[/TD]
[TD][/TD]
[TD]39[/TD]
[/TR]
[TR]
[TD]Ben[/TD]
[TD]11[/TD]
[TD][/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]12[/TD]
[TD][/TD]
[TD]7[/TD]
[/TR]
</tbody>[/TABLE]

I've tried using vlookup with sum ifs

=SUM(VLOOKUP(A3,'User Productivity Summary'!C:M,{3,9},FALSE))

But this will only count the first row of each user in my source data.

Thanks

Paul
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Welcome to the forum.

It looks like a pivot table would produce exactly what you need.
 
Upvote 0
You could add a date column to your source data which can be added to your sumifs criteria?
 
Upvote 0
Hi So I want my creteria to be C:C,D:D,E:E and I want the sum if to sum all values in the rage for a user
 
Upvote 0
Assuming you have your users in column A, Copy across and drag down;

Code:
=SUMIFS(Sheet1!C:C,Sheet1!$A:$A,$A2)
 
Upvote 0
Hi,

If I understand correctly:


Book1
ABCD
1NameCallINAbandonedOutbound
2Joe651239
3Ben111915
4Mo12157
Sheet107
Cell Formulas
RangeFormula
B2=SUMPRODUCT(('User Productivity Summary'!$B$2:$B$500=$A2)*('User Productivity Summary'!$C$1:$E$1=B$1)*'User Productivity Summary'!$C$2:$E$500)


Formula copied down and across, adjust Cell References/Ranges as necessary.


Book1
BCDE
1NameCallINAbandonedOutbound
2Joe30325
3Joe20712
4Joe1522
5Ben3170
6Ben8215
7Mo12157
User Productivity Summary
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,322
Members
452,635
Latest member
laura12345

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