+ Reply to Thread
Results 1 to 5 of 5

Transpose data

  1. #1
    Registered User
    Join Date
    12-10-2006
    Posts
    2

    Transpose data

    Hi, apologies if this has been answered before...

    Let's say that I have directions to get somewhere in the form of a column for map page numbers and each row is the page number and the square references. How can I reverse the route?

    e.g. change....

    29 E1 F1 G1
    30 B3 C3 C4 D4
    31 E4 F4 G4 H4 H5

    to

    31 H5 H4 G4 F4 E4
    30 D4 C4 C3 B3
    29 G1 F1 E1

    bearing in mind that page numbers may not necessarily be in order.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Here's my attempt with some VBA Code

    VBA Noob
    Attached Files Attached Files
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    12-10-2006
    Posts
    2

    Transpose

    Thanks for that

    Of course, it would look nicer if the cells could be left justified, as prior to transposing them

    Thanks again for the swift response

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    This is a formula version

    VBA Noob
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-26-2003
    Posts
    8

    As a function?

    Hi,

    I'm trying to do something similar, but want it to work over a highlighted range if possible.

    This range will vary (i.e. not always in column E:F for e.g.); but does anyone have a macro that will vertically invert each column that I've highlighted (so I can tie it to a button)?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1