{"id":3633,"date":"2021-10-04T00:14:45","date_gmt":"2021-10-04T07:14:45","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=3633"},"modified":"2021-10-04T00:14:49","modified_gmt":"2021-10-04T07:14:49","slug":"understand-excel-file-types-xlsx-xlsm-xlsb-and-more","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=3633","title":{"rendered":"Understand Excel File Types, XLSX, XLSM, XLSB, and More."},"content":{"rendered":"\n<p>When you save an Excel workbook for the first time or use the \u201cSave As\u201d function, you are asked for a folder, file name as well as the file type. By default, Excel suggests the XLSX file type (unless your file doesn\u2019t have VBA macros). The window looks similar to the screenshot on the right side.<\/p>\n\n\n\n<p>So which file type are you going to use? The answer \u2013 like so often: It depends. Before we conclude in a decision tree, we we take a look at the most important file extensions in Excel with their advantages and disadvantages first.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">XLSX<\/h3>\n\n\n\n<p>The \u201cdefault\u201d file extension is XLSX. The large majority of Excel workbooks&nbsp;uses this format these days. Microsoft says in the Excel help text about the XLSX file format:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>The default XML-based file format for Excel 2007-2013. Cannot store Microsoft Visual Basic for Applications (VBA) macro code [\u2026].<\/p><\/blockquote>\n\n\n\n<p>Most of the time you use the XLSX format: It\u2019s save (can\u2019t store malicious code), has the maximum number of rows and columns and is best known.&nbsp;XLSX is&nbsp;available since Excel 2007 and replaces the old XLS file type. It uses the open XML standard so which is documented well.<\/p>\n\n\n\n<p>Knowing these quick facts, there are the following advantages and disadvantages for the XLSX file format:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Advantages<\/th><th>Disadvantages<\/th><\/tr><\/thead><tbody><tr><td>The default file format and because of that the best known and widest spread file type.Can use up to 2^20 (1048576) rows and 2^14 (=16384) columns.Uses the open file format and is in general accessible with other applications.Secure because it can\u2019t save VBA macros.Can use and save all the functions available in Excel.<\/td><td>A little bit contradicting: But not being able to include VBA macros can be an&nbsp;advantage and disadvantage at the same time.Needs more disk space than other file formats (e.g. XLSB).Can\u2019t be opened with Excel versions before 2003 (e.g. 2003, at least without any further conversion of Excel extension\/ add-in).<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">XLS<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/professor-excel.com\/wp-content\/uploads\/2017\/02\/170211_Advice_XLS-450x252.png\" alt=\"advice, xls, file type, extension, excel\" class=\"wp-image-4273\"\/><\/figure>\n\n\n\n<p>The XLS file type has been the default Excel file extension and format before Excel 2007. In Excel 2007, XLSX replaced the XLS format. Therefore, XLS is kind of outdated right now. In the daily life you won\u2019t find it often any more. But some data base tools still export data as XLS files.<\/p>\n\n\n\n<p>The XLS file type has some disadvantages towards the newer file types XLSX or XLSM: It\u2019s rather unsafe as it can contain VBA macros with malicious code. Also, it needs more disk space than the other file types and at the same time has less rows and columns.<\/p>\n\n\n\n<p>On the other side the only advantage: You can easily open XLS files with older versions of Excel.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Advantages<\/th><th>Disadvantages<\/th><\/tr><\/thead><tbody><tr><td>Can be opened with Excel versions before 2007 (e.g. 2003).<\/td><td>Unsafe&nbsp;as it can contain VBA macros.Needs more disk space than most of the other file formats (e.g. XLSX, XLSB).Can\u2019t use all newer Excel functions, e.g. formulas or functionality (you will be warned when saving an XLS file though).Can only use up to 65,536 (2^16) rows and 256 (2^8) rows.Outdated\u2026<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">XLSM<\/h3>\n\n\n\n<p>If you include VBA macros in your XLSX file, you will be asked to change the file extension to XLSM. Only that way you can save your macro within the Excel file (there are other file types possible, e.g. XLSB \u2013 but you can\u2019t use XLSX for VBA macros). Therefore, it has most of the advantages and disadvantages of the XLSX file type. Positive: You can immediately identify Excel files with VBA macros.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Advantages<\/th><th>Disadvantages<\/th><\/tr><\/thead><tbody><tr><td>The default&nbsp;Excel file type for workbooks with VBA macros.Can use up to 2^20 (1048576) rows and 2^14 (=16384) columns.Uses the open file format and is therefore accessible with other applications.Can use and save all the functions available in Excel.Uses the open XML standard.<\/td><td>Unsafe: Can contain malicious code within the VBA part.Needs more disk space than other file formats (e.g. XLSB).Can\u2019t be opened with Excel versions before 2003 (e.g. 2003, at least without any further conversion of Excel extension\/ add-in).<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">XLSB<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/professor-excel.com\/wp-content\/uploads\/2017\/02\/170211_Advice_XLSB-450x252.png\" alt=\"advice, xlsb, excel, file, type\" class=\"wp-image-4271\"\/><\/figure>\n\n\n\n<p>Many people don\u2019t know that there is an actual alternative to the XLSX and XLSM file type: The XLSB file extension. XLSB files store the data a little bit different than the XLSX or XLSM file types: They don\u2019t use the XLM file structure. Instead, XLSB files try to save disk space because the data is stored in the binary structure. The main difference: Binary files are computer- but not human-readable. For more information on binary files in general, please refer to&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Binary_file\" target=\"_blank\" rel=\"noreferrer noopener\">this Wikipedia entry<\/a>.<\/p>\n\n\n\n<p>The main disadvantage: Binary Excel files can contain VBA macros. So unless you don\u2019t know the origin of a file, please consider well before opening them. Besides that: All the other disadvantages seem minor.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Advantages<\/th><th>Disadvantages<\/th><\/tr><\/thead><tbody><tr><td>Smaller file size.Faster opening and closing of files.Formulas with more than 8192 characters allowed.Can use and save all the functions available in Excel.<\/td><td>Security: Files can contain VBA code whereas XLSX files can\u2019t.You can\u2019t change the Excel ribbon.Some third party tools (e.g. OpenOffice) might not be able to open your file.You can\u2019t open your files with Excel 2003 or earlier (which nowadays should not be a problem any more\u2026).Not very well known. So people might get confused receiving XLSB files from you.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">CSV<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/professor-excel.com\/wp-content\/uploads\/2017\/02\/170211_Advice_CSV-450x252.png\" alt=\"csv, advice, excel, export\" class=\"wp-image-4275\"\/><\/figure>\n\n\n\n<p>CSV stands for comma separated values. These files are basically plain text \u2013 so there are no formulas or formatting. CSV is often used for data exchange. Excel provides the functionality to import or even directly open CSV files.<\/p>\n\n\n\n<p>The basic application for CSV files: Import or export data. Data base programs often export data as CSV files. Also if you want to transport Excel data into a database program, often the CSV file type works.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Advantages<\/th><th>Disadvantages<\/th><\/tr><\/thead><tbody><tr><td>Smaller file size.Faster opening and closing of files.Unlimited rows and columns.No code or macros possible and therefore save to open.<\/td><td>CSV files are basically text documents and therefore can\u2019t contain formulas or formatting, pure data.No more than one \u201cworksheet\u201d.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">ODS<\/h3>\n\n\n\n<p>ODS stands for Open Document Spreadsheet. The file type is designed to work on both Excel and other applications, e.g. LibreOffice. From the Excel point of view, ODS doesn\u2019t support all the features. Text and data is usually saved well though. But formatting and many other features (for example charts, tables, conditional formatting) might run into problems.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Advantages<\/th><th>Disadvantages<\/th><\/tr><\/thead><tbody><tr><td>Can be opened in Excel and LibreOffice.<\/td><td>You might lose formatting or features which are not supported. For a detailed lists of the features supported, please refer to&nbsp;<a href=\"https:\/\/support.office.com\/en-us\/article\/Differences-between-the-OpenDocument-Spreadsheet-ods-format-and-the-Excel-xlsx-format-4311c54f-ee86-4197-bd2d-5ecc35deb138\" target=\"_blank\" rel=\"noreferrer noopener\">this website<\/a>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">XLSX (Strict)<\/h3>\n\n\n\n<p>Besides the regular XLSX format, Excel offers to save your Excel workbook as \u201cStrict Open XML Spreadsheet\u201d. So what is the difference between those two? Basically, the two file types use the same structure.&nbsp;But:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>The Strict variant has less support for backwards compatibility when converting documents from older formats.<\/p><\/blockquote>\n\n\n\n<p>Furthermore:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>The Strict variant of XLSX disallows a variety of elements and attributes that are permitted in the more common Transitional variant [\u2026]<\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Advantages<\/th><th>Disadvantages<\/th><\/tr><\/thead><tbody><tr><td>Same as XLSX.Additionally: Opening in other applications than Excel might work better.<\/td><td>Some backward compatibility problems might occur.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">PDF<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/professor-excel.com\/wp-content\/uploads\/2017\/02\/170211_Advice_PDF-450x252.png\" alt=\"pdf, advice\" class=\"wp-image-4279\"\/><\/figure>\n\n\n\n<p>As you\u2019ve probably heard of PDF files, we won\u2019t go much into detail here. PDF stands for portable document format and has the reputation of not easily being manipulated. Also, it\u2019s quite save to say that how a PDF file looks on your computer, it will most probably look like this on most other computers.<\/p>\n\n\n\n<p>And that\u2019s it for the advantages. I recommend using it when you present your final results in the following cases:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The recipient of your file should not edit it any more.<\/li><li>Formatting should be exactly preserved.<\/li><li>There is no database included, just the summarized results.<\/li><\/ul>\n\n\n\n<p>That could be the case if somebody wants to check your results on an iPad or a similar device. But: In many cases it would be professional (and nice) to also send at least parts of your Excel file. That way, your recipient could at least take a look at the calculation process.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Advantages<\/th><th>Disadvantages<\/th><\/tr><\/thead><tbody><tr><td>Static, therefore contents can not (easily) be manipulated.The document always look the same.No macros.<\/td><td>Formulas etc. will be lost.Difficult (and troublesome) to further edit the file.(Depending on the contents) large file size.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">XLAM<\/h3>\n\n\n\n<p>XLAM is the file extension for Excel add-ins. They can contain VBA macros, worksheets as well as forms, images and individual ribbons. If you double click on such file, it will open in Excel and you can use the funcationality of the add-in. But next time you open Excel again, it won\u2019t be available any longer. You rather have to enable the add-in within the options (File \u2013&gt; Options \u2013&gt; Add-Ins).<\/p>\n\n\n\n<p>As the XLAM file type is not really an alternative for all the other file extensions above, we skip the advantages and disadvantages.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Comparison of file types<\/h2>\n\n\n\n<p>So if we put all the advantages, disadvantages and facts from above together, we come to the following comparison:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/professor-excel.com\/wp-content\/uploads\/2017\/02\/Comparison_of_file_types.png\" alt=\"\" class=\"wp-image-4297\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Which file type should you use?<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Decision Tree<\/h3>\n\n\n\n<p>In order to define the best file type for your Excel workbook, please follow the decision tree.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/professor-excel.com\/wp-content\/uploads\/2017\/02\/170209_Decision_Tree_reduced.png\" alt=\"\" class=\"wp-image-4295\"\/><figcaption>Follow the Professor Excel decision tree for finding the best file type for your Excel workbook.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>The first question: Do you just want to display your results only? Then you could also consider the PDF format. But if the recipient of your work wants to edit or follow up your calculations, you shouldn\u2019t use PDF.<\/li><li>Does your file contain VBA macros?<ul><li>If yes, choose XLSB if you have a large file. Choose XLSM for a file size smaller than app. 10 MB.<\/li><li>If no and you got a large file (larger than app. 10 MB), also choose XLSB.<\/li><li>If no (you don\u2019t have macros) and your file small, follow the tree on the right hand side.<\/li><\/ul><\/li><li>The lower two levels of the decision tree are just about compatibility: If you want to open and edit your workbook with another software, choose the strict XLSX or ODF format.<\/li><li>If you want to make sure that you can open it with versions of Excel 2003 or earlier, go for XLS.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Summary<\/h3>\n\n\n\n<p>In conclusion, you can distill a quite short table (if you don\u2019t need to consider old file types and other applications as LibreOffice). You just have to answer two questions: Do you need VBA macros and do you work with a large amount of data?<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/professor-excel.com\/wp-content\/uploads\/2017\/02\/Summary.png\" alt=\"summary, file type, xlsx, xlsm, xlsb\" class=\"wp-image-4296\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>When you save an Excel workbook for the first time or use the \u201cSave As\u201d function, you are asked for a folder, file name as well as the file type. By default, Excel suggests the XLSX file type (unless your file doesn\u2019t have VBA macros). The window looks similar to the screenshot on the right <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=3633\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,18],"tags":[887,890,888,889],"class_list":["post-3633","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-microsoft-office","tag-excel-file-types","tag-xlsb","tag-xlsm","tag-xlsx"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3633"}],"version-history":[{"count":2,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3633\/revisions"}],"predecessor-version":[{"id":3642,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3633\/revisions\/3642"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}