Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some basic data

Name | Amount
Jake | 10
Jake | 12
Jake | 13
Ben  | 1
Ben  | 14
Ali  | 9
Ali  | 4

I want to total up the amount for each person so I end up with something like

Jake | 35
Ben  | 15
Ali  | 13

Rather than specifying which cells are Jake's, Ben's and Ali's I want to do this using a function. Pseudo code might look like:

TOTAL = WHERE `Name` IS "Jake" IN `COL-A` + `Amount`
share|improve this question
up vote 6 down vote accepted

It would appear that SUMIF() does exactly this

 =SUMIF(test-range, “test”, [sum-range])
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.