julievandermeulen
Board Regular
- Joined
- Jan 25, 2020
- Messages
- 82
- Office Version
- 365
- Platform
- Windows
I'm looking to write a macro that will
Search the Last Names in column C starting in row 4 and match it to the Last Names in column I starting in row 4.
Then search the First Names in column D starting in row 4 and match it to the First Names in column J starting in row 4.
Then making sure the Last and First name match take the information from Column O starting in row 4 and putting the information in column G starting in row 4.
The problem I'm having is the names in column C & D are sometimes merged in 2 or 3 rows.
Ex. C4:C6 = Smith
D4:D6 = Joe
I'm not sure how to unmerge the cells and keep it inline with the correct information.
Search the Last Names in column C starting in row 4 and match it to the Last Names in column I starting in row 4.
Then search the First Names in column D starting in row 4 and match it to the First Names in column J starting in row 4.
Then making sure the Last and First name match take the information from Column O starting in row 4 and putting the information in column G starting in row 4.
The problem I'm having is the names in column C & D are sometimes merged in 2 or 3 rows.
Ex. C4:C6 = Smith
D4:D6 = Joe
I'm not sure how to unmerge the cells and keep it inline with the correct information.