ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   V Lookup and return cell address (https://www.excelbanter.com/excel-worksheet-functions/68347-v-lookup-return-cell-address.html)

Thomas

V Lookup and return cell address
 
I receive a huge spreadsheet from a vender each month. I'm trying to find a
client code in this spreadsheet listed somewhere in column A. After finding
the client code, I want the vlookup to return the cell address that the
client code is in (Ex. A9).

Thanks for the help,
Thomas


bpeltzer

V Lookup and return cell address
 
vlookup will only return a piece of data that's in the table. Could you use
MATCH instead? If your match looks in a single column, it returns the row#
w/in the table where the match was found. So if you use
=match(a1,Sheet2!a:a,false), the return value will be the row number. You
could turn that into an address:
="A" & match(a1,Sheet2!a:a,false)
HTH. --Bruce

"Thomas" wrote:

I receive a huge spreadsheet from a vender each month. I'm trying to find a
client code in this spreadsheet listed somewhere in column A. After finding
the client code, I want the vlookup to return the cell address that the
client code is in (Ex. A9).

Thanks for the help,
Thomas



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

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