Hlookup to return a sum of values

A

Abe

I am using the Hlookup function. However, rather then having it return a
single cell value, I want it to return a value equal to the sum of a number
of cells.

Please help.

Thanks
 
D

Domenic

Try something like the following...

=SUM(HLOOKUP(LookupValue,A1:C10,{2,5,9},0))

....confirmed with CONTROL+SHIFT+ENTER. The numbers in the array
constant {2,5,9} determine which rows you wish to sum. You can change
or add to them as per your requirements.

Hope this helps!
 
C

CLR

You can just put the formula =SUM(A1:A5), for example, in the cells in the
HLOOKUP table in place of numbers that would ordinarily display...........

Vaya con Dios,
Chuck, CABGx3
 

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