View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Find display the result

Believe Frank meant this based on the desired result described.

="Found in A" & MATCH(search_number,$A$1:$A$999,0) & "; Result: " &
VLOOKUP(search_number,$A1:$A999,1,False)


--
Regards,
Tom Ogilvy

Frank Kabel wrote in message
...
Hi Simon,

assuming that you data start in row 1 use the following
="Found in A" & MATCH(search_number,$A$1:$A$999,0) & "; Result: " &
VLOOKUP(search_number,$A1:$B999,2,False)

HTH
Frank

Simon wrote:
Hi,
how to find a number in column A and display resuting cell
address and content in the column B of the same row.
Ex: If found in A5; I want to display "A5" & content
in "B5"

Thanks