curtishavak
New Member
- Joined
- May 31, 2012
- Messages
- 41
I have a set of contact data that has been extracted from our CRM system and needs to be imported into our ESP for marketing purposes. The two systems can't talk directly to one another. I have extracted the data necessary, but it is formatted in a way that will not allow direct import.
The data is laid out in a horizontal hierarchy: Party -> Site -> Individual Contact. I've included a link to a sample file here: https://drive.google.com/file/d/0B_z0joRLczLdTEcwbzMxTTQxRFU/view?usp=sharing
Sheet one is the raw data. Sheet two is how I need the data to look once complete, with yellow cells indicating the data copied from the highlighted green cells, with each green cell being in a row below the copied yellow cells.
In plain English, I need a Macro that will start in cell B2. If B2 is not blank, then find the first non-blank cell in column J, below row 2, and copy that value into cell J2. I then need it to find the next non-blank cell in column B (in the sample file, cell B9) and perform the same function until it reaches a blank value in Column A (an index column I inserted to unify the data into a single range. I have to do this for multiple columns, but the reference column will always be "B". I'd be happy with a macro that did one column at a time and I could adjust and run as needed, or if I could enter a range of columns, that would be great too. I tried to illustrate in this link: https://drive.google.com/file/d/0B_z0joRLczLdcnRuQlk3RDdTd3M/view?usp=sharing
Please help!
The data is laid out in a horizontal hierarchy: Party -> Site -> Individual Contact. I've included a link to a sample file here: https://drive.google.com/file/d/0B_z0joRLczLdTEcwbzMxTTQxRFU/view?usp=sharing
Sheet one is the raw data. Sheet two is how I need the data to look once complete, with yellow cells indicating the data copied from the highlighted green cells, with each green cell being in a row below the copied yellow cells.
In plain English, I need a Macro that will start in cell B2. If B2 is not blank, then find the first non-blank cell in column J, below row 2, and copy that value into cell J2. I then need it to find the next non-blank cell in column B (in the sample file, cell B9) and perform the same function until it reaches a blank value in Column A (an index column I inserted to unify the data into a single range. I have to do this for multiple columns, but the reference column will always be "B". I'd be happy with a macro that did one column at a time and I could adjust and run as needed, or if I could enter a range of columns, that would be great too. I tried to illustrate in this link: https://drive.google.com/file/d/0B_z0joRLczLdcnRuQlk3RDdTd3M/view?usp=sharing
Please help!