Solved

# Excel function - Sum 3 numbers based on info on two separate columns

Posted on 2014-09-22
84 Views
I have an excel sheet that looks like this
Name             Type                      Total                     NEWCOLUMN
Smith                       A                     5                                  35
Smith                        B                     7                                  35
Smith                      C                         23                             35
Johnson                  A                         76                             144
Johnson                  B                         45                               144
Johnson                  C                         9                                 144
Robertson               A                         65                               148
Robertson              B                          32                             148
Robertson              C                          51                              148

I need to SUM the Totals together (A B and C) based on the changing name,  I don't care if the sum goes into each row.  (See NEWCOLUMN)  I just don't know if I could do this in a function or if I need VBA.

THanks
0
Question by:gwarcher
• 2

LVL 25

Accepted Solution

ProfessorJimJam earned 500 total points
ID: 40337050
put this in your new column and copy down

=SUMIFS(\$C\$2:\$C\$10,\$A\$2:\$A\$10,\$A2)
0

LVL 25

Expert Comment

ID: 40337051
see attached file
Book1.xlsx
0

Author Comment

ID: 40337207
Perfect thanks!
0

## Featured Post

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.