Lookup functions

W

Warwick Cunningham

Hi

I was wondering how to create a formulae that uses "vlookup" for identical
searches and adds them together.

Thanks
Warwick
 
C

CLR

maybe try.......

=SUM(VLOOKUP(A1,mytable,2,FALSE),VLOOKUP(A2,mytable,2,FALSE))

Vaya con Dios,
Chuck, CABGx3
 
A

Alan Beban

A little more detail about your data would be helpful; perhaps a small
illustration showing some data and the expected result.

Alan Beban
 
W

Warwick Cunningham

An example would be the following:

Sydney 16
Melbourne 25
Perth 32
Sydney 102
Brisbane 27
Sydney 9
Adelaide 5


VLOOKUP("Sydney",A1:B7,2,FALSE) would normally equal 16

I want the formulae to add ALL the Sydney entries to equal 127 (16+102+9).

Many thanks
 

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