+ Reply to Thread
Results 1 to 17 of 17

3000 column of data, which will transform into rows

  1. #1
    Registered User
    Join Date
    06-22-2020
    Location
    singapore
    MS-Off Ver
    2019
    Posts
    20

    3000 column of data, which will transform into rows

    Hi,

    i have this heart burning issue where i'm trying to have my data into a single row.
    Attached is the spreadsheet where i've separated into 2 sheets, (before & after)

    Cheers.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-23-2020
    Location
    Spain
    MS-Off Ver
    2007
    Posts
    22

    Re: 3000 column of data, which will transform into rows

    What data should be copied?

    In your sample spreadsheet, you seem to skip some of the data but not clear what should go in and what should be skipped.

    Also in what order? by columns, or by rows, another order?

    Can you clarify?

  3. #3
    Registered User
    Join Date
    06-22-2020
    Location
    singapore
    MS-Off Ver
    2019
    Posts
    20

    Re: 3000 column of data, which will transform into rows

    Hi Sai80,

    Thanks for getting back. Yes i can clarify.

    I've attached a new document for clarifications.

    Requirements:
    Cell A1:A11 is duplicate, therefore i would only need A1 in the "after" sheet.
    Cell B1:A11 is different data, therefore it would like to have it transposed into cell b2 in "after" sheet without the empty cells.
    Column C to H should also be transposed into column Q to T in "after" sheet


    i would like this to happen for the next 3000 data and so on.

    Please let me know if this is feasible for you!

    Cheers
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-22-2020
    Location
    singapore
    MS-Off Ver
    2019
    Posts
    20

    Re: 3000 column of data, which will transform into rows

    Hi,

    would anyone be able to help me ?

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

    Re: 3000 column of data, which will transform into rows

    Try
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    06-22-2020
    Location
    singapore
    MS-Off Ver
    2019
    Posts
    20

    Re: 3000 column of data, which will transform into rows

    Hi Jindon,

    Thanks for the prompt replies.

    The first data is coming out right in "after" sheets. However the data from A12:H22 is not coming out in the "after" sheets.
    Would your codes be able to "notice" the different data by using column H as i have 3000 data.

    Cheers,
    Glen

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

    Re: 3000 column of data, which will transform into rows

    If the first one is correct and the 2nd one is not, I don't understand what you are trying to do.

    If you show me the EXACT result for the 2nd one, it may help.

  8. #8
    Registered User
    Join Date
    06-22-2020
    Location
    singapore
    MS-Off Ver
    2019
    Posts
    20

    Re: 3000 column of data, which will transform into rows

    Sure,

    Attached
    Attached Files Attached Files

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

    Re: 3000 column of data, which will transform into rows

    Still not clear to me though.
    If this is not working as you expect, you need to upload the more realistic data and the results.
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    06-22-2020
    Location
    singapore
    MS-Off Ver
    2019
    Posts
    20

    Re: 3000 column of data, which will transform into rows

    Hi Jindon,

    Thanks for the prompt replies, Really appreciate it.

    in the after sheets, The data K1:P2 is correct!

    However, for G1:J2 is not.

    note that Cell A1 & A2 in 'after' sheet is from A1 & A12 in before sheet.

    I've also attached an updated one.

    Cheers,
    Glen
    Attached Files Attached Files

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

    Re: 3000 column of data, which will transform into rows

    Try change to
    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    06-22-2020
    Location
    singapore
    MS-Off Ver
    2019
    Posts
    20

    Re: 3000 column of data, which will transform into rows

    Hey Jindon,

    Still not what i wanted.

    I've revamped and made a more understandable worksheet.Hope it helps

    P/S: Also take note that in "before" sheet, the data of Column E sometimes has is dynamic.

    Attached.

    Cheers,
    Glen
    Attached Files Attached Files

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

    Re: 3000 column of data, which will transform into rows

    You initially said,
    Quote Originally Posted by gcycglen View Post

    Requirements:
    Cell A1:A11 is duplicate, therefore i would only need A1 in the "after" sheet.
    Cell B1:A11 is different data, therefore it would like to have it transposed into cell b2 in "after" sheet without the empty cells.
    Column C to H should also be transposed into column Q to T in "after" sheet
    Now
    Quote Originally Posted by gcycglen View Post
    P/S: Also take note that in "before" sheet, the data of Column E sometimes has is dynamic.
    How do you expect someone to understand above without it???

    I will not write a code under my guess anymore, so explain what you are really trying to in WORDS, step by step.
    If you don't want to do it, just forget about my codes.

  14. #14
    Registered User
    Join Date
    06-22-2020
    Location
    singapore
    MS-Off Ver
    2019
    Posts
    20

    Re: 3000 column of data, which will transform into rows

    Sorry for the confusion.

    i'm not very good at words, please pardon me.

    I'll try my very best to explain, Here it goes:


    First data in before sheet is from A1:H12, Followed by 2nd: A12:H12, and 3rd: A23:H23, 4th: A36:H36 and so on.
    The columns of those data are not the same for each data. Therefore, using Column C as a references to differentiate different data.

    I do want it to be in a single column in before sheet, where we start with A1, followed by transposing (B1:B11), C1,D1,E1, (F1:F11), (G1:G11) and H1.
    the 2nd data should capture the differences by using C1 as references and doing the same thing as mentioned above.

    Please let me know if you understand this.

    Cheers,
    Glen

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

    Re: 3000 column of data, which will transform into rows

    I'm not good at English as I speak Japanese.
    But when you ask this kind of question, you need to give us as many information as you can, so that we understand what you are really trying to do.
    That is your responsibility, because YOU are the only one who knows it.
    If you ask like this in business, you will be charged double or triple of the initial estimated cost sometimes.

    Now your "before" sheet has different column references, so this only works for the latest workbook.
    Please Login or Register  to view this content.

  16. #16
    Registered User
    Join Date
    06-22-2020
    Location
    singapore
    MS-Off Ver
    2019
    Posts
    20

    Re: 3000 column of data, which will transform into rows

    Hi jindon,

    The thanks for the code.

    The first lines work, however when it reaches 2nd data, and error pops up and prompts: "Run-time Error 13, Type mismatch.

    did i do something wrong ?

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

    Re: 3000 column of data, which will transform into rows

    Do you want to fill col.A like you had or change the code to work on the latest workbook that has only one unique value?

    I'm getting tired of this...

+ 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] Transform random entries in multiple rows to single column
    By Venkatesh.S in forum Excel General
    Replies: 5
    Last Post: 01-28-2015, 09:37 AM
  2. 3000+ Rows of Data - Need to Summarise Customer Products & £ Spent
    By Milo_C in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2013, 11:09 AM
  3. [SOLVED] Help needed with recorded macro - want to repeat it down a column ~3000 rows
    By Mr_Natural in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-29-2013, 07:48 AM
  4. Need Help: Transform Column to Row Data
    By inal30 in forum Excel General
    Replies: 2
    Last Post: 08-29-2013, 09:07 AM
  5. Transform data in column to rows
    By wisconsin262 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-16-2008, 06:38 PM
  6. Vlookup on 3000+ Rows
    By RecRic in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-26-2007, 03:55 PM
  7. Replies: 5
    Last Post: 10-11-2005, 02:22 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