Find and extract text in a cell

Eldublee

New Member
Joined
Sep 17, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
I have a bank statement with 1000 customer payments.

Each customer uses a unique identifyer with their payment hpwvere this unique text is not in the same ppace of a text string as other customers (inv123 google llc ref 12345) another customer may be (microsoft pty ltd inv321. Ref 5678)

If google uses google llc in their description everytime they make payment, then “google llc” or “Microsoft pty ltd” will be the part of the text string i need to locate and extract regardless of where in the text string it is
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Using the data below I want to find a formula to do the following

  1. Look at the Text in a Cell EG "Devoli Ltd Devoli Limited 0685465"
  2. Review the cell above it to see if it matches
Eg:
NZD CREDITORDEVOLI LTD NZL00003908 DEVOLI TRADING A 0000000
and
Devoli Ltd Devoli Limited 0685465
and
NZD CREDITORDEVOLI LTD NZL00003763 DEVOLI TRADING A 0000000

From this example, we can see "Devoli Ltd" is common text in all 3 cells but in different places and different cases, within the text string of each cell.

  1. Once I have found the Text match from the cell above, I want to return the matched text "Devoli Ltd" into a different column headed "Payment Descriptor ID"
  2. Once I have the matched text in a separate column I have the customers "unique payment descriptor id"
  3. I then use that "Payment Descriptor ID" to locate the customers account number.
I have tried =LEFT([Cell Ref],27) and received the below results:

NZD CREDITORDEVOLI LTD
Devoli Ltd Devoli Limited 0
Devoli Ltd Devoli Limited 0

This does not allow for text descriptors in the middle of the text string such as "Transferwise" for account 22.
NZL00003034 301238783TW0 TR
AUS00018172 Anycast Holding
NZL00003915 389631978TW0

Using Wildcards / XLookup =XLOOKUP("*"&$F5&"*","*"&$F4&"*",$E5,LEFT(F5,27),2)
not found
Devoli Ltd Devoli Limited 0
Devoli Ltd Devoli Limited 0
NZD CREDITORDEVOLI LTD NZL0


AccountTransaction narrative
15NZD CREDITORDEVOLI LTD NZL00003908 DEVOLI TRADING A 0000000
15Devoli Ltd Devoli Limited 0685465
15Devoli Ltd Devoli Limited 0301360
15NZD CREDITORDEVOLI LTD NZL00003763 DEVOLI TRADING A 0000000
16FetchTV Management FetchTV Manageme 0374306
16FetchTV Management FetchTV Manageme 0306721
16FetchTV Management FetchTV Manageme 0280079
17SPECTRUM NETWORKS SPECTRUM NETWORK 0846284
17SPECTRUM NETWORKS SPECTRUM NETWORK 0512711
17SPECTRUM NETWORKS SPECTRUM NETWORK 0462316
18TWO DEGREES NETWORKS LIMITED AUS00017486 AUS00018167
22NZL00003034 301238783TW0 TRANSFERWISE 0000000
22AUS00018172 Anycast Holdings 0406462
22NZL00003915 389631978TW0 TRANSFERWISE 0000000
22ANYCAST HOLDINGS PTY LTD SIN00003237 /ROC/TW371997198
22ANYCAST NETWORKS ANYCAST HOLDINGS 0509549
22ANYCAST NETWORKS ANYCAST HOLDINGS 0296920
22NZL00003770 371712082TW0 TRANSFERWISE 0000000
23SIS AUS00018173 CBA 0259358
23AUS00018863 CBA 0487585
24AUS00018864 NEXON 0755722
24NEXON - 24 NEXON ASIA PACIF 0882597
24AUS00018174 NEXON 0507156
24AUS00017493 NEXON 0594114
25OVER THE WIRE PTY LTD PAY NZL00003916
25AUS00018865 Over The Wire 0424128
25OVER THE WIRE PTY LTD PAY NZL00004052
25AUS00018175 Over The Wire 0604586
25AUS00017494 Over The Wire 0387199
25OVER THE WIRE PTY LTD PAY NZL00003771
28AUS00016812 REDD Digital Ser 0152736
32HIGHWINDS NETWORK GROUP INC INV - AUS00018183
32HIGHWINDS NETWORK GROUP INC INV AUS00017502
34AUS00018184 MICRON DATA 0727411
34AUS00013464 MICRON DATA 0804263
 
Upvote 0

Forum statistics

Threads
1,223,262
Messages
6,171,080
Members
452,377
Latest member
bradfordsam

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