+ Reply to Thread
Results 1 to 6 of 6

Text in vertical row to be sorted horizontally in groups

  1. #1
    Registered User
    Join Date
    01-19-2015
    Location
    South Africa
    MS-Off Ver
    MS 2010
    Posts
    3

    Text in vertical row to be sorted horizontally in groups

    Hello there,
    I have the following data which I want to sort horizontally in groups by using IF function or whatever will do the trick:
    I have over 1000 of these sheets and each contains about 80 entries.

    P
    P
    P
    B
    P
    B
    P
    P
    B
    P
    P

    I would like to sort it like this: "P" under each other until "B" is detected, then "B" under each other until "P" is detected etc.
    P B P B P B P
    P P P
    P
    Last edited by JAucamp; 01-20-2015 at 09:43 AM.

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Text in vertical row to be sorted horizontally in groups

    I'm not following. It seems like the result, according to your instructions, would look like this:

    P B P B P B P
    P P P
    P
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

  3. #3
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Text in vertical row to be sorted horizontally in groups

    Oh, I see what happened -- the forum editor eliminates consecutive spaces, so when I submitted my post, the result ended up looking like yours.

  4. #4
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Text in vertical row to be sorted horizontally in groups

    Give this a try:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-19-2015
    Location
    South Africa
    MS-Off Ver
    MS 2010
    Posts
    3

    Re: Text in vertical row to be sorted horizontally in groups

    Thank you natefarm, it is perfect, you make it look so easy.

  6. #6
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Text in vertical row to be sorted horizontally in groups

    Code could also be added to automatically loop through all those sheets and run it on them.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. tranpose vertical data horizontally
    By southstar99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2009, 01:45 PM
  2. Mirroring vertical data horizontally.
    By DawnGL in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-20-2008, 11:04 AM
  3. Copying vertical references horizontally
    By Christina in forum Excel General
    Replies: 2
    Last Post: 05-08-2006, 11:30 AM
  4. [SOLVED] Can you extend a formula horizontally while the data is vertical
    By Shannon in forum Excel General
    Replies: 3
    Last Post: 12-19-2005, 08:50 PM
  5. [SOLVED] how to align vertical cells horizontally
    By Trice in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-12-2005, 01:05 PM

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