VBA Macro Cross Reference Extraction?

cenger88

New Member
Joined
Dec 27, 2013
Messages
2
So I'm having trouble trying to cross reference two worksheets in a workbook and extract the redundant values to a new worksheet to determine overlap.

I work in wealth management and I have two lists from different firms of client/adviser information and I need to see what clients are managed under both firms.

The major issue is that the data format is not consistent among worksheets.

(i.e. one worksheet has client first name and last name in separate columns and the other has the same info in a single column, some separated by a comma in last,first and others just first last format.)

Essentially, from a pseudo code standpoint, I would like to write a macro that checks:

"IF client name shows up on both sheets, then insert name on new worksheet in client column along with adviser name, start date, and Assets Under management in separate columns"

Any help would be greatly appreciated!

Thank you for your time
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
(i.e. one worksheet has client first name and last name in separate columns and the other has the same info in a single column, some separated by a comma in last,first and others just first last format.)

suggestion

in the sheet containing the names in two columns concatenate them into a new helper column and use that column and name column in second sheet. can you wirite a macro?
 
Upvote 0
suggestion

in the sheet containing the names in two columns concatenate them into a new helper column and use that column and name column in second sheet. can you wirite a macro?

Ok, good suggestion!...I've written them before in a financial modeling class back in college....but it's been a while and I may need a refresh on the syntax.:confused:
 
Upvote 0
the syntax of concatenation is

<firstname>firstsname cell&" "&secondnamecell<second namne=""></second></firstname>
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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