Matching formula

crag8119

New Member
Joined
Mar 25, 2014
Messages
38
Hi,

Please could someone help me some match the data in columns 'Transaction Number' and ;Line Description':
[TABLE="width: 883"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Transaction Number[/TD]
[TD]Transaction[/TD]
[TD]Line Description[/TD]
[/TR]
[TR]
[TD]Date[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]Rejection for Invoice[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]5-Nov-18[/TD]
[TD]Miscellaneous_Negative_Entry_For_NEW[/TD]
[/TR]
[TR]
[TD]T1173777-NEW[/TD]
[TD="align: right"]26-Nov-18[/TD]
[TD]Miscellaneous_Negative_Entry_For_NEW[/TD]
[/TR]
[TR]
[TD]T1175778-NEW[/TD]
[TD="align: right"]26-Nov-18[/TD]
[TD]75006801 | T1175778[/TD]
[/TR]
[TR]
[TD]T1173776-NEW[/TD]
[TD="align: right"]26-Nov-18[/TD]
[TD]Miscellaneous_Negative_Entry_For_NEW[/TD]
[/TR]
</tbody>[/TABLE]

I am trying to match the first 8 characters in column 'Transaction Number' to the value in 'Line Description'.

I have tried:=IF(ISNA(MATCH(LEFT(C5,8),RIGHT(E1:E100,FIND("|",E1:E100)-1)),0)),"No Match",C5)

however it just errors. I am trying to match the first 8 characters under 'Transaction Number' to the value after "|" in the 'Line description' column.

Many thanks
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Re: Help needed for matching formula

I am trying to match the first 8 characters under 'Transaction Number' to the value after "|" in the 'Line description' column.

Hi, you could try:

=IF(ISNUMBER(MATCH("*| "&LEFT(C5,8),$E$1:$E$100,0)),C5,"No match")
 
Upvote 0
Re: Help needed for matching formula

Is there a way I can highlight both column C and E when a match is found?

Hi, what do you mean by highlight? Have you looked at conditional formatting?
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,971
Members
452,540
Latest member
haasro02

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