Forum Discussion

bsilverstone's avatar
bsilverstone
Copper Contributor
Oct 18, 2020

More than 1,048,576 rows

I have been sent a 4.4GB Excel .CSV file. It has 16columns, but several million rows. When I try to open it, it only opens the first 1,048,576 rows. Is there a way to open the whole file? I don't mind it opening across multiple worksheets, but 

8 Replies

  • Shubham2022's avatar
    Shubham2022
    Copper Contributor
    Split the CSV file and import it into separate worksheets or combine queries using Power Query to manage large datasets in Excel, but be cautious of potential performance issues.
    Consider using databases or specialized tools for handling big data if needed.
  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    bsilverstone 

    To my knowledge - no. You may split csv on several files and open them one by one. Or import into the Excel using legacy wizard, it has an option from which row to start importing. Something like this.

      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        bsilverstone 

        Author saved not an Excel file, author saved "comma separated values" file which could be opened in Excel and on most systems Excel is set as default application to open such kind of files.

         

        Using of csv files is very usual for the exchanging of information between different information systems. If you in your online bank will ask for the transaction in some period, most probably csv will be within the options how to provide such information (on screen, csv file, pdf file, etc). Believe me, such csv files are generating not by Excel.

         

        You may generate large csv file yourself manually - save about million of rows from excel as csv, open such csv in Notepad, copy and add or add manually another half millions of rows or so, close the file. Now try to open in Excel - it will show only first million. Try to open in Notepad++ , it will show entire file.

      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        Detlef_Lewin 

        Yes, exactly, that could add some logic for splitting rather than simple batch file which splits based on number of rows.

         

        And perhaps it's not necessary to return data back to Excel sheet, load to data model and work with it aggregating data.

Resources