Fuzzy Match with Wildcards

jzellman

New Member
Joined
Aug 12, 2015
Messages
17
Trying to check some accounting records. Accounting transactions are posted to certain indirect pools based on a unique combination or Dept and Account Number (Mapping Table below). .Im trying to add the pool name to the Accounting Transactions. In the mapping table there are wildcard fields (can be single ("?") or multiple("*") characters. There are 14,000 entries in the Mapping Table and over 20,000 accounting transactions.

Any ideas on doing this. I tried fuzzy match, etc and nothing seems to work...thanks


Mapping TableAccounting Transactions
DepartmentAccount #
Indirect Pool Name
DepartmentAccount #AmountAdd Pool Name
100.100.US.ABCD.0098.051.000G&A100.100.US.ABCD.0098.051.000$ 1,022
100.100.US.ABCD.0198.051.000G&A100.100.US.ABCD.0198.051.000$ 49
100.100.US.ABCD.02*G&A100.100.US.ABCD.0298.051.101$ 5,433
*.100.?R.**.000G&A101.100.US.DEFG.0198.051.56A$ 544
*.100.?R.*98.05*G&A102.100.US.GFRR.AA98.055.000$ 56,454
101.100.US.DEFG.0098.051.000Overhead
101.100.US.DEFG.01??.051.??AOverhead
102.100.*98.051.000Overhead
103.100.GT.FDDF.??98.055.000Fringe
103.100.DD.**.056.000Fringe
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
this works with your sample data

Book1
ABCDEFGH
1Mapping TableAccounting Transactions
2DepartmentAccount #Indirect Pool NameDepartmentAccount #AmountAdd Pool Name
3100.100.US.ABCD.0098.051.000G&A100.100.US.ABCD.0098.051.000$ 1,022G&A
4100.100.US.ABCD.0198.051.000G&A100.100.US.ABCD.0198.051.000$ 49G&A
5100.100.US.ABCD.02*G&A100.100.US.ABCD.0298.051.101$ 5,433G&A
6*.100.?R.**.000G&A101.100.US.DEFG.0198.051.56A$ 544Overhead
7*.100.?R.*98.05*G&A102.100.US.GFRR.AA98.055.000$ 56,454Fringe
8101.100.US.DEFG.0098.051.000Overhead
9101.100.US.DEFG.01??.051.??AOverhead
10102.100.*98.051.000Overhead
11103.100.GT.FDDF.??98.055.000Fringe
12103.100.DD.**.056.000Fringe
Sheet5
Cell Formulas
RangeFormula
H3:H7H3=IFERROR(INDEX($C$3:$C$12,MATCH(E3,$A$3:$A$12,0)),INDEX($C$3:$C$12,MATCH(F3,$B$3:$B$12,0)))
 
Upvote 0
Thanks. Your Fringe answer does not work. Both columns need to match. Fringe pools have a Dept # starting with "103"
 
Upvote 0

Forum statistics

Threads
1,226,125
Messages
6,189,128
Members
453,524
Latest member
AshJames

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