Data match (Take 2)

M

martinbarnes

I have a list of 19-digit account numbers, like such:

1205000458476190000

I also have a list of 20-digit account numbers, like such:

01205000458476194300

The above examples belong to the same account - that is, they are the same
account number. They simply differ by 1 leading zero and the last 4 digits
("0000" in the first, "4300" in the second). I need to take all the account
numbers in one list and match them with the numbers in the other list.
What's the best way to do this?

Thanks in advance for any help.
 
H

Hutch

I am not sure what you are trying to accomplish exactly when you say match
them. However, you can trim down the longer one by using the MID() forumla
and picking the string of digits out in the middle that you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top