Looking for user names in other fields

Status
Not open for further replies.

roomaleuk

New Member
Joined
Nov 7, 2015
Messages
6
Hi
I am look for a way to find out whether a surname is being used as part of a user name

The file that I am looking at has around 10,000 records and is set up with the following columns
A - Title (Mr, Mrs etc.)
B - Forename (John, Jane, Jenny etc.)
C - Surname (Smith, Brown, James etc.)
D to M - Various pieces of information about the record - address telephone etc

In column N I have a field that contains User Names and the only constraint that has been placed on these is that they must be greater than 5 characters and less than 20 characters. For some reason the user name may include spaces

So in effect - I am look at establish whether the value in column C (Surname) is part of the user name (column N) on a row by row basis

So the surname Smith may be found in the user names
J Smith
J & A Smith
James Smith
John Smith esq

In all of these cases I would like to indicate that the row has a probable match

Whereas in the case of
JSmith
Smithy
A Smithers

These would be marked as 'review' or possible

I have tried various combinations of find, substitute and the like to get around the spaces - but to no avail.

A friend of mine suggested that I look on this forum - and if I couldn't find anything to post a new thread l - so .. here's the posting

I hope that this makes some sense .. and any assistance would be gratefully received as this has become a bit of a quest

Thanks in advance for any help or pointers

Andy
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Could you give some samples of usernames as well?

Hi
The surname (Smith) may be found in the following User names

J Smith
J & A Smith
James Smith
John Smith esq

In all of these cases I would like to indicate that the row has a probable match

Whereas in the case of
JSmith
Smithy
A Smithers

These would be marked as review or possible match

Thanks

Andy
 
Upvote 0
Welcome to the MrExcel board!

A friend of mine suggested that I look on this forum - and if I couldn't find anything to post a new thread l - so .. here's the posting
But is this question about the Easy-XL Add-In which is the forum you have posted in & one not so many people look at, or is it a general Excel question?
 
Upvote 0
Welcome to the MrExcel board!

But is this question about the Easy-XL Add-In which is the forum you have posted in & one not so many people look at, or is it a general Excel question?


Whoops sorry - said I was new - will re-post - thanks for pointing that out
 
Upvote 0
OK, I'll close this thread so we don't have two going. New thread is here.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,375
Messages
6,124,576
Members
449,173
Latest member
Kon123

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