How to sum if columns have unique data.

Excelever

New Member
Joined
Nov 1, 2016
Messages
36
Hello ever one.

I have the below table , I was trying to sum the values in column E2 (Total COUNT) FOR matching data in column A2 and B2 ( NAME1 / NAME 2 ) and matching data in column C2 ( TYPE ).

Thank you.

( below is a sample sheet )
NAME1
NAME2
TYPE
Month
Total COUNT
COST
JOHN
HISE
110
Jan-17
22
40.3
JOHN
HISE
110
Feb-17
20
40.3
PHILIP
ROY
11N
Mar-17
22
43.3
MIKE
HON
12W
Jan-17
48
48.0
MIKE
HON
34X
Feb-17
44
44.0
ALBERT
KING
33V
Mar-17
49
49.0

<tbody>
</tbody>
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Do you also have a desired sum you would want to communicate as a guidance in search of an appropriate formula?
 
Upvote 0
Hello ever one.

I have the below table , I was trying to sum the values in column E2 (Total COUNT) FOR matching data in column A2 and B2 ( NAME1 / NAME 2 ) and matching data in column C2 ( TYPE ).

Thank you.

( below is a sample sheet )
NAME1NAME2TYPEMonthTotal COUNTCOST
JOHNHISE110Jan-172240.3
JOHNHISE110Feb-172040.3
PHILIPROY11NMar-172243.3
MIKEHON12WJan-174848.0
MIKEHON34XFeb-174444.0
ALBERTKING33VMar-174949.0

<tbody>
</tbody>
How did you get the Total count as 22 and 20 in your data when your Nane1/Name2 and Type all are same ?
NAME1NAME2TYPEMonthTotal COUNTCOST
JOHNHISE110Jan-172240.3
JOHNHISE110Feb-172040.3

<tbody>
</tbody>
 
Upvote 0
Sorry, I know what the results will be:-

For example for JOHN HISE , if the TYPE is 110 , then the total count will be 42 .

NAME1NAME2TYPEMonthTotal COUNTCOSTjohn
JOHNHISE11017-Jan2240.3hise
JOHNHISE11017-Feb2040.3110
PHILIPROY11N17-Mar2243.3
MIKEHON12W17-Jan484842
MIKEHON34X17-Feb4444
ALBERTKING33V17-Mar4949

<tbody>
</tbody>


In I5 just enter:

=SUMIFS(E:E,A:A,I1,B:B,I2)

Is this what you are looking for?
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,824
Members
449,190
Latest member
rscraig11

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