r/excel•
divcastle2

Transposing account list

solved

I have a list of accounts in microsoft word that I would like to put into excel. I imported the data as a text file and it looks like the following:

Company name 1

Address

Name

Phone

Company 2

Address

Name

Phone

email

fax

and continues this way. Some contacts have additional lines like fax/phone while others are only company/address/name (5 rows vs 3 rows per contact). There are blank rows between contacts.

Is there a way to create a script that transposes the rows into columns until it finds a blank row and then starts over so company names end up on the same column?

Posted Apr 1, 2019, 5:42 PM UTC

49
Loading comments…