View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
[email protected] dcollis@macmahon.com.au is offline
external usenet poster
 
Posts: 5
Default Lookup and sum row?

On May 1, 2:53 pm, "T. Valko" wrote:
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- Hide quoted text -


- Show quoted text -


Thanks! worked perfect.