+ Reply to Thread
Results 1 to 24 of 24

Too many rows

  1. #1
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Too many rows

    hey guys,

    I have a very huge file, actually it is a notepad, but wont even open on notepad, it is more than 500MB, the only way I know to open it is notepad++, it does open, I want the same info on excel, the thing is the lines are more than what excel can handle, is there a way to import it into excel, or how to have it multiple sheets? I tried importing via get data, notepad, into pivot table, it did work but it said the file has more rows than excel, any idea how to get the data into excel?

    Thank you a lot.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Too many rows

    Cut and paste sections of the file in Notepad++ and paste into smaller Notepad ++ files or directly into separate worksheets in Excel.

    Then you can massage the subset files/sheets and potentially merge them together.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    try Data / From Text/CSV into Power Query then you can manage data as you wish

  4. #4
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    Thank you all

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    You are welcome

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Too many rows

    You're welcome.



    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    hi again, so I was able to get my data into power query, and I did something, and it made the output on excel.... the results I got were amazing. My data is huge, so somehow, I was able to have more than 160 excel sheets. I am not sure how I load it from powerquery to excel that gave me this amazing result. I have no idea how to do it again.

    any help please? I am asking about something I already did. I have a huge data file, was able to load it into power query, but how to get it back into excel into many sheets? I did it last time, so it can be done. when I load now I only get one sheet with max limit.

    thx again

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    Quote Originally Posted by IknowNOt View Post
    My data is huge
    what does that mean?

    with XL sheet you are limited to 1,048,576 rows by 16,384 columns
    with Power Query you are limited by RAM

  9. #9
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    right, like I said, already tried it and it worked, just forgot how. my file is around 3gb. ram I have around 32gb i712gh gen

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    if your csv files have the same structure try FROM FOLDER then TRANSFORM to a single table filter out to get only the data you need
    it doesn't make sense to me to load ca. 160 sheets with similar data

    edit:
    each new table try to Load not Load to. It should load each table to the new sheet, if not try Load to and choose New Sheet
    Last edited by sandy666; 07-04-2023 at 06:07 AM.

  11. #11
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    let me add this, maybe you can help me more..I have TXT file around 3gb. I was able to load it into the powerquery. it has 12 millions rows and 2 columns.
    how to load it into many sheets?

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    CSV is a text file with delimiter (Comma Separated Values) so it doesn't make a big difference with txt file with delimiter
    so, load all txt file into power query then load each table to the sheet
    sorry for the question but why do you do that when you can load any txt file directly into the spreadsheet?

  13. #13
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    well the txt file 3 gb i cant load it into excel! it has 12 millions rows

  14. #14
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    how can I load each table? how to divide the file within power querry? can this be done? let us say I have 3 million row can I have each sheet with 1 million rows?

  15. #15
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    your 3GB txt file is a SINGLE file?
    so load it to PQ the split by one million rows to few table then load to the sheets
    or use
    keeprows.png
    use first option then second or second option each time

    I forgot to say: remove duplicates first
    Last edited by sandy666; 07-04-2023 at 06:36 AM.

  16. #16
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    yes !! thank you a lot!!!

  17. #17
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    You are welcome

  18. #18
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    After load your txt file to PQ you can use Table.Split(Source, 1000000) then on each table in the list right click and create new query (if you know what are you doing )

  19. #19
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    That is even better!!

  20. #20
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    less work only

    usage is the same, the advantage is that you have all the tables at once

    out of curiosity: what kind of data you have in these two columns?
    Last edited by sandy666; 07-04-2023 at 08:42 AM.

  21. #21
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    barcode of item and 2nd column code of the same item.

  22. #22
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    maybe try to group by column (choose one) will be less rows
    hard to say something without knowing what is there exist

  23. #23
    Registered User
    Join Date
    08-20-2022
    Location
    China Town, China
    MS-Off Ver
    2021
    Posts
    31

    Re: Too many rows

    the data is 3gb! that is why I can't upload here... I am sure if you saw the data, it would be easier for you to manipulate and tell me how to go around it. But the solution that you gave is perfect as well!

  24. #24
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Too many rows

    I'm glad it works for you
    good luck

+ 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] List consecutive hidden rows as range of rows vs single rows, in a listbox
    By guyglk in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-04-2020, 06:10 PM
  2. Replies: 6
    Last Post: 06-07-2014, 10:07 AM
  3. Merge Duplicate Rows unique values into single rows for an infinite amount of columns/rows
    By aimeecrystalaid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-21-2013, 08:43 PM
  4. [SOLVED] Delete blank rows between data rows, shift rows up, then repeat
    By excelactuary in forum Excel General
    Replies: 2
    Last Post: 03-11-2013, 11:53 AM
  5. Replies: 6
    Last Post: 03-04-2013, 12:03 AM
  6. Replies: 5
    Last Post: 11-12-2012, 08:38 PM
  7. Replies: 6
    Last Post: 08-18-2012, 05:00 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