I have a list of 40k contacts listed vertically that I would like to convert to a horizontal list, so that I can then import it to database software. Problem is that not each contact has the same info. i.e some have phone numbers, some have titles, some have addresses, and some don't. See table below. I added and labeled columns A & B in the thought that I could use those numbers and labels as a reference to pull into columns J through P but came to a dead end. Would very much appreciate some guidance as this list is much too long to do manually. Also, FYI, I know very little VB so if that's the best solution, I would appreciate it if you could put in laymen's terms to the extent that it is possible...
<tbody>
</tbody>
A | b | c | d | e | f | g | h | i | j | k | l | m | n | |
1 | 1 | name | ||||||||||||
2 | 2 | title | ||||||||||||
3 | 3 | company | ||||||||||||
4 | 4 | address | ||||||||||||
5 | 5 | suite | ||||||||||||
6 | 6 | city/state | ||||||||||||
7 | 7 | Phone | Desired Result: | |||||||||||
8 | ||||||||||||||
9 | 1 | John Smith | Name | Title | Company | Address | Suite | City/State | Phone | |||||
10 | 2 | SVP | John Smith | SVP | Widget Manufacturing Co | 123 Main Street | Los Angeles, CA | (555) 555-5555 | ||||||
11 | 3 | Widget manufacturing Co | ||||||||||||
12 | 4 | 123 Main Street | ||||||||||||
13 | 6 | Los Angeles, CA | ||||||||||||
14 | 7 | (555) 555-5555 | ||||||||||||
15 | ||||||||||||||
16 | ||||||||||||||
17 | ||||||||||||||
18 | ||||||||||||||
19 | ||||||||||||||
20 | ||||||||||||||
21 | ||||||||||||||
22 | ||||||||||||||
23 | ||||||||||||||
24 | ||||||||||||||
25 | ||||||||||||||
26 | ||||||||||||||
27 |
<tbody>
</tbody>