View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default vlookup to return cell position as to where result was found

=SUM(OFFSET(Indirect("A"&match("EVA",$A$1:$A:$3,0) ),15,15,28,1))

or much simpler

=SUM(OFFSET(A1,match("EVA",$A$1:$A:$3,0)+14,15,28, 1))



--
Regards,
Tom Ogilvy

"Rock" wrote in message
...
I'm sorry I still don't understand should the match go where I put

"location
Cell"
Vlookup( EVA,A1:C3,location Cell) would like result to be A3 here

and can I incoporate it in the following function

=SUM(OFFSET(Vlookup( EVA,A1:C3,match(EVA,???? )),15,15,28,1))
{------------- result A3------------------}


Thanks
Roch

"JulieD" wrote:

see your previous post for two answers

"Rock" wrote in message
...
I would like to run a vlookup for a name and have it return the

location of
the cell where it finds it so I can use it in a sum(offset())

function.

column A
row 1 Sam
row 2 Bill
row 3 Eva


Vlookup( EVA,A1:C3,location Cell) would like result to be A3

--
Thanks

Roch