ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   returning the address of a value (https://www.excelbanter.com/excel-discussion-misc-queries/138586-returning-address-value.html)

Excel Enthusiastic

returning the address of a value
 
If a value is found using vlookup or hlookup, how do I return the address of
such value instead of the value itself?

Gary''s Student

returning the address of a value
 
say we have in F1 thru H14:

1 88 61
1 110 91
2 123 87
2 69 103
2 147 68
3 139 52
4 56 70
5 110 145
6 141 95
7 68 76
8 92 94
9 56 110
10 144 114
11 124 96


and in A1 we have 7 and in B1:
=VLOOKUP(A1,F1:H14,3)
we will see 76 the value in column H
in B2 put:
=MATCH(B1,H1:H14,0)
we see 10.

So H10 is the address containing the vlookup result
--
Gary''s Student - gsnu200714


"Excel Enthusiastic" wrote:

If a value is found using vlookup or hlookup, how do I return the address of
such value instead of the value itself?



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

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