+ Reply to Thread
Results 1 to 12 of 12

Excel Rows Mixed up in wrong Columns, need to fix

  1. #1
    Registered User
    Join Date
    03-06-2016
    Location
    CityScape, USA
    MS-Off Ver
    365
    Posts
    8

    Excel Rows Mixed up in wrong Columns, need to fix

    I am very new to Excel so please excuse the limited knowledge of asking this question within this community.

    In Excel spreadsheet I have Twenty plus Columns, each with Headers, Example, Name, Email, Category, Phone, Address. Within each row down the column includes the marker and following details format

    A. Row 1A: Email: Row 2A mailto: email: [email protected]

    B. Row 1B Address: Row 2B address: 1234 Find Street.

    C. Row 1C Phone: Row 2C phone: 12345

    Etc

    Now the problem, some of the rows are mixed up. Some of the data for Column C is showing within Column A & B. Some of the data for column A is showing up in column B & C.

    What would be the best method to fix this issue, I need any data related to email in the correct column A even its on other columns.

    I have tried multiple attempts but when dealing with twenty plus columns, I can't figure out the best method to fix this problem.

    Another bit of info. The data within the rows, 1, 2, 3, are need to stay within their row because they are all associated with each other.

    Example, Row 1. Email, Phone, Address, etc.

    I look forward to your reply and thank you in advance for your feedback.

    Please try to keep the answers very detailed (step by step) because of my limited excel knowledge.
    Last edited by excelboxnovice; 03-09-2016 at 12:58 AM. Reason: updating title

  2. #2
    Registered User
    Join Date
    04-09-2012
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Excel Column Sorting & Moving Data under correct Rows, HOW??

    Please attach the screenshot of the shhet.

  3. #3
    Registered User
    Join Date
    03-06-2016
    Location
    CityScape, USA
    MS-Off Ver
    365
    Posts
    8

    Re: Excel Column Sorting & Moving Data under correct Rows, HOW??

    Hello,

    Here's the screenshot, https://gyazo.com/ff8cb32b8727e799c6315b7189fc0f34

    I am including the actual sheet for review (view attachment). Basically, I need to move the rows under the correct column without changing their order..

    1.
    2.
    3.
    etc.

    I would really appreciate any feedback as how to fix this issue.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Excel Rows Mixed up in wrong Columns, need to fix

    @ steve.smith, pictures are pretty much impossible to edit, and no-one wants to re-type the data
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    For those reasons, we prefer to ask for a small desensitized example of the data the OP is working with and a manual mockup of the expected results.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Excel Column Sorting & Moving Data under correct Rows, HOW??

    excelboxnovice looking at your sample, that is indeed a mess

    Where is this coming from and how do you get it?

  6. #6
    Registered User
    Join Date
    03-06-2016
    Location
    CityScape, USA
    MS-Off Ver
    365
    Posts
    8

    Re: Excel Rows Mixed up in wrong Columns, need to fix

    FDibbins - I don't have the specifics of where the data is coming from. Basically helping a friend attempt to analyze member data from a non-profit (survey based data of each membership). I was hoping to upload the data into some type of open source analyze system but right now I would simply settle for fixing the rows under the correct columns.

    I am surely not skilled with Excel but I would think with all its capabilities there would be a way to fix this issue.

    Any assistance would be greatly appreciate and shared with the community.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Excel Rows Mixed up in wrong Columns, need to fix

    Mt reason for asking where it is coming from, is that perhaps there is a better way to get it, so it is not so messed up.

    "Fixing" this with formulas is not going to be easy

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Excel Rows Mixed up in wrong Columns, need to fix

    I have asked for more help on this

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,705

    Re: Excel Rows Mixed up in wrong Columns, need to fix

    Add a new sheet and put the headings in row 1 without the "Feature: " part, and then you can use this formula in A2:

    =IF(COUNTIF(Sheet1!$A2:$J2,A$1&";*")=0,"",IFERROR(SUBSTITUTE(PROPER(INDEX(Sheet1!$A2:$J2,SUMPRODUCT(--(ISNUMBER(SEARCH(A$1&";",Sheet1!$A2:$J2))),COLUMN(Sheet1!$A$1:$J$1)))),A$1&";",""),""))

    This can be copied across into B2:J2, although you will need to change the semicolon (three times) to a colon in column I, as below (changes shown in red):

    =IF(COUNTIF(Sheet1!$A2:$J2,I$1&":*")=0,"",IFERROR(SUBSTITUTE(PROPER(INDEX(Sheet1!$A2:$J2,SUMPRODUCT(--(ISNUMBER(SEARCH(I$1&":",Sheet1!$A2:$J2))),COLUMN(Sheet1!$A$1:$J$1)))),I$1&":",""),""))

    because of the nature of your raw data.

    Then you can just copy these formulae down as far as you need to - the attached file demonstrates this.

    Hope this helps.

    Pete
    Attached Files Attached Files

  10. #10
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Excel Column Sorting & Moving Data under correct Rows, HOW??

    Hi excelboxnovice

    Attached is a VBA solution. CTRL + x will fire the Code.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  11. #11
    Registered User
    Join Date
    03-06-2016
    Location
    CityScape, USA
    MS-Off Ver
    365
    Posts
    8

    Re: Excel Rows Mixed up in wrong Columns, need to fix

    Thanks for everyone advising, I will attempt each of the suggestions today and let you know the results soon. Any other feedback would be helpful with these two other postings..

    http://www.excelforum.com/excel-gene...cells-how.html

    http://www.excelforum.com/excel-gene...h-row-how.html

  12. #12
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,517

    Re: Excel Rows Mixed up in wrong Columns, need to fix

    Try
    Please Login or Register  to view this content.

+ 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. [SOLVED] Moving alternate rows of data to column
    By Corsa88 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-12-2015, 08:28 AM
  2. Moving data into excel from text file into correct format
    By wwballar42 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2014, 01:36 PM
  3. Moving data from a column to rows based on another calls data
    By Emmylou in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-13-2014, 07:42 AM
  4. Replies: 10
    Last Post: 09-04-2013, 08:34 PM
  5. Data not moving to correct row/column
    By JBlunt918 in forum Excel General
    Replies: 3
    Last Post: 07-10-2013, 02:38 PM
  6. Replies: 5
    Last Post: 02-07-2012, 04:55 PM
  7. moving column/cell data to rows/cells fails
    By Richard RE in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-20-2006, 01:10 AM

Tags for this Thread

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