Find display the result

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

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
 
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
 
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)
 
Hi Tom

sure :-)
Frank

Tom said:
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)
 
Thanks Frank for your useful reply
Simon
-----Original 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



.
 
Back
Top