Name in different ways captured

DHayes

Board Regular
Joined
Nov 12, 2014
Messages
244
Good Day,
I am hoping there is someone that can help with a formula. The problem is the data is not captured constantly. So i have a name that gets captured in 3 different ways I need to find the value of this person for a specific month. Please if there is formula that I can use would be appreciated.

[TABLE="class: grid, width: 348"]
<colgroup><col><col span="3"></colgroup><tbody>[TR]
[TD="align: left"]Sheet 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]A[/TD]
[TD="align: left"]B[/TD]
[TD="align: left"]C[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]Name[/TD]
[TD="align: left"]Sales[/TD]
[TD="align: left"]Month[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]John James Smith (John)[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]Oct-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]John James Smith[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]Nov-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]Smith John James[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]Dec-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]Sheet 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]Oct-19[/TD]
[TD="align: right"]Nov-19[/TD]
[TD="align: right"]Dec-19[/TD]
[/TR]
[TR]
[TD="align: left"]John James Smith[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Why is this name captured differently? Excel cannot read your mind sorry. There may be other people with similar first, middle, or last names in different combinations.

I suggest you assign an ID number to that person and use that ID in your formulas.

I hope that helps,
XJ
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,169
Members
453,021
Latest member
Justyna P

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