Transpose Function

  • Thread starter Thread starter EMCUE
  • Start date Start date
E

EMCUE

Having another problem.

How can I set up a function to transpose vertically placed text data
horizontally automatically without doing so manually. I have a very
long list of contact information that is formatted as five vertical
cells per contact a blank cell and then the pattern continues. Any
help? I am desperate!:eek:
 
Lets say you have data in column A starting in A1 that looks like:

Name 1
Address 1
City 1
State 1
zip1

Name 2
Address 2
City 2
State 2
zip2

Name 3
Address 3
City 3
State 3
zip3

In B1 enter:
=INDIRECT("A" & ROW()*6-7+COLUMN())
copy this from B1 to C1 thru F1
then copy B1 thru F1 downward as far as you need.
You will seein B1 thru F3:

Name 1 Address 1 City 1 State 1 zip1
Name 2 Address 2 City 2 State 2 zip2
Name 3 Address 3 City 3 State 3 zip3

Each block of five items in the single column transposed into a separate row.
 
The function already skips the single blank cell between the sets of 5, but
as coded it needs a group of 5, a blank, another group of 5, another blank,
etc.


If there occasional groups of four or three, then you would need a macro to
automatically synch up on the blanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

a text array formula 2
TRANSPOSE results in zero values for blank cells 2
TRANSPOSE results in zero values for blank cells 4
TRANSPOSE() 4
transposing addresses 6
Excel 2002 1
transpose 3
Transpose 2

Back
Top