I have a list of names, departments and phone numbers in row A. Entries are separated with a cell with 0. Here’s an example of the layout of the data.
<tbody>
</tbody>
Some entries have more than one phone number. What I want to do with this data, is to turn it into this:
<tbody>
</tbody>
I assume the code will look for the first 0 in row A, select a range of cells until it hits the next 0, move the range in the first blank row starting in column A, then loop to find the next 0. Any ideas?
John Smith | ABC | 999-999-9999 | 0 | Jane Smith | ABC | 888-888-8888 | 777-777-7777 | 0 | Alex Smith | ABC |
<tbody>
</tbody>
Some entries have more than one phone number. What I want to do with this data, is to turn it into this:
John Smith | ABC | 999-999-9999 | |
Jane Smith | ABC | 888-888-8888 | 777-777-7777 |
Alex Smith | ABC | | |
<tbody>
</tbody>
I assume the code will look for the first 0 in row A, select a range of cells until it hits the next 0, move the range in the first blank row starting in column A, then loop to find the next 0. Any ideas?