+ Reply to Thread
Results 1 to 10 of 10

Move information across columns to the First column - please help

  1. #1
    Registered User
    Join Date
    12-03-2013
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    82

    Smile Move information across columns to the First column - please help

    Hi Team,

    trust you well,

    please help with the following:

    I am combining a query for mysql

    I am building the query around 34174 records using excel and then copy and paste into the mysql

    for each column and row, i have added a value. which goes across from column A to column O
    in step form of rows.

    e.g
    the screen shoot attached

    and the excel spreadsheet ("from this" tab which is the original, "to this" tab for which i need a quick fix to move the information across to the first column )

    FROM:
    (
    township=

    ABBOTSFORD


    and

    postalcode=

    2037

    )

    or


    (
    township=

    ABBOTSFORD


    and

    postalcode=

    2192

    )

    or

    TO:
    (
    township=

    ABBOTSFORD


    and

    postalcode=

    2037

    )

    or


    (
    township=

    ABBOTSFORD


    and

    postalcode=

    2192

    )

    or

    I will then use transpose to copy it to the first row like so:

    ( township= ABBOTSFORD and postalcode= 2037 ) or ( township= ABBOTSFORD and postalcode= 2192 ) or


    PLEASE HELP
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Move information across columns to the First column - please help

    Select all the data or (press Ctrl+A+A) >
    Then PRESS Ctrl+G OR F5 > Special > Blank > OK > Ctrl- (Press Ctrl key and "-" key)>ShiftCells Left>OK
    Try the above process
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    12-03-2013
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    82

    Re: Move information across columns to the First column - please help

    it wont work on mac platform

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,983

    Re: Move information across columns to the First column - please help

    In A1

    =IFERROR(LOOKUP(2,1/('from this'!A1:ZZ1<>""),'from this'!A1:ZZ1),"")

    copy down

  5. #5
    Registered User
    Join Date
    12-03-2013
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    82

    Re: Move information across columns to the First column - please help

    ok, Thank you

    Then the other question is,

    I need to combine row 1, column A to GHG (5000 Columns to be exact, limited to 16,384 columns ) into one column
    the sample i have in each column is as follows for which i need to copy and paste it into a mysql query:
    Attached Images Attached Images

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,983

    Re: Move information across columns to the First column - please help

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  7. #7
    Registered User
    Join Date
    12-03-2013
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    82

    Re: Move information across columns to the First column - please help

    Ok, i have attached the worksheet
    i need to combine column A up to column GJG into one column, as i need to copy and paste the query on mysql. I have included all spaces and specials characters in require. just need to be able the merge them together.

    Thank you in advance

    Please see attached
    Attached Files Attached Files
    Last edited by vivek.budhram; 12-01-2017 at 10:23 AM.

  8. #8
    Registered User
    Join Date
    12-03-2013
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    82

    Re: Move information across columns to the First column - please help

    Hi there

    I have attached a worksheet and have an example of the output i require.

    CONCATENATE wont work as there are too many instances.

    Thank you in advance

  9. #9
    Registered User
    Join Date
    12-03-2013
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    82

    Re: Move information across columns to the First column - please help

    Let me rephrase, multiple cells in the first row into one cell in the first row (horizontally)

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,983

    Re: Move information across columns to the First column - please help

    You are well in excess of 32767 characters in a cell.

+ 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] Formula to move specific information from columns and rows to a single row.
    By Robert_Buhs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-30-2015, 07:47 AM
  2. Move Information Down a column
    By Rabastan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-08-2014, 12:34 AM
  3. [SOLVED] Convert column B as multiple column titles and move data in column C into new columns?
    By princesscathryn in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 06-30-2014, 07:31 PM
  4. [SOLVED] Macro with Formula to move specific information to new column
    By redzan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-31-2014, 03:29 PM
  5. Replies: 7
    Last Post: 03-20-2014, 10:10 AM
  6. [SOLVED] move columns of information from pdf to excel
    By maryren in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2013, 02:46 PM
  7. Formula to move certain information in a column to a table that meets criteria?
    By MikeTruth in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2012, 04:53 AM

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