ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   search a string as substring and give adjacent values (https://www.excelbanter.com/excel-worksheet-functions/192275-search-string-substring-give-adjacent-values.html)

Eddy Stan

search a string as substring and give adjacent values
 
Hi

I have invoice number (alpha / numeric) in c colum and i like to search in
c column of another sheet, and if found i require values in the adjacent
cells in the same row (found row)
example
inv no (C) INvoice no.in next sheet QTY VALUE
14527 TP/K9920/WPXV-SS-155/15.01.08 8 5400
SS-155 TP/K24/WPS-14527/15.03.08 3 1200

sheet 1 c5 has 14527 and is found in the 100th row of other sheet, so i need
qty 3 & 1200 in other sheet at sheet1 d5 & e5
sheet1 c6 has ss-155 and is found in the 55th row of other sheet, so i need
qty 8 & 5400 at sheet1 d6 & e6

i want function in d & e in sheet1



Don Guillett

search a string as substring and give adjacent values
 
look in the help index for VLOOKUP

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Eddy Stan" wrote in message
...
Hi

I have invoice number (alpha / numeric) in c colum and i like to search in
c column of another sheet, and if found i require values in the adjacent
cells in the same row (found row)
example
inv no (C) INvoice no.in next sheet QTY VALUE
14527 TP/K9920/WPXV-SS-155/15.01.08 8 5400
SS-155 TP/K24/WPS-14527/15.03.08 3 1200

sheet 1 c5 has 14527 and is found in the 100th row of other sheet, so i
need
qty 3 & 1200 in other sheet at sheet1 d5 & e5
sheet1 c6 has ss-155 and is found in the 55th row of other sheet, so i
need
qty 8 & 5400 at sheet1 d6 & e6

i want function in d & e in sheet1





All times are GMT +1. The time now is 04:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com