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':
Transaction NumberTransactionLine Description
Date
Rejection for Invoice
5-Nov-18Miscellaneous_Negative_Entry_For_NEW
T1173777-NEW26-Nov-18Miscellaneous_Negative_Entry_For_NEW
T1175778-NEW26-Nov-1875006801 | T1175778
T1173776-NEW26-Nov-18Miscellaneous_Negative_Entry_For_NEW

<colgroup><col><col><col></colgroup><tbody>
</tbody>

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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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

Hi, you could try:

=IF(ISNUMBER(MATCH("*| "&LEFT(C5,8),$E$1:$E$100,0)),C5,"No match")


Great thank you,

Is there a way I can highlight both column C and E when a match is found?
 
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,214,639
Messages
6,120,679
Members
448,977
Latest member
dbonilla0331

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