View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Lookup and sum row?

Try this:

A20 = lookup_value

=SUM(INDEX(B1:J10,MATCH(A20,A1:A10,0),))

Biff

wrote in message
oups.com...
I need to lookup and sum a row, eg i want to lookup a value in column
A, and add the corresponding row between the say column B and J

so i want to do a vlookup, but instead of returning one value, i want
the sum.

cheers