How to vlookup and summing value?

C

Carrie

Hi, please help....

Worksheet name: "Pages"
Column A Column B
James $100
James $50
AJ $30
Light $46
James $80

When i type on cell A1 on a separate worksheet this formula
=VLOOKUP(A1,Pages!A2:B5,2,FALSE) , it only provide me $100. Is there a way to
sum up the total to be $230 under "James"?
 
M

Mike H

Hi,

=SUMPRODUCT((A1:A15="James")*(B1:B15))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
E

Eduardo

Hi,
I assume you enter a name to be summarized in B1

=sumproduct((B1=Pages!A2:A5)*(Pages!B2:B5))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top