Find Values in Excel Document and add together

M

Mona

How do I find all the values for Russ in a spreadsheet and add them together?

Example:

Russ 1
Sally 2
Adam 3
John 4
Russ 5
Sally 2
Adam 3
Russ 5

Without sorting by Russ and then adding together, is there a formula where I
can tell it to find all the Russ' and add them together for me?
 
R

Rob Parker

Hi Mona,

You've asked this Excel question in a newsgroup for Access, the Microsoft
database product. You should be asking in one of the micrsoft.public.excel
groups.

That said, the answer is to use the SumIf function. Assuming that your
sample data is in columns A and B, rows 1 to 8, the following formula will
do it:
=SumIf(A1:A8,"Russ",B1:B8)

HTH,

Rob
 
D

De Jager

Mona said:
How do I find all the values for Russ in a spreadsheet and add them
together?

Example:

Russ 1
Sally 2
Adam 3
John 4
Russ 5
Sally 2
Adam 3
Russ 5

Without sorting by Russ and then adding together, is there a formula where
I
can tell it to find all the Russ' and add them together for me?
 
Top