Return Cell Address After Match

ed9213

New Member
Joined
Apr 27, 2014
Messages
13
This doesn't appear to be a new subject, but the solutions I've found don't seem to work for me.

I have a range of approximately 200 unique alphanumeric entries in column A.

I have new entries in column B and want to verify if there are any matching entries in column A.

The formula isn't a simple match; I want the result to point to the cell that has the match. So, near the entry in column B that is the specified item, if there is a match I would like to see the cell location in column A that holds it.

There must be a way to do this, but I can't seem to get this resolved by myself.

Thanks.

ed9213
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
How about
=ADDRESS(MATCH(B2,A:A,0),1,4)
 
Upvote 0
You mean something like this


Book1
ABC
1Abc123abd347$A$4
2def345cde123$A$7
3erf124
4abd347
5efr554
6red2344
7cde123
Sheet2
Cell Formulas
RangeFormula
C1=ADDRESS(MATCH(B1,$A$1:$A$7,0),1)
 
Upvote 0
Column AColumn BColumn ARowColumn B
abc555gabc
1​
abc
ww1tgtg555g
4​
555g
123xabcww1
2​
555gxxxx123x
3​
zxzxzxzxzxzx
5​
dddddddd
6​
tgtgtgtg
7​
tgtg
qqqqqqqq
8​
xxxxxxxx
9​
xxxx
vvvvvvvv
10​

PowerQuery:

M-code
Code:
[SIZE=1]let
    Source = Table.NestedJoin(Table1,{"Column A"},Table2,{"Column B"},"Table2",JoinKind.LeftOuter),
    #"Expanded Table2" = Table.ExpandTableColumn(Source, "Table2", {"Column B"}, {"Column B"})
in
    #"Expanded Table2"[/SIZE]
 
Upvote 0
You mean something like this

ABC
1Abc123abd347$A$4
2def345cde123$A$7
3erf124
4abd347
5efr554
6red2344
7cde123

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
C1=ADDRESS(MATCH(B1,$A$1:$A$7,0),1)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Momentman,

Your formula is the closest to what I need. Is it possible to make it case-sensitive?

Thanks.
ed9213
 
Upvote 0
How about


Excel 2013/2016
ABC
2AL1 5EGAL2 1UXA3
3AL10 9WXAL3 6ADA7
4AL2 1UXAL4 0xxNo Match
5AL2 2EJAL5 5FGA15
6AL2 3XZAL5 5UNNo Match
7AL2 3YT
8AL3 6AD
9AL3 6NZ
10AL4 0AA
11AL4 0BW
12AL4 0XX
13AL4 9XZ
14AL4 9YL
15AL5 2PR
16AL5 5FG
17AL5 5UG
18al5 5un
19AL6 0PB
20AL6 0PE
21AL6 9TU
Master
Cell Formulas
RangeFormula
C2{=IFERROR(ADDRESS(MATCH(1,--EXACT(A$2:A$21,B2),0),1,4),"No Match")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
How about

Excel 2013/2016
ABC
2AL1 5EGAL2 1UXA3
3AL10 9WXAL3 6ADA7
4AL2 1UXAL4 0xxNo Match
5AL2 2EJAL5 5FG
A15
6AL2 3XZAL5 5UNNo Match
7AL2 3YT
8AL3 6AD
9AL3 6NZ
10AL4 0AA
11AL4 0BW
12AL4 0XX
13AL4 9XZ
14AL4 9YL
15AL5 2PR
16AL5 5FG
17AL5 5UG
18al5 5un
19AL6 0PB
20AL6 0PE
21AL6 9TU

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Master

Array Formulas
CellFormula
C2{=IFERROR(ADDRESS(MATCH(1,--EXACT(A$2:A$21,B2),0),1,4),"No Match")}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>

Hi Fluff,

That works great. Thanks.

One question, though. The result is always one row off.

In C2 of your example, A7 is really A8. C5's result (A15) is really A16.

Is this an Excel quirk or is something in the formula?

Thanks, again.
ed9213
 
Upvote 0
Is this an Excel quirk or is something in the formula?
It's me not checking the results properly. :(
It should be
=IFERROR(ADDRESS(MATCH(1,--EXACT(A$2:A$21,B2),0)+1,1,4),"No Match")

Also please do not quote whole posts as it clutters up the thread.
 
Upvote 0

Forum statistics

Threads
1,215,898
Messages
6,127,633
Members
449,392
Latest member
Kersh82

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top