Misplaced Pages

Microsoft Excel: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 15:32, 13 May 2023 view sourceCyfal (talk | contribs)Extended confirmed users, Pending changes reviewers64,497 editsm spelling (WP:Typo Team)← Previous edit Latest revision as of 16:33, 11 December 2024 view source Literally Satan (talk | contribs)Extended confirmed users1,465 edits removed confusing and unnecessary explanation (mentioned this deletion in an earlier edit summary but forgot to actually delete it!) 
(59 intermediate revisions by 34 users not shown)
Line 1: Line 1:
{{Short description|Spreadsheet editor, part of Microsoft Office}} {{Short description|Spreadsheet editor, part of Microsoft 365}}
{{Redirect|Excel}} {{Redirect|Excel}}
{{pp-semi-indef|small=yes}} {{pp-semi-indef|small=yes}}
{{Use mdy dates|date=September 2024}}

{{Use mdy dates|date=April 2017}}
{{Infobox software {{Infobox software
| name = Microsoft Excel | name = Microsoft Excel
Line 10: Line 9:
| caption = A simple ] being created in Excel, running on ] | caption = A simple ] being created in Excel, running on ]
| developer = ] | developer = ]
| released = {{start date and age|1987|11|19}} | released = {{start date and age|1985|9|30}}
| ver layout = stacked
| latest release version = 2103 (16.0.13901.20400)
| latest release version = {{Latest stable software release/Microsoft Office}}
| latest release date = {{Start date and age|2021|04|13}}<ref>{{cite web|website=]|url=https://docs.microsoft.com/en-us/officeupdates/update-history-office-2019|title=Update history for Microsoft Office 2019|access-date=2021-04-13}}</ref>
| latest preview version =
| latest preview date =
| operating system = ] | operating system = ]
| programming language = ] (back-end)<ref name="C++ in MS Office">{{Cite web |date=July 17, 2014 |title=C++ in MS Office |url=https://cppcon.org/bonus-talk-cxx-in-ms-office-2014/ |url-status=live |archive-url=https://web.archive.org/web/20191107064047/https://cppcon.org/bonus-talk-cxx-in-ms-office-2014/ |archive-date=November 7, 2019 |access-date=June 25, 2019 |publisher=cppcon}}</ref> | programming language = ] (back-end)<ref name="C++ in MS Office">{{Cite web|date=July 17, 2014|title=C++ in MS Office|url=https://cppcon.org/bonus-talk-cxx-in-ms-office-2014/|url-status=live|archive-url=https://web.archive.org/web/20191107064047/https://cppcon.org/bonus-talk-cxx-in-ms-office-2014/|archive-date=November 7, 2019|access-date=June 25, 2019|publisher=cppcon}}</ref>
| genre = ] | genre = ]
| license = ]<ref>{{cite web|title=Microsoft Office Excel 365|url=https://www.microsoft.com/en-us/microsoft-365/try/microsoft-365-free|work=]|access-date=January 25, 2021}}</ref> | license = ]<ref>{{cite web|title=Microsoft Office Excel 365|url=https://www.microsoft.com/en-us/microsoft-365/try/microsoft-365-free|work=]|access-date=January 25, 2021|archive-date=November 12, 2020|archive-url=https://web.archive.org/web/20201112040541/https://www.microsoft.com/en-US/microsoft-365/try/microsoft-365-free|url-status=live}}</ref> or ] ]
| website = {{URL|microsoft.com/en-us/microsoft-365/excel}} | website = {{URL|microsoft.com/en-us/microsoft-365/excel}}
}}
{{Infobox software
| name = Microsoft Excel for Mac
| logo = <!--For 2016, it is the same as above, so no need-->
| screenshot = Excel for Mac screenshot.png
| caption = Excel for Mac (version 16.67), running on ] 11.5.2
| developer = ]
| released = {{start date and age|1985|9|30}}
| latest release version = 16.70 (Build 23021201)
| latest release date = {{Start date and age|2023|02|14}}<ref>{{cite web|website=]|url=https://docs.microsoft.com/en-gb/officeupdates/update-history-office-for-mac|title=Update history for Office for Mac}}</ref>
| latest preview version =
| latest preview date =
| operating system = ]
| genre = ]
| license = ] ]
| programming language = ] (back-end), ] (API/UI)<ref name="C++ in MS Office" /> <!-- Don't forget your source please -->
| website = {{URL|products.office.com/mac}}
}}
{{Infobox software
| name = Microsoft Excel for Android
| screenshot = ]
| caption = Excel for Android running on ]
| developer = ]
| latest_release_version = 16.0.14729.20146
| latest_release_date = {{Start date and age|2021|12|22}}<ref>{{Cite web|url=https://www.apkmirror.com/apk/microsoft-corporation/excel/|title=Microsoft Excel APKs|website=APKMirror}}</ref>
| operating_system = ] and later
| genre = ]
| license = ] ]
| website = {{url|https://products.office.com/en-us/excel}}
}}
{{Infobox software
| name = Microsoft Excel for iOS and iPadOS
| screenshot =
| caption =
| developer = ]
| latest_release_version = 2.70.1
| latest_release_date = {{Start date and age|2023|02|15}}<ref>{{Cite web|url=https://apps.apple.com/app/id586683407|title=Microsoft Excel|website=App Store|language=en-gb}}</ref>
| operating_system = ] or later {{break}} ] or later
| genre = ]
| license = ] ]
| website = {{url|https://products.office.com/en-us/excel}}
}} }}


'''Microsoft Excel''' is a ] developed by ] for ], ], ], ] and ]. It features ] or ] capabilities, graphing tools, ]s, and a ] programming language called ] (VBA). Excel forms part of the ] suite of software. '''Microsoft Excel''' is a ] editor developed by ] for ], ], ], ] and ]. It features ] or ] capabilities, graphing tools, ]s, and a ] programming language called ] (VBA). Excel forms part of the ] and ] suites of software and has been developed since 1985.


== Features == == Features ==
Line 69: Line 25:
=== Basic operation === === Basic operation ===
{{Main|Spreadsheet}} {{Main|Spreadsheet}}
Microsoft Excel has the basic features of all spreadsheets,<ref name="Harvey">{{cite book|author=Harvey|first=Greg|url=https://books.google.com/books?id=i5ffgL9KEg8C|title=Excel 2007 For Dummies|publisher=Wiley|year=2006|isbn=978-0-470-03737-9|edition=1st|access-date=September 28, 2020|archive-date=March 3, 2015|archive-url=https://web.archive.org/web/20150303055116/http://books.google.com/books?id=i5ffgL9KEg8C|url-status=live}}</ref> using a grid of ''cells'' arranged in numbered ''rows'' and letter-named ''columns'' to organize data manipulations like arithmetic operations. It has a battery of supplied functions to answer statistical, engineering, and financial needs. In addition, it can display data as line graphs, histograms and charts, and with a very limited three-dimensional graphical display. It allows sectioning of data to view its dependencies on various factors for different perspectives (using '']s'' and the ''scenario manager'').<ref name="G_Harvey">
Microsoft Excel has the basic features of all spreadsheets,<ref name="Harvey">
{{cite book |author=Harvey |first=Greg |url=https://books.google.com/books?id=i5ffgL9KEg8C |title=Excel 2007 For Dummies |publisher=Wiley |year=2006 |isbn=978-0-470-03737-9 |edition=1st}} {{cite book|author=Harvey|first=Greg|url=https://books.google.com/books?id=9PCz-uf-bjkC&pg=PA296|title=Excel 2007 Workbook for Dummies|publisher=Wiley|year=2007|isbn=978-0-470-16937-7|edition=2nd|page=296 ''ff''}}
</ref> using a grid of ''cells'' arranged in numbered ''rows'' and letter-named ''columns'' to organize data manipulations like arithmetic operations. It has a battery of supplied functions to answer statistical, engineering, and financial needs. In addition, it can display data as line graphs, histograms and charts, and with a very limited three-dimensional graphical display. It allows sectioning of data to view its dependencies on various factors for different perspectives (using '']s'' and the ''scenario manager'').<ref name="G_Harvey">
{{cite book |author=Harvey |first=Greg |url=https://books.google.com/books?id=9PCz-uf-bjkC&pg=PA296 |title=Excel 2007 Workbook for Dummies |publisher=Wiley |year=2007 |isbn=978-0-470-16937-7 |edition=2nd |page=296 ''ff''}}
</ref> A ] is a tool for ]. It does this by simplifying large data sets via PivotTable fields. It has a programming aspect, ''Visual Basic for Applications'', allowing the user to employ a wide variety of numerical methods, for example, for solving differential equations of mathematical physics,<ref name="deLevie"> </ref> A ] is a tool for ]. It does this by simplifying large data sets via PivotTable fields. It has a programming aspect, ''Visual Basic for Applications'', allowing the user to employ a wide variety of numerical methods, for example, for solving differential equations of mathematical physics,<ref name="deLevie">
{{cite book |title=Advanced Excel for scientific data analysis |author=de Levie, Robert |author-link=Robert de Levie |publisher=Oxford University Press |year=2004 |isbn=978-0-19-515275-3 |url=https://books.google.com/books?id=IAnO-2qVazsC }} {{cite book|title=Advanced Excel for scientific data analysis|author=de Levie, Robert|author-link=Robert de Levie|publisher=Oxford University Press|year=2004|isbn=978-0-19-515275-3|url=https://books.google.com/books?id=IAnO-2qVazsC}}
</ref><ref name="Bourg"> </ref><ref name="Bourg">
{{cite book |title=Excel scientific and engineering cookbook |author=Bourg, David M. |publisher=O'Reilly |year=2006 |isbn=978-0-596-00879-6 |url=https://books.google.com/books?id=vQaGBMGaWI4C }} {{cite book|title=Excel scientific and engineering cookbook|author=Bourg, David M.|publisher=O'Reilly|year=2006|isbn=978-0-596-00879-6|url=https://books.google.com/books?id=vQaGBMGaWI4C}}
</ref> and then reporting the results back to the spreadsheet. It also has a variety of interactive features allowing user interfaces that can completely hide the spreadsheet from the user, so the spreadsheet presents itself as a so-called ''application'', or ''decision support system'' (DSS), via a custom-designed user interface, for example, a stock analyzer,<ref name="Holsapple"> </ref> and then reporting the results back to the spreadsheet. It also has a variety of interactive features allowing user interfaces that can completely hide the spreadsheet from the user, so the spreadsheet presents itself as a so-called ''application'', or ''decision support system'' (DSS), via a custom-designed user interface, for example, a stock analyzer,<ref name="Holsapple">
{{cite book |title=Handbook on Decision Support Systems 1: Basic Themes |author1=Şeref, Michelle M. H. |author2=Ahuja, Ravindra K. |name-list-style=amp |editor1=Burstein, Frad |editor2=Holsapple, Clyde W. |chapter=§4.2 A portfolio management and optimization spreadsheet DSS |chapter-url=https://books.google.com/books?id=q_3sRkRKZQwC&pg=PA288 |isbn=978-3-540-48712-8 |year=2008 |publisher=Springer }} {{cite book|title=Handbook on Decision Support Systems 1: Basic Themes|author1=Şeref, Michelle M. H.|author2=Ahuja, Ravindra K.|name-list-style=amp|editor1=Burstein, Frad|editor2=Holsapple, Clyde W.|chapter=§4.2 A portfolio management and optimization spreadsheet DSS|chapter-url=https://books.google.com/books?id=q_3sRkRKZQwC&pg=PA288|isbn=978-3-540-48712-8|year=2008|publisher=Springer}}
</ref> or in general, as a design tool that asks the user questions and provides answers and reports.<ref name="Harshbarger"> </ref> or in general, as a design tool that asks the user questions and provides answers and reports.<ref name="Harshbarger">
{{cite book |title=Microsoft Excel 97 Developer's Handbook |author1=Wells, Eric |author2=Harshbarger, Steve |name-list-style=amp |year=1997 |publisher=Microsoft Press |isbn=978-1-57231-359-0 |url=https://books.google.com/books?id=LRZnWl-LvwsC }} Excellent examples are developed that show just how applications can be designed. {{cite book|title=Microsoft Excel 97 Developer's Handbook|author1=Wells, Eric|author2=Harshbarger, Steve|name-list-style=amp|year=1997|publisher=Microsoft Press|isbn=978-1-57231-359-0|url=https://books.google.com/books?id=LRZnWl-LvwsC}} Excellent examples are developed that show just how applications can be designed.
</ref><ref name="Horrell"> </ref><ref name="Horrell">
{{cite book |title=Data, statistics, and decision models with Excel |author1=Harnett, Donald L. |author2=Horrell, James F. |name-list-style=amp |year=1998 |publisher=Wiley |isbn=978-0-471-13398-8 |url=https://books.google.com/books?id=l0xiQgAACAAJ }} {{cite book|title=Data, statistics, and decision models with Excel|author1=Harnett, Donald L.|author2=Horrell, James F.|name-list-style=amp|year=1998|publisher=Wiley|isbn=978-0-471-13398-8|url=https://books.google.com/books?id=l0xiQgAACAAJ}}
</ref> In a more elaborate realization, an Excel application can automatically poll external databases and measuring instruments using an update schedule,<ref name="acquisition"> </ref> In a more elaborate realization, an Excel application can automatically poll external databases and measuring instruments using an update schedule,<ref name="acquisition">
Some form of ] hardware is required. See, for example, {{cite book |title=Data acquisition techniques using PCs |author=Austerlitz, Howard |url=https://books.google.com/books?id=iKKVOJYqi6YC&pg=PA281 |isbn=978-0-12-068377-2 |year=2003 |publisher=Academic Press |edition=2nd |page=281 ''ff'' }} Some form of ] hardware is required. See, for example, {{cite book|title=Data acquisition techniques using PCs|author=Austerlitz, Howard|url=https://books.google.com/books?id=iKKVOJYqi6YC&pg=PA281|isbn=978-0-12-068377-2|year=2003|publisher=Academic Press|edition=2nd|page=281 ''ff''}}
</ref> analyze the results, make a ] report or ] slide show, and e-mail these presentations on a regular basis to a list of participants. Excel was not designed to be used as a database.{{Citation needed|date=October 2018}} </ref> analyze the results, make a ] report or ] slide show, and e-mail these presentations on a regular basis to a list of participants.


Microsoft allows for a number of optional command-line switches to control the manner in which Excel starts.<ref>{{cite web|date=May 7, 2007|title=Description of the startup switches for Excel|url=http://support.microsoft.com/kb/291288|url-status=live|access-date=December 14, 2010|work=Microsoft Help and Support|publisher=Microsoft Support|quote=Microsoft Excel accepts a number of optional switches that you can use to control how the program starts. This article lists the switches and provides a description of each switch.|archive-date=December 30, 2010|archive-url=https://web.archive.org/web/20101230015945/http://support.microsoft.com/kb/291288}}</ref>
Microsoft allows for a number of optional command-line switches to control the manner in which Excel starts.<ref>
{{cite web |date=May 7, 2007 |title=Description of the startup switches for Excel |url=http://support.microsoft.com/kb/291288 |url-status=live |access-date=December 14, 2010 |work=Microsoft Help and Support |publisher=Microsoft Support |quote=Microsoft Excel accepts a number of optional switches that you can use to control how the program starts. This article lists the switches and provides a description of each switch.}}
</ref>


=== Functions === === Functions ===
{{See also|Microsoft Power Fx}} {{See also|Microsoft Power Fx}}
Excel 2016 has 484 functions.<ref>{{cite web |title=Excel functions (alphabetical) |url=https://support.office.com/en-us/article/excel-functions-alphabetical-b3944572-255d-4efb-bb96-c6d90033e188 |url-status=live |access-date=4 November 2018 |website=microsoft.com |publisher=Microsoft}}</ref> Of these, 360 existed prior to Excel 2010. Microsoft classifies these functions in 14 categories. Of the 484 current functions, 386 may be called from ] as methods of the object "WorksheetFunction"<ref>{{cite web |date=2022-03-30 |title=WorksheetFunction Object (Excel) |url=https://docs.microsoft.com/en-us/office/vba/api/excel.worksheetfunction |url-status=live |access-date=4 November 2018 |website=Office VBA Reference |publisher=Microsoft}}</ref> and 44 have the same names as VBA functions.<ref>{{cite web |date=2021-09-13 |title=Functions (Visual Basic for Applications) |url=https://docs.microsoft.com/en-us/office/vba/language/reference/functions-visual-basic-for-applications |url-status=live |access-date=4 November 2018 |website=Office VBA Reference |publisher=Microsoft}}</ref> Excel 2016 has 484 functions.<ref>{{cite web|title=Excel functions (alphabetical)|url=https://support.office.com/en-us/article/excel-functions-alphabetical-b3944572-255d-4efb-bb96-c6d90033e188|url-status=live|access-date=November 4, 2018|website=microsoft.com|publisher=Microsoft|archive-date=November 5, 2018|archive-url=https://web.archive.org/web/20181105062357/https://support.office.com/en-us/article/excel-functions-alphabetical-b3944572-255d-4efb-bb96-c6d90033e188}}</ref> Of these, 360 existed prior to Excel 2010. Microsoft classifies these functions into 14 categories. Of the 484 current functions, 386 may be called from ] as methods of the object "WorksheetFunction"<ref>{{cite web|date=March 30, 2022|title=WorksheetFunction Object (Excel)|url=https://docs.microsoft.com/en-us/office/vba/api/excel.worksheetfunction|url-status=live|access-date=November 4, 2018|website=Office VBA Reference|publisher=Microsoft|archive-date=November 5, 2018|archive-url=https://web.archive.org/web/20181105062450/https://docs.microsoft.com/en-us/office/vba/api/excel.worksheetfunction}}</ref> and 44 have the same names as VBA functions.<ref>{{cite web|date=September 13, 2021|title=Functions (Visual Basic for Applications)|url=https://docs.microsoft.com/en-us/office/vba/language/reference/functions-visual-basic-for-applications|url-status=live|access-date=November 4, 2018|website=Office VBA Reference|publisher=Microsoft|archive-date=November 5, 2018|archive-url=https://web.archive.org/web/20181105062438/https://docs.microsoft.com/en-us/office/vba/language/reference/functions-visual-basic-for-applications}}</ref>


With the introduction of LAMBDA, Excel will become ].<ref>{{cite web |last=Gordon |first=Andy |date=January 25, 2021 |title=LAMBDA: The ultimate Excel worksheet function |url=https://www.microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/ |url-status=live |access-date=23 April 2021 |website=microsoft.com |publisher=Microsoft}}</ref> With the introduction of LAMBDA, Excel became ].<ref>{{cite web|last=Gordon|first=Andy|date=January 25, 2021|title=LAMBDA: The ultimate Excel worksheet function|url=https://www.microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/|url-status=live|access-date=April 23, 2021|website=microsoft.com|publisher=Microsoft|archive-date=April 23, 2021|archive-url=https://web.archive.org/web/20210423120636/https://www.microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/}}</ref>


=== Macro programming === === Macro programming ===
Line 104: Line 56:
] ]


The Windows version of Excel supports programming through Microsoft's ] (VBA), which is a dialect of ]. Programming with VBA allows spreadsheet manipulation that is awkward or impossible with standard spreadsheet techniques. Programmers may write code directly using the Visual Basic Editor (VBE), which includes a window for writing code, debugging code, and code module organization environment. The user can implement numerical methods as well as automating tasks such as formatting or data organization in VBA<ref name="Press"> The Windows version of Excel supports programming through Microsoft's Visual Basic for Applications (VBA), which is a dialect of ]. Programming with VBA allows spreadsheet manipulation that is awkward or impossible with standard spreadsheet techniques. Programmers may write code directly using the Visual Basic Editor (VBE), which includes a window for writing code, debugging code, and code module organization environment. The user can implement numerical methods as well as automating tasks such as formatting or data organization in VBA<ref name="Press">
For example, by converting to Visual Basic the recipes in {{cite book |title=Numerical recipes: the art of scientific computing |author1=Press, William H. Press |author2=Teukolsky, Saul A. |author3=Vetterling, William T. |author4=Flannery, Brian P. |name-list-style=amp |year=2007 |publisher=Cambridge University Press |isbn=978-0-521-88068-8 |edition=3rd |url=https://books.google.com/books?id=1aAOdzK3FegC }} Code conversion to Basic from Fortran probably is easier than from C++, so the 2nd edition ({{ISBN|0521437210}}) may be easier to use, or the Basic code implementation of the first edition: {{cite book |title=Numerical recipes: routines and examples in BASIC |author=Sprott, Julien C. |year=1991 |publisher=Cambridge University Press |isbn=978-0-521-40689-5 |url=https://books.google.com/books?id=3-BfpBw7AqQC }} For example, by converting to Visual Basic the recipes in {{cite book|title=Numerical recipes: the art of scientific computing|author1=Press, William H. Press|author2=Teukolsky, Saul A.|author3=Vetterling, William T.|author4=Flannery, Brian P.|name-list-style=amp|year=2007|publisher=Cambridge University Press|isbn=978-0-521-88068-8|edition=3rd|url=https://books.google.com/books?id=1aAOdzK3FegC}} Code conversion to Basic from Fortran probably is easier than from C++, so the 2nd edition ({{ISBN|0521437210}}) may be easier to use, or the Basic code implementation of the first edition: {{cite book|title=Numerical recipes: routines and examples in BASIC|author=Sprott, Julien C.|year=1991|publisher=Cambridge University Press|isbn=978-0-521-40689-5|url=https://books.google.com/books?id=3-BfpBw7AqQC}}
</ref> and guide the calculation using any desired intermediate results reported back to the spreadsheet. </ref> and guide the calculation using any desired intermediate results reported back to the spreadsheet.


VBA was removed from Mac Excel 2008, as the developers did not believe that a timely release would allow porting the VBA engine natively to ]. VBA was restored in the next version, Mac Excel 2011,<ref>{{cite web |title=Excel |url=http://www.officeformachelp.com/excel/ |url-status=dead |access-date=July 8, 2012 |work=Office for Mac |publisher=OfficeforMacHelp.com |archive-date=June 19, 2012 |archive-url=https://web.archive.org/web/20120619131821/http://www.officeformachelp.com/excel/ }}</ref> although the build lacks support for ] objects, impacting some high level developer tools.<ref>{{Cite web|title = Using Excel - PC or Mac? {{!}} Excel Lemon|url = https://www.excellemon.com/view/100-using-excel-pc-or-mac|archive-url = http://webarchive.loc.gov/all/20160921074527/https://www.excellemon.com/view/100-using-excel-pc-or-mac|url-status=dead|archive-date = September 21, 2016|website = www.excellemon.com|access-date = July 29, 2015}}</ref> VBA was removed from Mac Excel 2008, as the developers did not believe that a timely release would allow porting the VBA engine natively to ]. VBA was restored in the next version, Mac Excel 2011,<ref>{{cite web|title=Excel|url=http://www.officeformachelp.com/excel/|url-status=dead|access-date=July 8, 2012|work=Office for Mac|publisher=OfficeforMacHelp.com|archive-date=June 19, 2012|archive-url=https://web.archive.org/web/20120619131821/http://www.officeformachelp.com/excel/}}</ref> although the build lacks support for ] objects, impacting some high level developer tools.<ref>{{Cite web|title=Using Excel PC or Mac? {{!}} Excel Lemon|url=https://www.excellemon.com/view/100-using-excel-pc-or-mac|archive-url=http://webarchive.loc.gov/all/20160921074527/https://www.excellemon.com/view/100-using-excel-pc-or-mac|url-status=dead|archive-date=September 21, 2016|website=excellemon.com|access-date=July 29, 2015}}</ref>


A common and easy way to generate VBA code is by using the ] Recorder.<ref name="Walkenbach">However an increasing proportion of Excel functionality is not captured by the Macro Recorder leading to largely useless macros. Compatibility among multiple versions of Excel is also a downfall of this method. A macro recorder in Excel 2010 may not work in Excel 2003 or older. This is most common when changing colors and formatting of cells. A common and easy way to generate VBA code is by using the ] Recorder.<ref name="Walkenbach">However an increasing proportion of Excel functionality is not captured by the Macro Recorder leading to largely useless macros. Compatibility among multiple versions of Excel is also a downfall of this method. A macro recorder in Excel 2010 may not work in Excel 2003 or older. This is most common when changing colors and formatting of cells.
{{cite book |title=Excel 2007 VBA Programming for Dummies |author=Walkenbach, John |chapter-url=https://books.google.com/books?id=2IBbPiP3wOIC&pg=PA79 |chapter= Chapter 6: Using the Excel macro recorder |page=79 ''ff'' |edition=Revised by Jan Karel Pieterse |isbn=978-0-470-04674-6 |year=2007 |publisher=Wiley }}</ref> The Macro Recorder records actions of the user and generates VBA code in the form of a macro. These actions can then be repeated automatically by running the macro. The macros can also be linked to different trigger types like keyboard shortcuts, a command button or a graphic. The actions in the macro can be executed from these trigger types or from the generic toolbar options. The VBA code of the macro can also be edited in the VBE. Certain features such as loop functions and screen prompt by their own properties, and some graphical display items, cannot be recorded but must be entered into the VBA module directly by the programmer. Advanced users can employ user prompts to create an interactive program, or react to events such as sheets being loaded or changed. {{cite book|author=Walkenbach, John|title=Excel 2007 VBA Programming for Dummies|publisher=Wiley|year=2007|isbn=978-0-470-04674-6|edition=Revised by Jan Karel Pieterse|page=79 ''ff''|chapter=Chapter 6: Using the Excel macro recorder|chapter-url=https://books.google.com/books?id=2IBbPiP3wOIC&pg=PA79}}</ref> The Macro Recorder records actions of the user and generates VBA code in the form of a macro. These actions can then be repeated automatically by running the macro. The macros can also be linked to different trigger types like keyboard shortcuts, a command button or a graphic. The actions in the macro can be executed from these trigger types or from the generic toolbar options. The VBA code of the macro can also be edited in the VBE. Certain features such as loop functions and screen prompt by their own properties, and some graphical display items, cannot be recorded but must be entered into the VBA module directly by the programmer. Advanced users can employ user prompts to create an interactive program, or react to events such as sheets being loaded or changed.


Macro Recorded code may not be compatible with Excel versions. Some code that is used in Excel 2010 cannot be used in Excel 2003. Making a Macro that changes the cell colors and making changes to other aspects of cells may not be backward compatible. Macro Recorded code may not be compatible with Excel versions. Some code that is used in Excel 2010 cannot be used in Excel 2003. Making a Macro that changes the cell colors and making changes to other aspects of cells may not be backward compatible.


VBA code interacts with the spreadsheet through the Excel ''Object Model'',<ref name="Walkenbach2">{{cite book |title=cited work |author=Walkenbach, John |chapter-url=https://books.google.com/books?id=2IBbPiP3wOIC&pg=PA53 |chapter= Chapter 4: Introducing the Excel object model |page=53 ''ff'' |isbn=978-0-470-04674-6 |date=February 2, 2007 }}</ref> a vocabulary identifying spreadsheet objects, and a set of supplied functions or ''methods'' that enable reading and writing to the spreadsheet and interaction with its users (for example, through custom toolbars or ''command bars'' and ''message boxes''). User-created VBA ]s execute these actions and operate like macros generated using the macro recorder, but are more flexible and efficient. VBA code interacts with the spreadsheet through the Excel ''Object Model'',<ref name="Walkenbach2">{{cite book|title=cited work|author=Walkenbach, John|chapter-url=https://books.google.com/books?id=2IBbPiP3wOIC&pg=PA53|chapter=Chapter 4: Introducing the Excel object model|page=53 ''ff''|isbn=978-0-470-04674-6|date=February 2, 2007|publisher=John Wiley & Sons}}</ref> a vocabulary identifying spreadsheet objects, and a set of supplied functions or ''methods'' that enable reading and writing to the spreadsheet and interaction with its users (for example, through custom toolbars or ''command bars'' and ''message boxes''). User-created VBA ]s execute these actions and operate like macros generated using the macro recorder, but are more flexible and efficient.


==== History ==== ==== History ====
From its first version Excel supported end-user programming of macros (automation of repetitive tasks) and user-defined functions (extension of Excel's built-in function library). In early versions of Excel, these programs were written in a macro language whose statements had formula syntax and resided in the cells of special-purpose macro sheets (stored with file extension .XLM in Windows.) XLM was the default macro language for Excel through Excel 4.0.<ref>{{cite web |title=The Spreadsheet Page for Excel Users and Developers |url=http://spreadsheetpage.com/index.php/site/tip/developer_faq_general_questions/ |access-date=December 19, 2012 |website=spreadsheetpage.com |publisher=J-Walk & Associates, Inc.}}</ref> Beginning with version 5.0 Excel recorded macros in VBA by default but with version 5.0 XLM recording was still allowed as an option. After version 5.0 that option was discontinued. All versions of Excel, including Excel 2021 are capable of running an XLM macro, though Microsoft discourages their use.<ref>{{cite web |title=Working with Excel 4.0 macros |url=http://office.microsoft.com/en-us/excel-help/working-with-excel-4-0-macros-HA010336614.aspx |access-date=December 19, 2012 |website=microsoft.com |publisher=Microsoft Office Support}}</ref> From its first version Excel supported end-user programming of macros (automation of repetitive tasks) and user-defined functions (extension of Excel's built-in function library). In early versions of Excel, these programs were written in a macro language whose statements had formula syntax and resided in the cells of special-purpose macro sheets (stored with file extension .XLM in Windows.) XLM was the default macro language for Excel through Excel 4.0.<ref>{{cite web|title=The Spreadsheet Page for Excel Users and Developers|url=http://spreadsheetpage.com/index.php/site/tip/developer_faq_general_questions/|access-date=December 19, 2012|website=spreadsheetpage.com|publisher=J-Walk & Associates, Inc.|archive-date=January 21, 2013|archive-url=https://web.archive.org/web/20130121061001/http://spreadsheetpage.com/index.php/site/tip/developer_faq_general_questions/|url-status=live}}</ref> Beginning with version 5.0 Excel recorded macros in VBA by default but with version 5.0 XLM recording was still allowed as an option. After version 5.0 that option was discontinued. All versions of Excel, including Excel 2021, are capable of running an XLM macro, though Microsoft discourages their use.<ref>{{cite web|title=Working with Excel 4.0 macros|url=http://office.microsoft.com/en-us/excel-help/working-with-excel-4-0-macros-HA010336614.aspx|access-date=December 19, 2012|website=microsoft.com|publisher=Microsoft Office Support|archive-date=March 7, 2013|archive-url=https://web.archive.org/web/20130307194541/http://office.microsoft.com/en-us/excel-help/working-with-excel-4-0-macros-HA010336614.aspx|url-status=live}}</ref>

=== Python programming ===

In 2023 Microsoft announced Excel would support the ] programming language directly.<ref name="Introducing Python">{{cite web|title=Introducing Python in Excel: The Best of Both Worlds for Data Analysis and Visualization|url=https://techcommunity.microsoft.com/t5/microsoft-365-blog/introducing-python-in-excel-the-best-of-both-worlds-for-data/ba-p/3905482|website=TECHCOMMUNITY.MICROSOFT.COM|access-date=September 15, 2023|language=en}}</ref><ref name="Announcing Python">{{cite web|title=Announcing Python in Excel: Combining the power of Python and the flexibility of Excel.|url=https://techcommunity.microsoft.com/t5/excel-blog/announcing-python-in-excel-combining-the-power-of-python-and-the/ba-p/3893439|website=TECHCOMMUNITY.MICROSOFT.COM|access-date=September 15, 2023|language=en}}</ref> As of January 2024, Python in Excel is available in the Microsoft 365 Insider Program.<ref name="Introducing Python" />


=== Charts === === Charts ===
] made using Microsoft Excel]] ] made using Microsoft Excel]]


Excel supports ]s, ], or ]s generated from specified groups of cells. It also supports Pivot Charts that allow for a chart to be linked directly to a ]. This allows the chart to be refreshed with the Pivot Table. The generated graphic component can either be embedded within the current sheet or added as a separate object. Excel supports ]s, ], or ]s generated from specified groups of cells. It also supports Pivot Charts that allow for a chart to be linked directly to a Pivot table. This allows the chart to be refreshed with the Pivot Table. The generated graphic component can either be embedded within the current sheet or added as a separate object.


These displays are dynamically updated if the content of cells changes. For example, suppose that the important design requirements are displayed visually; then, in response to a user's change in trial values for parameters, the curves describing the design change shape, and their points of intersection shift, assisting the selection of the best design. These displays are dynamically updated if the content of cells changes. For example, suppose that the important design requirements are displayed visually; then, in response to a user's change in trial values for parameters, the curves describing the design change shape, and their points of intersection shift, assisting the selection of the best design.
Line 131: Line 87:


* Analysis ToolPak: Provides data analysis tools for statistical and engineering analysis (includes ] and ]) * Analysis ToolPak: Provides data analysis tools for statistical and engineering analysis (includes ] and ])
* Analysis ToolPak VBA: ] functions for Analysis ToolPak * Analysis ToolPak VBA: VBA functions for Analysis ToolPak
* Euro Currency Tools: Conversion and formatting for euro currency * Euro Currency Tools: Conversion and formatting for euro currency
* Solver Add-In: Tools for optimization and equation solving * Solver Add-In: Tools for optimization and equation solving
Line 138: Line 94:


=== Number of rows and columns === === Number of rows and columns ===
Versions of Excel up to 7.0 had a limitation in the size of their data sets of 16K (2<sup>14</sup> = {{val|16384}}) rows. Versions 8.0 through 11.0 could handle 64K (2<sup>16</sup> = {{val|65536}}) rows and 256 columns (2<sup>8</sup> as label 'IV'). Version 12.0 onwards, including the current Version 16.x, can handle over 1M (2<sup>20</sup> = {{val|1048576}}) rows, and {{val|16384}} (2<sup>14</sup>, labeled as column 'XFD') columns.<ref>{{cite web |date=2014-05-23 |title=The "Big Grid" and Increased Limits in Excel 2007 |url=http://msdn.microsoft.com/en-us/library/aa730921.aspx |url-status=live |access-date=April 10, 2008 |website=microsoft.com}}</ref> Versions of Excel up to 7.0 had a limitation in the size of their data sets of 16K (2<sup>14</sup> = {{val|16384}}) rows. Versions 8.0 through 11.0 could handle 64K (2<sup>16</sup> = {{val|65536}}) rows and 256 columns (2<sup>8</sup> as label 'IV'). Version 12.0 onwards, including the current Version 16.x, can handle over 1M (2<sup>20</sup> = {{val|1048576}}) rows, and {{val|16384}} (2<sup>14</sup>, labeled as column 'XFD') columns.<ref>{{cite web|date=May 23, 2014|title=The 'Big Grid' and Increased Limits in Excel 2007|url=http://msdn.microsoft.com/en-us/library/aa730921.aspx|access-date=April 10, 2008|website=microsoft.com|archive-date=December 7, 2013|archive-url=https://web.archive.org/web/20131207150655/http://msdn.microsoft.com/en-us/library/aa730921.aspx|url-status=live}}</ref>


=== File formats === === File formats ===
{{Infobox file format {{Infobox file format
| name = Excel Spreadsheet | name = Excel Spreadsheet
| icon = | icon =
| logo = | logo =
| extension = .xls, (.xlsx, .xlsm, .xlsb - Excel 2007) | extension = .xls, (.xlsx, .xlsm, .xlsb Excel 2007)
| mime = application/vnd.ms-excel | mime = application/vnd.ms-excel
| type code = | type code =
| uniform type = com.microsoft.excel.xls | uniform type = com.microsoft.excel.xls
| magic = | magic =
| owner = ] | owner = ]
| genre = ] | genre = ]
| container for = | container for =
| contained by = | contained by =
| extended from = | extended from =
| extended to = | extended to =
| standard = | standard =
}} }}


Microsoft Excel up until 2007 version used a proprietary binary file format called Excel Binary File Format (.XLS) as its primary format.<ref>{{cite web |date=February 26, 2008 |title=How to extract information from Office files by using Office file formats and schemas |url=http://support.microsoft.com/kb/840817/ |url-status=live |access-date=November 10, 2008 |website=microsoft.com |publisher=Microsoft}}</ref> Excel 2007 uses ] as its primary file format, an XML-based format that followed after a previous ]-based format called "XML Spreadsheet" ("XMLSS"), first introduced in Excel 2002.<ref name="xml">{{cite web |url=http://msdn.microsoft.com/en-us/library/aa140066(office.10).aspx |title=XML Spreadsheet Reference |work=Microsoft Excel 2002 Technical Articles |publisher=MSDN |date=August 2001 |access-date=November 10, 2008 }}</ref> Up until the 2007 version, Microsoft Excel used a proprietary binary file format called Excel Binary File Format (.XLS) as its primary format.<ref>{{cite web|date=February 26, 2008|title=How to extract information from Office files by using Office file formats and schemas|url=http://support.microsoft.com/kb/840817/|url-status=live|access-date=November 10, 2008|website=microsoft.com|publisher=Microsoft|archive-date=May 14, 2008|archive-url=https://web.archive.org/web/20080514083958/http://support.microsoft.com/kb/840817}}</ref> Excel 2007 uses ] as its primary file format, an XML-based format that followed after a previous ]-based format called "XML Spreadsheet" ("XMLSS"), first introduced in Excel 2002.<ref name="xml">{{cite web|url=http://msdn.microsoft.com/en-us/library/aa140066(office.10).aspx|title=XML Spreadsheet Reference|work=Microsoft Excel 2002 Technical Articles|publisher=MSDN|date=August 2001|access-date=November 10, 2008|archive-date=October 2, 2008|archive-url=https://web.archive.org/web/20081002081358/http://msdn.microsoft.com/en-us/library/aa140066(office.10).aspx|url-status=live}}</ref>


Although supporting and encouraging the use of new XML-based formats as replacements, Excel 2007 remained backwards-compatible with the traditional, binary formats. In addition, most versions of Microsoft Excel can read ], ], ], ], and other legacy formats. Support for some older file formats was removed in Excel 2007.<ref>{{cite web |url=http://blogs.office.com/b/microsoft-excel/archive/2006/08/24/deprecated-features-for-excel-2007.aspx |title=Deprecated features for Excel 2007 |publisher=Microsoft—David Gainer |date=August 24, 2006 |access-date=January 2, 2009 }}</ref> The file formats were mainly from DOS-based programs. Although supporting and encouraging the use of new XML-based formats as replacements, Excel 2007 remained backwards-compatible with the traditional, binary formats. In addition, most versions of Microsoft Excel can read ], ], ], ], and other legacy formats. Support for some older file formats was removed in Excel 2007.<ref>{{cite web|url=http://blogs.office.com/b/microsoft-excel/archive/2006/08/24/deprecated-features-for-excel-2007.aspx|title=Deprecated features for Excel 2007|publisher=Microsoft—David Gainer|date=August 24, 2006|access-date=January 2, 2009|archive-date=July 17, 2011|archive-url=https://web.archive.org/web/20110717141312/http://blogs.office.com/b/microsoft-excel/archive/2006/08/24/deprecated-features-for-excel-2007.aspx|url-status=live}}</ref> The file formats were mainly from DOS-based programs.


==== Binary ==== ==== Binary ====
] has created documentation of the Excel format. Two epochs of the format exist: the 97-2003 ] format, and the older stream format.<ref>{{cite web |url=http://sc.openoffice.org/excelfileformat.pdf |title=OpenOffice.org's documentation of the Microsoft Excel File Format |date=August 2, 2008 }}</ref> Microsoft has made the Excel binary format specification available to freely download.<ref>{{cite web |url=http://download.microsoft.com/download/0/B/E/0BE8BDD7-E5E8-422A-ABFD-4342ED7AD886/Excel97-2007BinaryFileFormat(xls)Specification.xps |title=Microsoft Office Excel 97 - 2007 Binary File Format Specification (*.xls 97-2007 format) |year=2007 |publisher=Microsoft Corporation }}</ref> ] has created documentation of the Excel format. Two epochs of the format exist: the 97-2003 ] format, and the older stream format.<ref>{{cite web|url=http://sc.openoffice.org/excelfileformat.pdf|title=OpenOffice.org's documentation of the Microsoft Excel File Format|date=August 2, 2008|access-date=July 28, 2009|archive-date=May 9, 2008|archive-url=https://web.archive.org/web/20080509063852/http://sc.openoffice.org/excelfileformat.pdf|url-status=live}}</ref> Microsoft has made the Excel binary format specification available to freely download.<ref>{{cite web|url=http://download.microsoft.com/download/0/B/E/0BE8BDD7-E5E8-422A-ABFD-4342ED7AD886/Excel97-2007BinaryFileFormat(xls)Specification.xps|title=Microsoft Office Excel 97 2007 Binary File Format Specification (*.xls 97-2007 format)|year=2007|publisher=Microsoft Corporation|access-date=February 16, 2008|archive-date=December 22, 2008|archive-url=https://web.archive.org/web/20081222093136/http://download.microsoft.com/download/0/B/E/0BE8BDD7-E5E8-422A-ABFD-4342ED7AD886/Excel97-2007BinaryFileFormat(xls)Specification.xps|url-status=live}}</ref>


==== XML Spreadsheet ==== ==== XML Spreadsheet ====
{{main|Microsoft Office XML formats}} {{main|Microsoft Office XML formats}}
The ''XML Spreadsheet'' format introduced in Excel 2002<ref name="xml" /> is a simple, ] based format missing some more advanced features like storage of VBA macros. Though the intended file extension for this format is ''.xml'', the program also correctly handles XML files with ''.xls'' extension. This feature is widely used by third-party applications (e.g. ''] Query Browser'') to offer "export to Excel" capabilities without implementing binary file format. The following example will be correctly opened by Excel if saved either as ''Book1.xml'' or ''Book1.xls'': The ''XML Spreadsheet'' format introduced in Excel 2002<ref name="xml" /> is a simple, XML based format missing some more advanced features like storage of VBA macros. Though the intended file extension for this format is ''.xml'', the program also correctly handles XML files with ''.xls'' extension. This feature is widely used by third-party applications (e.g. ''] Query Browser'') to offer "export to Excel" capabilities without implementing binary file format. The following example will be correctly opened by Excel if saved either as ''Book1.xml'' or ''Book1.xls'':


<syntaxhighlight lang="xml"> <syntaxhighlight lang="xml">
Line 195: Line 151:
{{Main|Office Open XML}} {{Main|Office Open XML}}


Microsoft Excel 2007, along with the other products in the ] suite, introduced new file formats. The first of these (.xlsx) is defined in the ] (OOXML) specification. Microsoft Excel 2007, along with the other products in the ] suite, introduced new file formats. The first of these (.xlsx) is defined in the Office Open XML (OOXML) specification.


{| class="wikitable" {| class="wikitable"
Line 205: Line 161:
|Excel Workbook |Excel Workbook
|{{code|.xlsx}} |{{code|.xlsx}}
|The default Excel 2007 and later workbook format. In reality, a ] compressed archive with a directory structure of ] text documents. Functions as the primary replacement for the former binary .xls format, although it does not support Excel macros for security reasons. Saving as .xlsx offers file size reduction over .xls<ref>{{Cite book|last=Fairhurst|first=Danielle Stein|url=https://books.google.com/books?id=oSXWBgAAQBAJ&pg=PA324|title=Using Excel for Business Analysis: A Guide to Financial Modelling Fundamentals|date=2015-03-17|publisher=John Wiley & Sons|isbn=978-1-119-06245-5|language=en}}</ref> |The default Excel 2007 and later workbook format. In reality, a ] compressed archive with a directory structure of ] text documents. Functions as the primary replacement for the former binary .xls format, although it does not support Excel macros for security reasons. Saving as .xlsx offers file size reduction over .xls<ref>{{Cite book|last=Fairhurst|first=Danielle Stein|url=https://books.google.com/books?id=oSXWBgAAQBAJ&pg=PA324|title=Using Excel for Business Analysis: A Guide to Financial Modelling Fundamentals|date=March 17, 2015|publisher=John Wiley & Sons|isbn=978-1-119-06245-5|language=en}}</ref>
|- |-
|Excel Macro-enabled Workbook |Excel Macro-enabled Workbook
Line 281: Line 237:


=== Using other Windows applications === === Using other Windows applications ===
Windows applications such as ] and ], as well as Excel can communicate with each other and use each other's capabilities. The most common are ]: although strongly deprecated by Microsoft, this is a common method to send data between applications running on Windows, with official MS publications referring to it as "the protocol from hell".<ref name="Newcomer" /> As the name suggests, it allows applications to supply data to others for calculation and display. It is very common in financial markets, being used to connect to important financial data services such as ] and ]. Windows applications such as ] and Microsoft Word, as well as Excel can communicate with each other and use each other's capabilities. The most common is ]: although strongly deprecated by Microsoft, this is a common method to send data between applications running on Windows, with official MS publications referring to it as "the protocol from hell".<ref name="Newcomer" /> As the name suggests, it allows applications to supply data to others for calculation and display. It is very common in financial markets, being used to connect to important financial data services such as ] and ].


] Object Linking and Embedding allows a Windows application to control another to enable it to format or calculate data. This may take on the form of "embedding" where an application uses another to handle a task that it is more suited to, for example a ] presentation may be embedded in an Excel spreadsheet or vice versa.<ref name="Schmalz">{{cite book |title=Integrating Excel and Access |chapter=Chapter 5: Using Access VBA to automate Excel |author=Schmalz, Michael |chapter-url=https://books.google.com/books?id=SGH10fniqmsC&pg=PT71 |isbn=978-0-596-00973-1 |publisher=O'Reilly Media, Inc |year=2006 }}{{cite book |title=Integrating Excel and Access |chapter=Chapter 5: Using Access VBA to automate Excel |author=Schmalz, Michael |chapter-url=https://books.google.com/books?id=SGH10fniqmsC&pg=PT71 |isbn=978-0-596-00973-1 |publisher=O'Reilly Media, Inc |year=2006 }}</ref><ref name="Cornell">{{cite book |title=Excel as Your Database |author=Cornell, Paul |chapter=Chapter 5: Connect to other databases |page= |chapter-url=https://books.google.com/books?id=qjkglmBy_l4C&pg=PA117 |isbn=978-1-59059-751-4 |year=2007 |publisher=Apress |url=https://archive.org/details/excelasyourdatab0000corn/page/117 }}</ref><ref name="DeMarco2">{{cite book |title=Pro Excel 2007 VBA |chapter=Excel's data import tools |page=43 ''ff'' |chapter-url=https://books.google.com/books?id=gtPQMxO8XuoC&pg=PA43 |publisher=Apress |author=DeMarco, Jim |isbn=978-1-59059-957-0 |year=2008 }}</ref><ref name="Harts"> OLE Object Linking and Embedding allows a Windows application to control another to enable it to format or calculate data. This may take on the form of "embedding" where an application uses another to handle a task that it is more suited to, for example a ] presentation may be embedded in an Excel spreadsheet or vice versa.<ref name="Schmalz">{{cite book|title=Integrating Excel and Access|chapter=Chapter 5: Using Access VBA to automate Excel|author=Schmalz, Michael|chapter-url=https://books.google.com/books?id=SGH10fniqmsC&pg=PT71|isbn=978-0-596-00973-1|publisher=O'Reilly Media, Inc|year=2006}}{{cite book|title=Integrating Excel and Access|chapter=Chapter 5: Using Access VBA to automate Excel|author=Schmalz, Michael|chapter-url=https://books.google.com/books?id=SGH10fniqmsC&pg=PT71|isbn=978-0-596-00973-1|publisher=O'Reilly Media, Inc|year=2006}}</ref><ref name="Cornell">{{cite book|title=Excel as Your Database|author=Cornell, Paul|chapter=Chapter 5: Connect to other databases|page=|chapter-url=https://books.google.com/books?id=qjkglmBy_l4C&pg=PA117|isbn=978-1-59059-751-4|year=2007|publisher=Apress|url=https://archive.org/details/excelasyourdatab0000corn/page/117}}</ref><ref name="DeMarco2">{{cite book|title=Pro Excel 2007 VBA|chapter=Excel's data import tools|page=43 ''ff''|chapter-url=https://books.google.com/books?id=gtPQMxO8XuoC&pg=PA43|publisher=Apress|author=DeMarco, Jim|isbn=978-1-59059-957-0|year=2008}}</ref><ref name="Harts">
{{cite book |title=Microsoft Office 2007 Business Intelligence: Reporting, Analysis, and Measurement from the Desktop |author=Harts, Doug |chapter-url=https://books.google.com/books?id=MVFldXVKpj8C&pg=PA171 |year=2007 |chapter=Importing Access data into Excel 2007 |isbn=978-0-07-149424-3 |publisher=McGraw-Hill Professional }}</ref> {{cite book|title=Microsoft Office 2007 Business Intelligence: Reporting, Analysis, and Measurement from the Desktop|author=Harts, Doug|chapter-url=https://books.google.com/books?id=MVFldXVKpj8C&pg=PA171|year=2007|chapter=Importing Access data into Excel 2007|isbn=978-0-07-149424-3|publisher=McGraw-Hill Professional}}</ref>


=== Using external data === === Using external data ===
Line 291: Line 247:
Excel can accept data in real-time through several programming interfaces, which allow it to communicate with many data sources such as Bloomberg and Reuters (through addins such as ]). Excel can accept data in real-time through several programming interfaces, which allow it to communicate with many data sources such as Bloomberg and Reuters (through addins such as ]).


* DDE: "Dynamic Data Exchange" uses the message passing mechanism in Windows to allow data to flow between Excel and other applications. Although it is easy for users to create such links, programming such links reliably is so difficult that Microsoft, the creators of the system, officially refer to it as "the protocol from hell".<ref name="Newcomer">{{Cite web|url=https://www.drdobbs.com/architecture-and-design/faking-dde-with-private-servers/184409151?pgno=3|title=Faking DDE with Private Servers|first=Joseph M.|last=Newcomer|website=Dr. Dobb's}}</ref> In spite of its many issues DDE remains the most common way for data to reach traders in financial markets. * DDE: "Dynamic Data Exchange" uses the message passing mechanism in Windows to allow data to flow between Excel and other applications. Although it is easy for users to create such links, programming such links reliably is so difficult that Microsoft, the creators of the system, officially refer to it as "the protocol from hell".<ref name="Newcomer">{{Cite web|url=https://www.drdobbs.com/architecture-and-design/faking-dde-with-private-servers/184409151?pgno=3|title=Faking DDE with Private Servers|first=Joseph M.|last=Newcomer|website=Dr. Dobb's|access-date=February 17, 2023|archive-date=February 25, 2023|archive-url=https://web.archive.org/web/20230225011410/https://www.drdobbs.com/architecture-and-design/faking-dde-with-private-servers/184409151?pgno=3|url-status=live}}</ref> In spite of its many issues DDE remains the most common way for data to reach traders in financial markets.
* Network DDE Extended the protocol to allow spreadsheets on different computers to exchange data. Starting with Windows Vista, Microsoft no longer supports the facility.<ref>{{Cite web|url=https://learn.microsoft.com/en-us/windows/win32/ipc/about-network-dde|title=About Network DDE - Win32 apps|website=learn.microsoft.com}}</ref> * Network DDE Extended the protocol to allow spreadsheets on different computers to exchange data. Starting with Windows Vista, Microsoft no longer supports the facility.<ref>{{Cite web|url=https://learn.microsoft.com/en-us/windows/win32/ipc/about-network-dde|title=About Network DDE Win32 apps|website=learn.microsoft.com|date=January 7, 2021|access-date=February 17, 2023|archive-date=February 17, 2023|archive-url=https://web.archive.org/web/20230217170348/https://learn.microsoft.com/en-us/windows/win32/ipc/about-network-dde|url-status=live}}</ref>
* Real Time Data: RTD although in many ways technically superior to DDE, has been slow to gain acceptance, since it requires non-trivial programming skills, and when first released was neither adequately documented nor supported by the major data vendors.<ref>{{Cite web|url=https://learn.microsoft.com/en-us/office/troubleshoot/excel/set-up-realtimedata-function|title=How to set up and use the RTD function in Excel - Office|website=learn.microsoft.com}}</ref><ref> * Real Time Data: RTD although in many ways technically superior to DDE, has been slow to gain acceptance, since it requires non-trivial programming skills, and when first released was neither adequately documented nor supported by the major data vendors.<ref>{{Cite web|url=https://learn.microsoft.com/en-us/office/troubleshoot/excel/set-up-realtimedata-function|title=How to set up and use the RTD function in Excel Office|website=learn.microsoft.com|date=May 5, 2022|access-date=February 17, 2023|archive-date=February 17, 2023|archive-url=https://web.archive.org/web/20230217170345/https://learn.microsoft.com/en-us/office/troubleshoot/excel/set-up-realtimedata-function|url-status=live}}</ref><ref>
{{cite book |last=DeMarco |first=Jim |title=Pro Excel 2007 VBA |year=2008 |publisher=Apress |location= Berkeley, CA |isbn=978-1-59059-957-0 |url=https://books.google.com/books?id=gtPQMxO8XuoC&pg=PA225 |page=225 |quote= External data is accessed through a connection file, such as an Office Data Connection (ODC) file (.odc) }} {{cite book|last=DeMarco|first=Jim|title=Pro Excel 2007 VBA|year=2008|publisher=Apress|location=Berkeley, CA|isbn=978-1-59059-957-0|url=https://books.google.com/books?id=gtPQMxO8XuoC&pg=PA225|page=225|quote=External data is accessed through a connection file, such as an Office Data Connection (ODC) file (.odc)}}
</ref> </ref>


Alternatively, ] provides ] browsing within Microsoft Excel.<ref> Alternatively, ] provides ] browsing within Microsoft Excel.<ref>
{{cite book |author1=Bullen, Stephen |author2=Bovey, Rob |author3=Green, John |name-list-style=amp |title=Professional Excel Development |year=2009 |publisher= Addison-Wesley |location= Upper Saddle River, NJ |isbn=978-0-321-50879-9 |url=https://books.google.com/books?id=VnegO0pMYlIC&pg=PA665 |page=665 |edition=2nd |quote=To create a robust solution, we always have to include some VBA code ... }} {{cite book|author1=Bullen, Stephen|author2=Bovey, Rob|author3=Green, John|name-list-style=amp|title=Professional Excel Development|year=2009|publisher=Addison-Wesley|location=Upper Saddle River, NJ|isbn=978-0-321-50879-9|url=https://books.google.com/books?id=VnegO0pMYlIC&pg=PA665|page=665|edition=2nd|quote=To create a robust solution, we always have to include some VBA code ...}}
</ref><ref>{{cite web |url=http://proc.isecon.org/2000/602/ISECON.2000.Wehrs.pdf |archive-url=https://web.archive.org/web/20100821074925/http://proc.isecon.org/2000/602/ISECON.2000.Wehrs.pdf |url-status=dead |archive-date=August 21, 2010 |title=An Applied DSS Course Using Excel and VBA: IS and/or MS? |first=Wehrs |last=William |year=2000 |work=The Proceedings of ISECON (Information System Educator Conference) |page=4 |access-date=February 5, 2010 |quote=Microsoft Query is a data retrieval tool (i.e. ODBC browser) that can be employed within Excel 97. It allows a user to create and save queries on external relational databases for which an ODBC driver is available. }} </ref><ref>{{cite web|url=http://proc.isecon.org/2000/602/ISECON.2000.Wehrs.pdf|archive-url=https://web.archive.org/web/20100821074925/http://proc.isecon.org/2000/602/ISECON.2000.Wehrs.pdf|url-status=dead|archive-date=August 21, 2010|title=An Applied DSS Course Using Excel and VBA: IS and/or MS?|first=Wehrs|last=William|year=2000|work=The Proceedings of ISECON (Information System Educator Conference)|page=4|access-date=February 5, 2010|quote=Microsoft Query is a data retrieval tool (i.e. ODBC browser) that can be employed within Excel 97. It allows a user to create and save queries on external relational databases for which an ODBC driver is available.}}
</ref><ref> {{webarchive|url=https://web.archive.org/web/20100312111200/http://office.microsoft.com/en-us/excel/ha100996641033.aspx |date=March 12, 2010 }}</ref> </ref><ref> {{webarchive|url=https://web.archive.org/web/20100312111200/http://office.microsoft.com/en-us/excel/ha100996641033.aspx |date=March 12, 2010 }}</ref>


=== Export and migration of spreadsheets === === Export and migration of spreadsheets ===
Programmers have produced ] to open Excel spreadsheets in a variety of applications and environments other than Microsoft Excel. These include opening Excel documents on the web using either ] controls, or plugins like the ]. The ] ] project provides ] libraries for reading and writing Excel spreadsheet files. Programmers have produced ] to open Excel spreadsheets in a variety of applications and environments other than Microsoft Excel. These include opening Excel documents on the web using either ActiveX controls, or plugins like the ]. The ] ] project provides ] libraries for reading and writing Excel spreadsheet files.


=== Password protection === === Password protection ===
Line 309: Line 265:


Microsoft Excel protection offers several types of passwords: Microsoft Excel protection offers several types of passwords:
* Password to open a document<ref>{{cite web|url=http://office.microsoft.com/en-us/word-help/password-protect-documents-workbooks-and-presentations-HA010148333.aspx#BM1 |title=Password protect documents, workbooks, and presentations - Word - Office.com |publisher=Office.microsoft.com |access-date=April 24, 2013}}</ref> * Password to open a document<ref>{{cite web|url=http://office.microsoft.com/en-us/word-help/password-protect-documents-workbooks-and-presentations-HA010148333.aspx#BM1|title=Password protect documents, workbooks, and presentations|publisher=Office.microsoft.com|access-date=April 24, 2013|archive-date=February 12, 2014|archive-url=https://web.archive.org/web/20140212134311/http://office.microsoft.com/en-us/word-help/password-protect-documents-workbooks-and-presentations-HA010148333.aspx#BM1|url-status=live}}</ref>
* Password to modify a document<ref>{{cite web|url=http://office.microsoft.com/en-us/word-help/password-protect-documents-workbooks-and-presentations-HA010148333.aspx#BM3a |title=Password protect documents, workbooks, and presentations - Word - Office.com |publisher=Office.microsoft.com |access-date=April 24, 2013}}</ref> * Password to modify a document<ref>{{cite web|url=http://office.microsoft.com/en-us/word-help/password-protect-documents-workbooks-and-presentations-HA010148333.aspx#BM3a|title=Password protect documents, workbooks, and presentations|publisher=Office.microsoft.com|access-date=April 24, 2013|archive-date=February 12, 2014|archive-url=https://web.archive.org/web/20140212134311/http://office.microsoft.com/en-us/word-help/password-protect-documents-workbooks-and-presentations-HA010148333.aspx#BM3a|url-status=live}}</ref>
* Password to unprotect the worksheet * Password to unprotect the worksheet
* Password to protect workbook * Password to protect workbook
* Password to protect the sharing workbook<ref>{{cite web |url=http://office.microsoft.com/en-us/excel-help/password-protect-worksheet-or-workbook-elements-HP005201059.aspx |title=Password protect worksheet or workbook elements - Excel - Office.com |publisher=Office.microsoft.com |access-date=April 24, 2013 |url-status=dead |archive-url=https://web.archive.org/web/20130326192849/http://office.microsoft.com/en-us/excel-help/password-protect-worksheet-or-workbook-elements-HP005201059.aspx |archive-date=March 26, 2013 |df=mdy-all }}</ref> * Password to protect the sharing workbook<ref>{{cite web|url=http://office.microsoft.com/en-us/excel-help/password-protect-worksheet-or-workbook-elements-HP005201059.aspx|title=Password protect worksheet or workbook elements|publisher=Office.microsoft.com|access-date=April 24, 2013|url-status=dead|archive-url=https://web.archive.org/web/20130326192849/http://office.microsoft.com/en-us/excel-help/password-protect-worksheet-or-workbook-elements-HP005201059.aspx|archive-date=March 26, 2013}}</ref>
All passwords except ''password to open a document'' can be removed instantly regardless of the Microsoft Excel version used to create the document. These types of passwords are used primarily for shared work on a document. Such password-protected documents are not ], and a ] from a set password is saved in a document's ]. ''Password to protect workbook'' is an exception – when it is set, a document is encrypted with the standard password "VelvetSweatshop", but since it is known to the public, it actually does not add any extra protection to the document. The only type of password that can prevent a trespasser from gaining access to a document is ''password to open a document''. The cryptographic strength of this kind of protection depends strongly on the Microsoft Excel version that was used to create the document. All passwords except ''password to open a document'' can be removed instantly regardless of the Microsoft Excel version used to create the document. These types of passwords are used primarily for shared work on a document. Such password-protected documents are not ], and data sources from a set password are saved in a document's ]. ''Password to protect workbook'' is an exception – when it is set, a document is encrypted with the standard password "VelvetSweatshop", but since it is known to the public, it actually does not add any extra protection to the document. The only type of password that can prevent a trespasser from gaining access to a document is the ''password to open a document''. The cryptographic strength of this kind of protection depends strongly on the Microsoft Excel version that was used to create the document.


In ''Microsoft Excel 95'' and earlier versions, the password to open is converted to a 16-bit ] that can be instantly cracked. In ''Excel 97/2000'' the password is converted to a 40-bit key, which can also be cracked very quickly using modern equipment. As regards services that use ] (e.g. Password-Find), it takes up to several seconds to remove protection. In addition, password-cracking programs can ] passwords at a rate of hundreds of thousands of passwords a second, which not only lets them decrypt a document but also find the original password. In ''Microsoft Excel 95'' and earlier versions, the password to open is converted to a 16-bit ] that can be instantly cracked. In ''Excel 97/2000'' the password is converted to a 40-bit key, which can also be cracked very quickly using modern equipment. As regards services that use ] (e.g. Password-Find), it takes up to several seconds to remove protection. In addition, password-cracking programs can ] passwords at a rate of hundreds of thousands of passwords a second, which not only lets them decrypt a document but also find the original password.
Line 324: Line 280:
== Other platforms == == Other platforms ==
===Excel for mobile=== ===Excel for mobile===
]
Excel Mobile is a ] program that can edit XLSX files. It can edit and format text in cells, calculate formulas, search within the spreadsheet, sort rows and columns, freeze panes, filter the columns, add comments, and create charts. It cannot add columns or rows except at the edge of the document, rearrange columns or rows, delete rows or columns, or add spreadsheet tabs.<ref name=TechHive>{{cite web|last1=Ralph|first1=Nate|title=Office for Windows Phone 8: Your handy starter guide|url=http://www.techhive.com/article/2025977/office-for-windows-phone-8-your-handy-starter-guide.html|website=TechHive|access-date=August 30, 2014|archive-date=October 15, 2014|archive-url=https://web.archive.org/web/20141015060254/http://www.techhive.com/article/2025977/office-for-windows-phone-8-your-handy-starter-guide.html|url-status=dead}}</ref><ref name=Engadget>{{cite web|last1=Wollman|first1=Dana|title=Microsoft Office Mobile for iPhone hands-on|url=https://www.engadget.com/2013/06/14/microsoft-office-mobile-for-iphone-hands-on/|website=Engadget|access-date=August 30, 2014}}</ref><ref name=NYT>{{cite news|last1=Pogue|first1=David|title=Microsoft Adds Office for iPhone. Yawn.|url=https://www.nytimes.com/2013/06/20/technology/personaltech/microsoft-office-for-the-iphone-is-here-yawn.html?_r=1&|work=The New York Times|access-date=August 30, 2014}}</ref><ref name="New in Excel Mobile">{{cite web|last1=Ogasawara|first1=Todd|title=What's New in Excel Mobile|url=http://www.microsoft.com/windowsmobile/articles/excelmobile.mspx|publisher=Microsoft|access-date=September 13, 2007|archive-url=https://web.archive.org/web/20080208083816/http://www.microsoft.com/windowsmobile/articles/excelmobile.mspx|archive-date=February 8, 2008|url-status=dead}}</ref><ref name="Microsoft">{{cite web|title=Unsupported features in Excel Mobile|url=http://www.microsoft.com/windowsmobile/help/pocketpc/excelmobile.mspx|publisher=Microsoft|access-date=September 21, 2007|archive-url=https://web.archive.org/web/20071020043851/http://www.microsoft.com/windowsmobile/help/pocketpc/excelmobile.mspx|archive-date=October 20, 2007|url-status=dead}}</ref><ref> {{webarchive|url=https://web.archive.org/web/20071020043851/http://www.microsoft.com/windowsmobile/help/pocketpc/excelmobile.mspx |date=October 20, 2007 }}. Microsoft. Retrieved September 21, 2007.</ref> The 2007 version has the ability to use a full-screen mode to deal with limited screen resolution, as well as split panes to view different parts of a worksheet at one time.<ref name="New in Excel Mobile" /> Protection settings, zoom settings, autofilter settings, certain chart formatting, hidden sheets, and other features are not supported on Excel Mobile, and will be modified upon opening and saving a workbook.<ref name="Microsoft"/> In 2015, Excel Mobile became available for Windows 10 and Windows 10 Mobile on ].<ref name=":1">{{Cite web|url=https://www.microsoft.com/en-us/store/apps/excel-mobile/9wzdncrfjbh3|title=Excel Mobile|website=]|publisher=]|access-date=June 26, 2016}}</ref><ref name=":2">{{Cite web|url=https://www.microsoft.com/en-us/store/apps/powerpoint-mobile/9wzdncrfjb5q|title=PowerPoint Mobile|website=]|publisher=]|access-date=June 26, 2016}}</ref>
Excel Mobile is a spreadsheet program that can edit XLSX files. It can edit and format text in cells, calculate formulas, search within the spreadsheet, sort rows and columns, freeze panes, filter the columns, add comments, and create charts. It cannot add columns or rows except at the edge of the document, rearrange columns or rows, delete rows or columns, or add spreadsheet tabs.<ref name=TechHive>{{cite web|last1=Ralph|first1=Nate|title=Office for Windows Phone 8: Your handy starter guide|url=http://www.techhive.com/article/2025977/office-for-windows-phone-8-your-handy-starter-guide.html|website=TechHive|access-date=August 30, 2014|archive-date=October 15, 2014|archive-url=https://web.archive.org/web/20141015060254/http://www.techhive.com/article/2025977/office-for-windows-phone-8-your-handy-starter-guide.html|url-status=dead}}</ref><ref name=Engadget>{{cite web|last1=Wollman|first1=Dana|title=Microsoft Office Mobile for iPhone hands-on|url=https://www.engadget.com/2013/06/14/microsoft-office-mobile-for-iphone-hands-on/|website=Engadget|date=June 14, 2013|access-date=August 30, 2014|archive-date=September 3, 2014|archive-url=https://web.archive.org/web/20140903102756/http://www.engadget.com/2013/06/14/microsoft-office-mobile-for-iphone-hands-on/|url-status=live}}</ref><ref name=NYT>{{cite news|last1=Pogue|first1=David|title=Microsoft Adds Office for iPhone. Yawn.|url=https://www.nytimes.com/2013/06/20/technology/personaltech/microsoft-office-for-the-iphone-is-here-yawn.html|work=The New York Times|date=June 19, 2013|access-date=August 30, 2014|archive-date=May 28, 2022|archive-url=https://web.archive.org/web/20220528122230/https://www.nytimes.com/2013/06/20/technology/personaltech/microsoft-office-for-the-iphone-is-here-yawn.html?_r=1&|url-status=live}}</ref><ref name="New in Excel Mobile">{{cite web|last1=Ogasawara|first1=Todd|title=What's New in Excel Mobile|url=http://www.microsoft.com/windowsmobile/articles/excelmobile.mspx|publisher=Microsoft|access-date=September 13, 2007|archive-url=https://web.archive.org/web/20080208083816/http://www.microsoft.com/windowsmobile/articles/excelmobile.mspx|archive-date=February 8, 2008|url-status=dead}}</ref><ref name="Microsoft">{{cite web|title=Unsupported features in Excel Mobile|url=http://www.microsoft.com/windowsmobile/help/pocketpc/excelmobile.mspx|publisher=Microsoft|access-date=September 21, 2007|archive-url=https://web.archive.org/web/20071020043851/http://www.microsoft.com/windowsmobile/help/pocketpc/excelmobile.mspx|archive-date=October 20, 2007|url-status=dead}}</ref><ref> {{webarchive|url=https://web.archive.org/web/20071020043851/http://www.microsoft.com/windowsmobile/help/pocketpc/excelmobile.mspx |date=October 20, 2007 }}. Microsoft. Retrieved September 21, 2007.</ref> The 2007 version has the ability to use a full-screen mode to deal with limited screen resolution, as well as split panes to view different parts of a worksheet at one time.<ref name="New in Excel Mobile" /> Protection settings, zoom settings, autofilter settings, certain chart formatting, hidden sheets, and other features are not supported on Excel Mobile, and will be modified upon opening and saving a workbook.<ref name="Microsoft"/> In 2015, Excel Mobile became available for Windows 10 and Windows 10 Mobile on ].<ref name=":1">{{Cite web|url=https://www.microsoft.com/en-us/store/apps/excel-mobile/9wzdncrfjbh3|title=Excel Mobile|website=]|publisher=]|access-date=June 26, 2016|archive-date=June 23, 2016|archive-url=https://web.archive.org/web/20160623090620/https://www.microsoft.com/en-us/store/apps/excel-mobile/9wzdncrfjbh3|url-status=live}}</ref><ref name=":2">{{Cite web|url=https://www.microsoft.com/en-us/store/apps/powerpoint-mobile/9wzdncrfjb5q|title=PowerPoint Mobile|website=]|publisher=]|access-date=June 26, 2016|archive-date=April 22, 2016|archive-url=https://web.archive.org/web/20160422185004/https://www.microsoft.com/en-us/store/apps/powerpoint-mobile/9wzdncrfjb5q|url-status=live}}</ref>


===Excel for the web=== ===Excel for the web===
Line 330: Line 287:
Excel for the web is a free lightweight version of Microsoft Excel available as part of Office on the web, which also includes web versions of Microsoft Word and Microsoft PowerPoint. Excel for the web is a free lightweight version of Microsoft Excel available as part of Office on the web, which also includes web versions of Microsoft Word and Microsoft PowerPoint.


Excel for the web can display most of the features available in the desktop versions of Excel, although it may not be able to insert or edit them. Certain data connections are not accessible on Excel for the web, including with charts that may use these external connections. Excel for the web also cannot display legacy features, such as Excel 4.0 macros or Excel 5.0 dialog sheets. There are also small differences between how some of the Excel functions work.<ref name="osupport-excel">{{Cite web|url=https://support.office.com/en-us/article/Differences-between-using-a-workbook-in-the-browser-and-in-Excel-F0DC28ED-B85D-4E1D-BE6D-5878005DB3B6|title=Differences between using a workbook in the browser and in Excel - Office Support|website=support.office.com|language=en-US|access-date=February 7, 2017|url-status=live|archive-url=https://web.archive.org/web/20170208034000/https://support.office.com/en-us/article/Differences-between-using-a-workbook-in-the-browser-and-in-Excel-F0DC28ED-B85D-4E1D-BE6D-5878005DB3B6|archive-date=February 8, 2017|df=dmy-all}}</ref> Excel for the web can display most of the features available in the desktop versions of Excel, although it may not be able to insert or edit them. Certain data connections are not accessible on Excel for the web, including with charts that may use these external connections. Excel for the web also cannot display legacy features, such as Excel 4.0 macros or Excel 5.0 dialog sheets. There are also small differences between how some of the Excel functions work.<ref name="osupport-excel">{{Cite web|url=https://support.office.com/en-us/article/Differences-between-using-a-workbook-in-the-browser-and-in-Excel-F0DC28ED-B85D-4E1D-BE6D-5878005DB3B6|title=Differences between using a workbook in the browser and in Excel Office Support|website=support.office.com|language=en-US|access-date=February 7, 2017|url-status=live|archive-url=https://web.archive.org/web/20170208034000/https://support.office.com/en-us/article/Differences-between-using-a-workbook-in-the-browser-and-in-Excel-F0DC28ED-B85D-4E1D-BE6D-5878005DB3B6|archive-date=February 8, 2017}}</ref>


== Microsoft Excel Viewer == <!-- Anchor from redirect; caution. --> == Microsoft Excel Viewer == <!-- Anchor from redirect; caution. -->
Microsoft Excel Viewer was a freeware program for ] for viewing and printing spreadsheet documents created by Excel.<ref>{{cite web |title=Description of the Excel Viewer |url=http://support.microsoft.com/kb/273711 |website=Microsoft |archive-url=https://web.archive.org/web/20130906014511/http://support.microsoft.com/kb/273711 |archive-date=6 April 2013 |date=17 February 2012|url-status=dead}}</ref> Microsoft retired the viewer in April 2018 with the last security update released in February 2019 for Excel Viewer 2007 (SP3).<ref name="ExcelviewerEOL">{{cite web |title=How to obtain the latest Excel Viewer |url=https://docs.microsoft.com/en-us/office/troubleshoot/excel/get-latest-excel-viewer |website=Microsoft Docs |access-date=3 January 2021 |date=22 May 2020}}</ref><ref>{{cite web |title=Description of the security update for Excel Viewer 2007: February 12, 2019 |url=https://support.microsoft.com/en-au/help/4461608/description-of-the-security-update-for-excel-viewer-2007-february-12 |website=Microsoft |access-date=3 January 2021 |date=16 April 2020}}</ref> Microsoft Excel Viewer was a freeware program for ] for viewing and printing spreadsheet documents created by Excel.<ref>{{cite web|title=Description of the Excel Viewer|url=http://support.microsoft.com/kb/273711|website=Microsoft|archive-url=https://web.archive.org/web/20130906014511/http://support.microsoft.com/kb/273711|archive-date=September 6, 2013|date=February 17, 2012|url-status=dead}}</ref> Microsoft retired the viewer in April 2018 with the last security update released in February 2019 for Excel Viewer 2007 (SP3).<ref name="ExcelviewerEOL">{{cite web|title=How to obtain the latest Excel Viewer|url=https://docs.microsoft.com/en-us/office/troubleshoot/excel/get-latest-excel-viewer|website=Microsoft Docs|access-date=January 3, 2021|date=May 22, 2020|archive-date=January 20, 2021|archive-url=https://web.archive.org/web/20210120204513/https://docs.microsoft.com/en-us/office/troubleshoot/excel/get-latest-excel-viewer|url-status=live}}</ref><ref>{{cite web|title=Description of the security update for Excel Viewer 2007: February 12, 2019|url=https://support.microsoft.com/en-au/help/4461608/description-of-the-security-update-for-excel-viewer-2007-february-12|website=Microsoft|access-date=January 3, 2021|date=April 16, 2020}}</ref>


The first version released by Microsoft was Excel 97 Viewer.<ref>{{cite web |title=Microsoft Excel Viewer |url=http://www.microsoft.com/office/msexcel/internet/viewer/ |website=Microsoft |archive-url=https://web.archive.org/web/19980120142756/http://www.microsoft.com/office/msexcel/internet/viewer/ |archive-date=20 January 1998 |date=1997|url-status=dead}}</ref><ref>{{cite web |title=Excel 97/2000 Viewer: Spreadsheet Files |url=http://www.microsoft.com/downloads/details.aspx?FamilyID=4EB83149-91DA-4110-8595-4A960D3E1C7C&displaylang=EN |website=Microsoft |archive-url=https://web.archive.org/web/20040113003810/http://www.microsoft.com/downloads/details.aspx?FamilyID=4EB83149-91DA-4110-8595-4A960D3E1C7C&displaylang=EN |archive-date=13 January 2004|url-status=dead}}</ref> Excel 97 Viewer was supported in ] for ]s.<ref>{{cite web |title=New Features in Windows CE .NET 4.1 |url=https://docs.microsoft.com/en-us/previous-versions/ms919256(v=msdn.10)?redirectedfrom=MSDN |website=Microsoft Docs |access-date=3 January 2021 |date=30 June 2006}}</ref> In October 2004, Microsoft released Excel Viewer 2003.<ref>{{cite web |title=Excel Viewer 2003 |url=http://www.microsoft.com/downloads/details.aspx?FamilyId=C8378BF4-996C-4569-B547-75EDBD03AAF0&displaylang=en |website=Microsoft |archive-url=https://web.archive.org/web/20050115054414/http://www.microsoft.com/downloads/details.aspx?FamilyId=C8378BF4-996C-4569-B547-75EDBD03AAF0&displaylang=en |archive-date=15 January 2005 |date=12 October 2004|url-status=dead}}</ref> In September 2007, Microsoft released Excel Viewer 2003 Service Pack 3 (SP3).<ref>{{cite web |title=Excel Viewer 2003 Service Pack 3 (SP3) |url=http://www.microsoft.com/downloads/details.aspx?FamilyId=50A22D11-7CC6-4C3A-B3EC-A9EA4E39E28E&displaylang=en |website=Microsoft |archive-url=https://web.archive.org/web/20071011003602/http://www.microsoft.com/downloads/details.aspx?FamilyId=50A22D11-7CC6-4C3A-B3EC-A9EA4E39E28E&displaylang=en |archive-date=11 October 2007 |date=17 September 2007|url-status=dead}}</ref> In January 2008, Microsoft released Excel Viewer 2007 (featuring a non-collapsible ] interface).<ref>{{cite web |title=Excel Viewer |url=http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1cd6acf9-ce06-4e1c-8dcf-f33f669dbc3a&displaylang=en |website=Microsoft |archive-url=https://web.archive.org/web/20100926003423/http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1cd6acf9-ce06-4e1c-8dcf-f33f669dbc3a&displaylang=en |archive-date=26 September 2010 |date=14 January 2008|url-status=dead}}</ref> In April 2009, Microsoft released Excel Viewer 2007 Service Pack 2 (SP2).<ref>{{cite web |title=Excel Viewer 2007 Service Pack 2 (SP2) |url=http://www.microsoft.com/en-us/download/details.aspx?id=17724 |website=Microsoft |archive-url=https://web.archive.org/web/20120428065656/http://www.microsoft.com/en-us/download/details.aspx?id=17724 |archive-date=28 April 2012 |date=24 April 2009|url-status=dead}}</ref> In October 2011, Microsoft released Excel Viewer 2007 Service Pack 3 (SP3).<ref>{{cite web |title=Excel Viewer 2007 Service Pack 3 (SP3) |url=http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27833 |website=Microsoft |archive-url=https://web.archive.org/web/20111229015742/http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27833 |archive-date=29 December 2011 |date=25 October 2011 |url-status=dead}}</ref> The first version released by Microsoft was Excel 97 Viewer.<ref>{{cite web|title=Microsoft Excel Viewer|url=http://www.microsoft.com/office/msexcel/internet/viewer/|website=Microsoft|archive-url=https://web.archive.org/web/19980120142756/http://www.microsoft.com/office/msexcel/internet/viewer/|archive-date=January 20, 1998|year=1997|url-status=dead}}</ref><ref>{{cite web|title=Excel 97/2000 Viewer: Spreadsheet Files|url=http://www.microsoft.com/downloads/details.aspx?FamilyID=4EB83149-91DA-4110-8595-4A960D3E1C7C&displaylang=EN|website=Microsoft|archive-url=https://web.archive.org/web/20040113003810/http://www.microsoft.com/downloads/details.aspx?FamilyID=4EB83149-91DA-4110-8595-4A960D3E1C7C&displaylang=EN|archive-date=January 13, 2004|url-status=dead}}</ref> Excel 97 Viewer was supported in ] for ]s.<ref>{{cite web|title=New Features in Windows CE .NET 4.1|url=https://docs.microsoft.com/en-us/previous-versions/ms919256(v=msdn.10)?redirectedfrom=MSDN|website=Microsoft Docs|access-date=January 3, 2021|date=June 30, 2006|archive-date=March 11, 2020|archive-url=https://web.archive.org/web/20200311221519/https://docs.microsoft.com/en-us/previous-versions/ms919256(v=msdn.10)?redirectedfrom=MSDN|url-status=live}}</ref> In October 2004, Microsoft released Excel Viewer 2003.<ref>{{cite web|title=Excel Viewer 2003|url=http://www.microsoft.com/downloads/details.aspx?FamilyId=C8378BF4-996C-4569-B547-75EDBD03AAF0&displaylang=en|website=Microsoft|archive-url=https://web.archive.org/web/20050115054414/http://www.microsoft.com/downloads/details.aspx?FamilyId=C8378BF4-996C-4569-B547-75EDBD03AAF0&displaylang=en|archive-date=January 15, 2005|date=October 12, 2004|url-status=dead}}</ref> In September 2007, Microsoft released Excel Viewer 2003 Service Pack 3 (SP3).<ref>{{cite web|title=Excel Viewer 2003 Service Pack 3 (SP3)|url=http://www.microsoft.com/downloads/details.aspx?FamilyId=50A22D11-7CC6-4C3A-B3EC-A9EA4E39E28E&displaylang=en|website=Microsoft|archive-url=https://web.archive.org/web/20071011003602/http://www.microsoft.com/downloads/details.aspx?FamilyId=50A22D11-7CC6-4C3A-B3EC-A9EA4E39E28E&displaylang=en|archive-date=October 11, 2007|date=September 17, 2007|url-status=dead}}</ref> In January 2008, Microsoft released Excel Viewer 2007 (featuring a non-collapsible ] interface).<ref>{{cite web|title=Excel Viewer|url=http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1cd6acf9-ce06-4e1c-8dcf-f33f669dbc3a&displaylang=en|website=Microsoft|archive-url=https://web.archive.org/web/20100926003423/http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1cd6acf9-ce06-4e1c-8dcf-f33f669dbc3a&displaylang=en|archive-date=September 26, 2010|date=January 14, 2008|url-status=dead}}</ref> In April 2009, Microsoft released Excel Viewer 2007 Service Pack 2 (SP2).<ref>{{cite web|title=Excel Viewer 2007 Service Pack 2 (SP2)|url=http://www.microsoft.com/en-us/download/details.aspx?id=17724|website=Microsoft|archive-url=https://web.archive.org/web/20120428065656/http://www.microsoft.com/en-us/download/details.aspx?id=17724|archive-date=April 28, 2012|date=April 24, 2009|url-status=dead}}</ref> In October 2011, Microsoft released Excel Viewer 2007 Service Pack 3 (SP3).<ref>{{cite web|title=Excel Viewer 2007 Service Pack 3 (SP3)|url=http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27833|website=Microsoft|archive-url=https://web.archive.org/web/20111229015742/http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27833|archive-date=December 29, 2011|date=October 25, 2011|url-status=dead}}</ref>


Microsoft advises to view and print Excel files for free to use the ] application for ] and for ] and ] to upload the file to ] and use ] with a ] to open them in a ].<ref name="ExcelviewerEOL"/><ref>{{cite web |title=Supported versions of the Office viewers |url=https://support.microsoft.com/en-au/help/979860/supported-versions-of-the-office-viewers |website=Microsoft |access-date=3 January 2021 |date=16 April 2020}}</ref> Microsoft advises to view and print Excel files for free to use the ] application for ] and for ] and ] to upload the file to ] and use ] with a ] to open them in a ].<ref name="ExcelviewerEOL"/><ref>{{cite web|title=Supported versions of the Office viewers|url=https://support.microsoft.com/en-au/help/979860/supported-versions-of-the-office-viewers|website=Microsoft|access-date=January 3, 2021|date=April 16, 2020|archive-date=January 17, 2021|archive-url=https://web.archive.org/web/20210117195923/https://support.microsoft.com/en-au/help/979860/supported-versions-of-the-office-viewers|url-status=live}}</ref>


== Quirks == == Limitations and errors ==


In addition to ] in general, other problems specific to Excel include numeric precision, misleading statistics functions, mod function errors, date limitations and more. In addition to ] in general, other problems specific to Excel include numeric precision, misleading statistics functions, mod function errors, date limitations and more.
Line 349: Line 306:
Despite the use of 15-figure precision, Excel can display many more figures (up to thirty) upon user request. But the displayed figures are ''not'' those actually used in its computations, and so, for example, the difference of two numbers may differ from the difference of their displayed values. Although such departures are usually beyond the 15th decimal, exceptions do occur, especially for very large or very small numbers. Serious errors can occur if decisions are made based upon automated comparisons of numbers (for example, using the Excel ''If'' function), as equality of two numbers can be unpredictable.{{citation needed|date=August 2016}} Despite the use of 15-figure precision, Excel can display many more figures (up to thirty) upon user request. But the displayed figures are ''not'' those actually used in its computations, and so, for example, the difference of two numbers may differ from the difference of their displayed values. Although such departures are usually beyond the 15th decimal, exceptions do occur, especially for very large or very small numbers. Serious errors can occur if decisions are made based upon automated comparisons of numbers (for example, using the Excel ''If'' function), as equality of two numbers can be unpredictable.{{citation needed|date=August 2016}}


In the figure, the fraction 1/9000 is displayed in Excel. Although this number has a decimal representation that is an infinite string of ones, Excel displays only the leading 15 figures. In the second line, the number one is added to the fraction, and again Excel displays only 15 figures. In the third line, one is subtracted from the sum using Excel. Because the sum in the second line has only eleven 1's after the decimal, the difference when 1 is subtracted from this displayed value is three 0's followed by a string of eleven 1's. However, the difference reported by Excel in the third line is three 0's followed by a string of ''thirteen'' 1's and two extra erroneous digits. This is because Excel calculates with about half a digit more than it displays.<!-- In the figure, the fraction 1/9000 is displayed in Excel. Although this number has a decimal representation that is an infinite string of ones, Excel displays only the leading 15 figures. In the second line, the number one is added to the fraction, and again Excel displays only 15 figures. In the third line, one is subtracted from the sum using Excel. Because the sum in the second line has only eleven 1's after the decimal, the difference when 1 is subtracted from this displayed value is three 0's followed by a string of eleven 1's. However, the difference reported by Excel in the third line is three 0's followed by a string of ''thirteen'' 1's and two extra erroneous digits. This is because Excel calculates with about half a digit more than it displays.
Note: previously this paragraph contained the following sentence:
Moreover, the error in Excel's answer is not just ].
This is erroneous, the result Excel displays is simple round-off error. You can follow this yourself with pen and paper if you wish (numbers hexadecimal unless otherwise stated):
1 / 9000(dec) = 1 / 2382 = 4000 / 2382 / 4000
Use long division to get: 1.D208A5A912E32 / 4000
(Where the last 2 is rounded from 19B...)
1.D208A5A912E32 / 4000 + 1 =
4001.D208A5A912E32 / 4000 =
1.0007482296A45
(Where the last 5 is rounded from 4B8C)
1.0007482296A45 - 1 =
0.7482296A45 / 1000 =
1.D208A5A914 / 4000 =
0.000111111111111173(dec)
The unexpected extra precision comes because at we store about 15.6(dec) decimal digits (excluding the leading 1), in other words 1.00011111111111(dec) + a little bit.
-->


Excel works with a modified 1985 version of the ].<ref name="microsoft_spec">Microsoft's overview is found at: {{cite web|url=http://support.microsoft.com/kb/78113/en-us|title=Floating-point arithmetic may give inaccurate results in Excel|work=Revision 8.2; article ID: 78113|publisher=Microsoft support|date=June 30, 2010|access-date=July 2, 2010|archive-date=May 14, 2011|archive-url=https://web.archive.org/web/20110514172904/http://support.microsoft.com/kb/78113/EN-US|url-status=live}}</ref> Excel's implementation involves conversions between binary and decimal representations, leading to accuracy that is on average better than one would expect from simple fifteen digit precision, but that can be worse. See the main article for details.
Excel works with a modified 1985 version of the ].<ref name="microsoft_spec">
Microsoft's overview is found at: {{cite web |url=http://support.microsoft.com/kb/78113/en-us |title=Floating-point arithmetic may give inaccurate results in Excel |publisher=Microsoft support |work=Revision 8.2 ; article ID: 78113 |date=June 30, 2010 |access-date=July 2, 2010 }}
</ref> Excel's implementation involves conversions between binary and decimal representations, leading to accuracy that is on average better than one would expect from simple fifteen digit precision, but that can be worse.<!--
Note that is originally said "much worse". However, the apparent extra precision from using decimal arithmetic is illusory:
1 + 1.000e-14 = 1.00000000000001
1.00000000000001 - 1 = 1.000e-14 (Oh, look how accurate!)
But 1 + 1.234e-14 = 1.00000000000001
1.00000000000001 - 1 = 1.000e-14
So it turns out the last digits were fake.
--> See the main article for details.


Besides accuracy in user computations, the question of accuracy in Excel-provided functions may be raised. Particularly in the arena of statistical functions, Excel has been criticized for sacrificing accuracy for speed of calculation.<ref name="Altman"> Besides accuracy in user computations, the question of accuracy in Excel-provided functions may be raised. Particularly in the arena of statistical functions, Excel has been criticized for sacrificing accuracy for speed of calculation.<ref name="Altman">
{{cite book |title=Numerical issues in statistical computing for the social scientist |last1=Altman |first1=Micah|author-link1=Micah Altman |last2=Gill |first2=Jeff |author-link2=Jeff Gill (academic) |last3=McDonald |first3=Michael |year=2004 |publisher=Wiley-IEEE |isbn=978-0-471-23633-7 |chapter-url=https://books.google.com/books?id=j_KevqVO3zAC&pg=PA12 |chapter=§2.1.1 Revealing example: Computing the coefficient standard deviation |page=12 }} {{cite book|title=Numerical issues in statistical computing for the social scientist|last1=Altman|first1=Micah|author-link1=Micah Altman|last2=Gill|first2=Jeff|author-link2=Jeff Gill (academic)|last3=McDonald|first3=Michael|year=2004|publisher=Wiley-IEEE|isbn=978-0-471-23633-7|chapter-url=https://books.google.com/books?id=j_KevqVO3zAC&pg=PA12|chapter=§2.1.1 Revealing example: Computing the coefficient standard deviation|page=12}}
</ref><ref name="deLevie2">{{cite book |first=Robert |last=de Levie |title=''cited work'' |isbn=978-0-19-515275-3 |year=2004 |pages=45–46 }}</ref> </ref><ref name="deLevie2">{{cite book|first=Robert|last=de Levie|title=''cited work''|isbn=978-0-19-515275-3|year=2004|pages=45–46|publisher=Oxford University Press}}</ref>


As many calculations in Excel are executed using ], an additional issue is the accuracy of VBA, which varies with variable type and user-requested precision.<ref name="John_Walkenbach_0"> As many calculations in Excel are executed using VBA, an additional issue is the accuracy of VBA, which varies with variable type and user-requested precision.<ref name="John_Walkenbach_0">
{{cite book |title=Excel 2010 Power Programming with VBA |chapter=Defining data types |pages=198 ''ff'' and Table 8–1 |isbn=978-0-470-47535-5 |first=John |last=Walkenbach |year=2010 |publisher=Wiley |chapter-url=https://books.google.com/books?id=dtSdrjjVXrwC&pg=PA198 }}</ref> {{cite book|title=Excel 2010 Power Programming with VBA|chapter=Defining data types|pages=198 ''ff'' and Table 8–1|isbn=978-0-470-47535-5|first=John|last=Walkenbach|year=2010|publisher=Wiley|chapter-url=https://books.google.com/books?id=dtSdrjjVXrwC&pg=PA198}}</ref>


=== Statistical functions === === Statistical functions ===
The accuracy and convenience of statistical tools in Excel has been criticized,<ref>{{cite journal |last=McCullough |first=Bruce D. |author2=Wilson, Berry |title=On the accuracy of statistical procedures in Microsoft Excel 2000 and Excel XP |journal=Computational Statistics & Data Analysis |year=2002 |volume=40 |issue=4 |pages=713–721 |doi=10.1016/S0167-9473(02)00095-6 }}</ref><ref>{{cite journal |last=McCullough |first=Bruce D. |author2=Heiser, David A. |title=On the accuracy of statistical procedures in Microsoft Excel 2007 |journal=Computational Statistics & Data Analysis |year=2008 |volume=52 |issue=10 |pages=4570–4578 |doi=10.1016/j.csda.2008.03.004 |citeseerx=10.1.1.455.5508 }}</ref><ref>{{cite journal |last=Yalta |first=A. Talha |title=The accuracy of statistical distributions in Microsoft Excel 2007 |journal=Computational Statistics & Data Analysis |year=2008 |volume=52 |issue=10 |pages=4579–4586 |doi=10.1016/j.csda.2008.03.005 }}</ref><ref>{{cite web|url=http://www-unix.oit.umass.edu/~evagold/excel.html |title=Using Excel for Statistical Data Analysis—Caveats |publisher= University of Massachusetts School of Public Health |last=Goldwater |first=Eva |access-date=November 10, 2008 }}</ref><ref name="Heiser"> The accuracy and convenience of statistical tools in Excel has been criticized,<ref>{{cite journal|last=McCullough|first=Bruce D.|author2=Wilson, Berry|title=On the accuracy of statistical procedures in Microsoft Excel 2000 and Excel XP|journal=Computational Statistics & Data Analysis|year=2002|volume=40|issue=4|pages=713–721|doi=10.1016/S0167-9473(02)00095-6}}</ref><ref>{{cite journal|last=McCullough|first=Bruce D.|author2=Heiser, David A.|title=On the accuracy of statistical procedures in Microsoft Excel 2007|journal=Computational Statistics & Data Analysis|year=2008|volume=52|issue=10|pages=4570–4578|doi=10.1016/j.csda.2008.03.004|citeseerx=10.1.1.455.5508}}</ref><ref>{{cite journal|last=Yalta|first=A. Talha|title=The accuracy of statistical distributions in Microsoft Excel 2007|journal=Computational Statistics & Data Analysis|year=2008|volume=52|issue=10|pages=4579–4586|doi=10.1016/j.csda.2008.03.005}}</ref><ref>{{cite web|url=http://www-unix.oit.umass.edu/~evagold/excel.html|title=Using Excel for Statistical Data Analysis—Caveats|publisher=University of Massachusetts School of Public Health|last=Goldwater|first=Eva|access-date=November 10, 2008|archive-date=May 16, 2008|archive-url=https://web.archive.org/web/20080516091435/http://www-unix.oit.umass.edu/%7Eevagold/excel.html|url-status=live}}</ref><ref name="Heiser">
{{cite web |url=http://www.daheiser.info/excel/frontpage.html |title=Microsoft Excel 2000, 2003 and 2007 faults, problems, workarounds and fixes |first=David A. |last=Heiser |year=2008 |access-date=April 8, 2010 |url-status=dead |archive-url=https://web.archive.org/web/20100418172334/http://www.daheiser.info/excel/frontpage.html |archive-date=April 18, 2010 |df=mdy-all }} {{cite web|url=http://www.daheiser.info/excel/frontpage.html|title=Microsoft Excel 2000, 2003 and 2007 faults, problems, workarounds and fixes|first=David A.|last=Heiser|year=2008|access-date=April 8, 2010|url-status=dead|archive-url=https://web.archive.org/web/20100418172334/http://www.daheiser.info/excel/frontpage.html|archive-date=April 18, 2010}}
</ref> as mishandling missing data, as returning incorrect values due to inept handling of round-off and large numbers, as only selectively updating calculations on a spreadsheet when some cell values are changed, and as having a limited set of statistical tools. Microsoft has announced some of these issues are addressed in Excel 2010.<ref name="corrections"> </ref> as mishandling situations when data is missing, as returning incorrect values due to inept handling of round-off and large numbers, as only selectively updating calculations on a spreadsheet when some cell values are changed, and as having a limited set of statistical tools. Microsoft has announced that some of these issues are addressed in Excel 2010.<ref name="corrections">
{{webarchive|url=https://web.archive.org/web/20100406191751/http://blogs.msdn.com/excel/archive/2009/09/10/function-improvements-in-excel-2010.aspx |date=April 6, 2010 }} Comments are provided from readers that may illuminate some remaining problems. {{webarchive|url=https://web.archive.org/web/20100406191751/http://blogs.msdn.com/excel/archive/2009/09/10/function-improvements-in-excel-2010.aspx |date=April 6, 2010 }} Comments are provided from readers that may illuminate some remaining problems.
</ref> </ref>


=== Excel MOD function error === === Excel MOD function error ===
Excel has issues with ]s. In the case of excessively large results, Excel will return the error warning {{samp|#NUM!}} instead of an answer.<ref>{{cite web |url=http://www.bygsoftware.com/issues/modbug.html |title=The MOD bug |publisher=Byg Software |access-date=November 10, 2008 |archive-url=https://web.archive.org/web/20160111114148/http://www.bygsoftware.com/issues/modbug.html |archive-date=January 11, 2016 |url-status=dead }}</ref> Excel has issues with ]s. In the case of excessively large results, Excel will return the error warning {{samp|#NUM!}} instead of an answer.<ref>{{cite web|url=http://www.bygsoftware.com/issues/modbug.html|title=The MOD bug|publisher=Byg Software|access-date=November 10, 2008|archive-url=https://web.archive.org/web/20160111114148/http://www.bygsoftware.com/issues/modbug.html|archive-date=January 11, 2016|url-status=dead}}</ref>


=== Fictional leap day in the year 1900 === === Fictional leap day in the year 1900 ===
Excel includes February 29, 1900, incorrectly treating 1900 as a ], even though e.g. 2100 is correctly treated as a non-leap year.<ref>{{cite web |url=http://support.microsoft.com/kb/214058/en-us |title=Days of the week before March 1, 1900 are incorrect in Excel |publisher=Microsoft |access-date=November 10, 2008 |archive-url=https://archive.today/20120714062344/http://support.microsoft.com/kb/214058/en-us |archive-date=July 14, 2012 |url-status=live }}</ref><ref>{{cite web |url=https://docs.microsoft.com/office/troubleshoot/excel/wrongly-assumes-1900-is-leap-year |title=Excel incorrectly assumes that the year 1900 is a leap year |publisher=Microsoft |access-date=2019-05-01}}</ref> The bug originated from ] (deliberately implemented to save computer memory), and was also purposely implemented in Excel, for the purpose of ].<ref>{{cite web |url=http://www.joelonsoftware.com/items/2006/06/16.html |title=My First BillG Review |first=Joel |last=Spolsky |publisher=Joel on Software |date=June 16, 2006 |access-date=November 10, 2008 }}</ref> This legacy has later been carried over into ] file format.<ref name="The Contradictory Nature of OOXML">{{cite web |url=http://www.consortiuminfo.org/standardsblog/article.php?story=20070117145745854 |title=The Contradictory Nature of OOXML |date=January 17, 2007 |publisher=ConsortiumInfo.org }}</ref> Excel includes February 29, 1900, incorrectly treating 1900 as a ], even though e.g. 2100 is correctly treated as a non-leap year.<ref>{{cite web|url=http://support.microsoft.com/kb/214058/en-us|title=Days of the week before March 1, 1900 are incorrect in Excel|publisher=Microsoft|access-date=November 10, 2008|archive-url=https://archive.today/20120714062344/http://support.microsoft.com/kb/214058/en-us|archive-date=July 14, 2012|url-status=live}}</ref><ref>{{cite web|url=https://docs.microsoft.com/office/troubleshoot/excel/wrongly-assumes-1900-is-leap-year|title=Excel incorrectly assumes that the year 1900 is a leap year|publisher=Microsoft|access-date=May 1, 2019|archive-date=June 7, 2023|archive-url=https://web.archive.org/web/20230607133954/https://learn.microsoft.com/en-ca/office/troubleshoot/excel/wrongly-assumes-1900-is-leap-year|url-status=live}}</ref> Thus, a formula counting dates between (for example) February 1, 1900 and March 1, 1900 will return an incorrect result. The bug originated from ], where it was deliberately implemented to save computer memory, and was also intentionally implemented in Excel for the purpose of ].<ref>{{cite web|url=http://www.joelonsoftware.com/items/2006/06/16.html|title=My First BillG Review|first=Joel|last=Spolsky|publisher=Joel on Software|date=June 16, 2006|access-date=November 10, 2008|archive-date=June 7, 2008|archive-url=https://web.archive.org/web/20080607153522/http://www.joelonsoftware.com/items/2006/06/16.html|url-status=live}}</ref> This legacy has later been carried over into Office Open XML file format.<ref name="The Contradictory Nature of OOXML">{{cite web|url=http://www.consortiuminfo.org/standardsblog/article.php?story=20070117145745854|title=The Contradictory Nature of OOXML|date=January 17, 2007|publisher=ConsortiumInfo.org|access-date=September 23, 2009|archive-date=August 18, 2009|archive-url=https://web.archive.org/web/20090818095243/http://www.consortiuminfo.org/standardsblog/article.php?story=20070117145745854|url-status=live}}</ref>

Thus a (not necessarily whole) number greater than or equal to 61 interpreted as a date and time are the (real) number of days after December 30, 1899, 0:00, a non-negative number less than 60 is the number of days after December 31, 1899, 0:00, and numbers with whole part 60 represent the fictional day.


=== Date range === === Date range ===
Excel supports dates with years in the range 1900–9999, except that December 31, 1899, can be entered as 0 and is displayed as 0-jan-1900. Excel supports dates with years in the range 1900–9999, except that December 31, 1899, can be entered as 0 and is displayed as 0-jan-1900.


Converting a fraction of a day into hours, minutes and days by treating it as a moment on the day January 1, 1900, does not work for a negative fraction.<ref>{{cite web|url=http://support.microsoft.com/kb/182247 |title=Negative date and time value are displayed as pound signs (###) in Excel |publisher=Microsoft |access-date=March 26, 2012 }}</ref> Converting a fraction of a day into hours, minutes and days by treating it as a moment on the day January 1, 1900, does not work for a negative fraction.<ref>{{cite web|url=http://support.microsoft.com/kb/182247|title=Negative date and time value are displayed as pound signs (###) in Excel|publisher=Microsoft|access-date=March 26, 2012|archive-date=February 26, 2015|archive-url=https://web.archive.org/web/20150226120445/http://support.microsoft.com/kb/182247|url-status=live}}</ref>


=== Conversion problems === === Conversion problems ===
Entering text that happens to be in a form that is interpreted as a date, the text can be unintentionally changed to a standard date format. A similar problem occurs when a text happens to be in the form of a floating-point notation of a number. In these cases the original exact text cannot be recovered from the result. Formatting the cell as TEXT before entering ambiguous text prevents Excel from converting to a date. If text is entered that happens to be in a form that Excel interprets as a date, the text can be unintentionally changed to a standard date format. A similar problem occurs when a text happens to be in the form of a floating-point notation of a number. In these cases the original exact text cannot be recovered from the result. Formatting the cell as TEXT before entering ambiguous text prevents Excel from converting it.

This issue has caused a well known problem in the analysis of ], for example in ]. As first reported in 2004,<ref name=ExcelAteMyDNA>{{cite journal|last1=Zeeberg|first1=Barry R|last2=Riss|first2=Joseph|last3=Kane|first3=David W|last4=Bussey|first4=Kimberly J|last5=Uchio|first5=Edward|last6=Linehan|first6=W Marston|last7=Barrett|first7=J Carl|last8=Weinstein|first8=John N|journal=]|volume=5|issue=1|year=2004|pages=80|pmid=15214961|pmc=459209|doi=10.1186/1471-2105-5-80|doi-access=free|title=Mistaken Identifiers: Gene name errors can be introduced inadvertently when using Excel in bioinformatics}}</ref> genetic scientists found that Excel automatically and incorrectly converts certain ] into dates. A follow-up study in 2016 found many ]ed ] papers had been affected and that "Of the selected journals, the proportion of published articles with Excel files containing gene lists that are affected by gene name errors is 19.6%."<ref name=ExcelAteMyDNAagain>{{cite journal|last1=Ziemann|first1=Mark|last2=Eren|first2=Yotam|last3=El-Osta|first3=Assam|title=Gene name errors are widespread in the scientific literature|journal=]|volume=17|issue=1|pages=177|year=2016|pmid=27552985|doi=10.1186/s13059-016-1044-7|doi-access=free|pmc=4994289}}</ref> Excel parses the copied and pasted data and sometimes changes them depending on what it thinks they are. For example, ] gets converted to the date March 1 (1-Mar) and ] is converted into September 2 (2-Sep) etc.<ref name=bbcnewsexcel>{{cite web|url=https://www.bbc.co.uk/news/technology-37176926|publisher=BBC News|location=London|year=2016|title=Microsoft Excel blamed for gene study errors|author=Anon|access-date=June 21, 2018|archive-date=November 21, 2018|archive-url=https://web.archive.org/web/20181121204709/https://www.bbc.co.uk/news/technology-37176926|url-status=live}}</ref> While some secondary news sources<ref>{{cite web|last1=Cimpanu|first1=Catalin|title=One in Five Scientific Papers on Genes Contains Errors Because of Excel|url=http://news.softpedia.com/news/one-in-five-scientific-papers-on-genes-contains-errors-because-of-excel-507582.shtml|website=]|publisher=SoftNews|date=August 24, 2016|access-date=August 24, 2016|archive-date=August 25, 2016|archive-url=https://web.archive.org/web/20160825195333/http://news.softpedia.com/news/one-in-five-scientific-papers-on-genes-contains-errors-because-of-excel-507582.shtml|url-status=live}}</ref> reported this as a fault with Excel, the original authors of the 2016 paper placed the blame with the researchers misusing Excel.<ref name=ExcelAteMyDNAagain/><ref>{{cite web|url=http://genomespot.blogspot.co.uk/2016/08/my-personal-thoughts-on-gene-name-errors.html|first=Mark|last=Ziemann|year=2016|title=Genome Spot: My personal thoughts on gene name errors|website=genomespot.blogspot.co.uk|archive-url=https://web.archive.org/web/20160830135847/http://genomespot.blogspot.co.uk/2016/08/my-personal-thoughts-on-gene-name-errors.html?m=1|archive-date=August 30, 2016}}</ref>


In August 2020 the ] published new guidelines in the journal ] regarding gene naming in order to avoid issues with "symbols that affect data handling and retrieval." So far 27 genes have been renamed, including changing MARCH1 to MARCHF1 and SEPT1 to SEPTIN1 in order to avoid accidental conversion of the gene names into dates.<ref>{{Cite web|last=Vincent|first=James|date=August 6, 2020|title=Scientists rename human genes to stop Microsoft Excel from misreading them as dates|url=https://www.theverge.com/2020/8/6/21355674/human-genes-rename-microsoft-excel-misreading-dates|access-date=October 9, 2020|website=The Verge|language=en|archive-date=October 9, 2020|archive-url=https://web.archive.org/web/20201009125307/https://www.theverge.com/2020/8/6/21355674/human-genes-rename-microsoft-excel-misreading-dates|url-status=live}}</ref>
This issue has caused a well known problem in the analysis of ], for example in ]. As first reported in 2004,<ref name=ExcelAteMyDNA>{{cite journal|last1=Zeeberg|first1=Barry R|last2=Riss|first2=Joseph|last3=Kane|first3=David W|last4=Bussey|first4=Kimberly J|last5=Uchio|first5=Edward|last6=Linehan|first6=W Marston|last7=Barrett|first7=J Carl|last8=Weinstein|first8=John N|journal=]|volume=5|issue=1|year=2004|pages=80|pmid=15214961|pmc=459209|doi=10.1186/1471-2105-5-80|doi-access=free|title=Mistaken Identifiers: Gene name errors can be introduced inadvertently when using Excel in bioinformatics}}</ref> genetic scientists found that Excel automatically and incorrectly converts certain ] into dates. A follow-up study in 2016 found many ]ed ] papers had been affected and that "Of the selected journals, the proportion of published articles with Excel files containing gene lists that are affected by gene name errors is 19.6 %."<ref name=ExcelAteMyDNAagain>{{cite journal|last1=Ziemann|first1=Mark|last2=Eren|first2=Yotam|last3=El-Osta|first3=Assam|title=Gene name errors are widespread in the scientific literature|journal=]|volume=17|issue=1|pages=177|year=2016|pmid=27552985|doi=10.1186/s13059-016-1044-7|doi-access=free|pmc=4994289}}</ref> Excel parses the copied and pasted data and sometimes changes them depending on what it thinks they are. For example, ] gets converted to the date March 1 (1-Mar) and ] is converted into September 2 (2-Sep) etc.<ref name=bbcnewsexcel>{{cite web|url=https://www.bbc.co.uk/news/technology-37176926|publisher=]|location=London|year=2016|title=Microsoft Excel blamed for gene study errors|author=Anon|website=bbc.co.uk}}</ref> While some secondary news sources<ref>{{cite web|last1=Cimpanu|first1=Catalin|title=One in Five Scientific Papers on Genes Contains Errors Because of Excel|url=http://news.softpedia.com/news/one-in-five-scientific-papers-on-genes-contains-errors-because-of-excel-507582.shtml|website=]|publisher=SoftNews|date=August 24, 2016}}</ref> reported this as a fault with Excel, the original authors of the 2016 paper placed the blame with the researchers misusing Excel.<ref name=ExcelAteMyDNAagain/><ref>{{cite web|url=http://genomespot.blogspot.co.uk/2016/08/my-personal-thoughts-on-gene-name-errors.html?m=1|first=Mark|last=Ziemann|year=2016|title=Genome Spot: My personal thoughts on gene name errors|website=genomespot.blogspot.co.uk|archive-url=https://web.archive.org/web/20160830135847/http://genomespot.blogspot.co.uk/2016/08/my-personal-thoughts-on-gene-name-errors.html?m=1|archive-date=August 30, 2016}}</ref>


In October 2023, Microsoft fixed the long-standing issue.<ref>{{cite web|title=Microsoft Fixes Excel Feature That Forced Scientists to Rename Human Genes|url=https://gizmodo.com/microsoft-fixes-excel-feature-that-forced-scientists-to-1850949443|website=Gizmodo|access-date=October 25, 2023|language=en|date=October 23, 2023}}</ref>
In August 2020 the ] published new guidelines in the journal ] regarding gene naming in order to avoid issues with "symbols that affect data handling and retrieval." So far 27 genes have been renamed, including changing MARCH1 to MARCHF1 and SEPT1 to SEPTIN1 in order to avoid accidental conversion of the gene names into dates.<ref>{{Cite web|last=Vincent|first=James|date=2020-08-06|title=Scientists rename human genes to stop Microsoft Excel from misreading them as dates|url=https://www.theverge.com/2020/8/6/21355674/human-genes-rename-microsoft-excel-misreading-dates|access-date=2020-10-09|website=The Verge|language=en}}</ref>


=== Errors with large strings === === Errors with large strings ===


The following functions return incorrect results when passed a string longer than 255 characters:<ref>{{cite web |title=Excel: type() and <code>WorksheetFunction.IsText()</code> fail for long strings |url=https://stackoverflow.com/questions/53128145/excel-type-and-worksheetfunction-istext-fail-for-long-strings |website=Stack Overflow |date=3 November 2018}}</ref> The following functions return incorrect results when passed a string longer than 255 characters:<ref>{{cite web|title=Excel: type() and <code>WorksheetFunction.IsText()</code> fail for long strings|url=https://stackoverflow.com/questions/53128145/excel-type-and-worksheetfunction-istext-fail-for-long-strings|website=Stack Overflow|date=November 3, 2018|access-date=November 5, 2018|archive-date=November 5, 2018|archive-url=https://web.archive.org/web/20181105211758/https://stackoverflow.com/questions/53128145/excel-type-and-worksheetfunction-istext-fail-for-long-strings|url-status=live}}</ref>
* {{code|type()}} incorrectly returns 16, meaning "Error value" * {{code|type()}} incorrectly returns 16, meaning "Error value"
* {{code|IsText()}}, when called as a method of the VBA object {{code|WorksheetFunction}} (i.e., {{code|WorksheetFunction.IsText()}} in VBA), incorrectly returns "false". * {{code|IsText()}}, when called as a method of the VBA object {{code|WorksheetFunction}} (i.e., {{code|WorksheetFunction.IsText()}} in VBA), incorrectly returns "false".
Line 421: Line 353:
Microsoft Excel will not open two documents with the same name and instead will display the following error: Microsoft Excel will not open two documents with the same name and instead will display the following error:


: A document with the name '%s' is already open. You cannot open two documents with the same name, even if the documents are in different folders. To open the second document, either close the document that is currently open, or rename one of the documents.<ref>{{cite news |url=http://www.thehindubusinessline.com/ew/2004/08/02/stories/2004080200260401.htm |newspaper=] |title=Trouble with macros |first=Gary |last=Rajah |date=2 August 2004 |access-date=19 March 2019}}</ref> : A document with the name '%s' is already open. You cannot open two documents with the same name, even if the documents are in different folders. To open the second document, either close the document that is currently open, or rename one of the documents.<ref>{{cite news|url=http://www.thehindubusinessline.com/ew/2004/08/02/stories/2004080200260401.htm|newspaper=]|location=Chennai|title=Trouble with macros|first=Gary|last=Rajah|date=August 2, 2004|access-date=March 19, 2019|archive-date=July 29, 2010|archive-url=https://web.archive.org/web/20100729203805/http://www.thehindubusinessline.com/ew/2004/08/02/stories/2004080200260401.htm|url-status=live}}</ref>
The reason is for calculation ambiguity with linked cells. If there is a cell {{code|1=='Sheet1'!$G$33}}, and there are two books named "Book1" open, there is no way to tell which one the user means.<ref>{{cite web |url=http://blogs.msdn.com/b/excel/archive/2009/01/07/why-can-t-i-open-two-files-with-the-same-name.aspx |title=Microsoft Excel - Why Can't I Open Two Files With the Same Name? |archive-url=https://web.archive.org/web/20100729140409/http://blogs.msdn.com/b/excel/archive/2009/01/07/why-can-t-i-open-two-files-with-the-same-name.aspx |archive-date=July 29, 2010 |access-date=19 March 2019 |first=Joseph |last=Chirilov |date=8 January 2009 |work=] |publisher=]}}</ref> The reason is for calculation ambiguity with linked cells. If there is a cell {{code|1=='Sheet1'!$G$33}}, and there are two books named "Book1" open, there is no way to tell which one the user means.<ref>{{cite web|url=http://blogs.msdn.com/b/excel/archive/2009/01/07/why-can-t-i-open-two-files-with-the-same-name.aspx|title=Microsoft Excel Why Can't I Open Two Files With the Same Name?|archive-url=https://web.archive.org/web/20100729140409/http://blogs.msdn.com/b/excel/archive/2009/01/07/why-can-t-i-open-two-files-with-the-same-name.aspx|archive-date=July 29, 2010|access-date=March 19, 2019|first=Joseph|last=Chirilov|date=January 8, 2009|work=]|publisher=]}}</ref>


== Versions == == Versions ==
] 11.5.2]]


=== Early history === === Early history ===
Microsoft originally marketed a spreadsheet program called ] in 1982. Multiplan became very popular on ] systems, but on ] systems it lost popularity to ]. Microsoft released the first version of Excel for the Macintosh on September 30, 1985, and the first Windows version was 2.05 (to synchronize with the Macintosh version 2.2) on November 19, 1987.<ref>{{cite book |url=https://books.google.com/books?id=Vi8EAAAAMBAJ&q=macintosh%20spreadsheet%20arrow%20keys%20multiplan&pg=PA30 |title=InfoWorld First Look: Supercalc 4 challenging 1-2-3 with new tactic |author1=Infoworld Media Group, Inc. |date=July 7, 1986 }}</ref><ref name="chan_TheH">{{Cite web |title=The History of Microsoft - 1987 |work=channel9.msdn.com |access-date=7 October 2022 |archive-date=27 September 2010 |url= http://channel9.msdn.com/series/history/the-history-of-microsoft-1987 |archive-url=https://web.archive.org/web/20100927044515/http://channel9.msdn.com/series/history/the-history-of-microsoft-1987 |url-status=dead }}</ref> ] was slow to bring 1-2-3 to Windows and by the early 1990s, Excel had started to outsell 1-2-3 and helped ] achieve its position as a leading PC software developer. This accomplishment solidified Microsoft as a valid competitor and showed its future of developing ] software. Microsoft maintained its advantage with regular new releases, every two years or so. Microsoft originally marketed a spreadsheet program called ] in 1982. Multiplan became very popular on ] systems, but on ] systems it lost popularity to ]. Microsoft released the first version of Excel for the Macintosh on September 30, 1985, and the first Windows version was 2.05 (to synchronize with the Macintosh version 2.2) on November 19, 1987.<ref>{{cite book|url=https://books.google.com/books?id=Vi8EAAAAMBAJ&q=macintosh%20spreadsheet%20arrow%20keys%20multiplan&pg=PA30|title=InfoWorld First Look: Supercalc 4 challenging 1-2-3 with new tactic|author1=Infoworld Media Group, Inc.|date=July 7, 1986}}</ref><ref name="chan_TheH">{{Cite web|title=The History of Microsoft 1987|work=channel9.msdn.com|access-date=October 7, 2022|archive-date=September 27, 2010|url=http://channel9.msdn.com/series/history/the-history-of-microsoft-1987|archive-url=https://web.archive.org/web/20100927044515/http://channel9.msdn.com/series/history/the-history-of-microsoft-1987|url-status=dead}}</ref> ] was slow to bring 1-2-3 to Windows and by the early 1990s, Excel had started to outsell 1-2-3 and helped ] achieve its position as a leading PC software developer. This accomplishment solidified Microsoft as a valid competitor and showed its future in developing ] software. Microsoft maintained its advantage with regular new releases, every two years or so.


=== Microsoft Windows === === Microsoft Windows ===
Line 433: Line 366:


==== Excel 2.0 (1987) ==== ==== Excel 2.0 (1987) ====
The first Windows version was labeled "2" to correspond to the Mac version. It was announced on October 6, 1987, and released on November 19.<ref>{{Cite web |title=The History of Microsoft - 1987 |work=learn.microsoft.com |access-date=7 October 2022 |url= https://learn.microsoft.com/en-us/shows/history/history-of-microsoft-1987 }}</ref> This included a run-time version of Windows.<ref name="spreadsheetpage.com">{{cite web|url=https://spreadsheetpage.com/excel-version-history/|title= Excel Version History |first=John |last=Walkenbach |date=December 4, 2013 |access-date=July 12, 2020 |work=The Spreadsheet Page |publisher=John Walkenbach }}</ref> The first Windows version was labeled "2" to correspond to the Mac version. It was announced on October 6, 1987, and released on November 19.<ref>{{Cite web|title=The History of Microsoft 1987|work=learn.microsoft.com|date=April 30, 2009|access-date=October 7, 2022|url=https://learn.microsoft.com/en-us/shows/history/history-of-microsoft-1987|archive-date=October 7, 2022|archive-url=https://web.archive.org/web/20221007180805/https://learn.microsoft.com/en-us/shows/history/history-of-microsoft-1987|url-status=live}}</ref> This included a run-time version of Windows.<ref name="spreadsheetpage.com">{{cite web|url=https://spreadsheetpage.com/excel-version-history/|title=Excel Version History|first=John|last=Walkenbach|date=December 4, 2013|access-date=July 12, 2020|work=The Spreadsheet Page|publisher=John Walkenbach|archive-date=July 15, 2020|archive-url=https://web.archive.org/web/20200715100722/https://spreadsheetpage.com/excel-version-history/|url-status=live}}</ref>


'']'' in 1989 listed Excel for Windows as among the "Distinction" winners of the BYTE Awards. The magazine stated that the port of the "extraordinary" Macintosh version "shines", with a user interface as good as or better than the original. '']'' in 1989 listed Excel for Windows as among the "Distinction" winners of the BYTE Awards. The magazine stated that the port of the "extraordinary" Macintosh version "shines", with a user interface as good as or better than the original.
Line 441: Line 374:


==== Excel 4.0 (1992) ==== ==== Excel 4.0 (1992) ====
Introduced ].<ref>{{cite book |last=Lewallen |first=Dale |title=PC/Computing guide to Excel 4.0 for Windows |url=https://books.google.com/books?id=imoPAQAAMAAJ&q=excel+4.0+autofill |access-date=July 27, 2013 |year=1992 |publisher=] |isbn=9781562760489 |page=13}}</ref> Included with ], this version introduced ].<ref>{{cite book|last=Lewallen|first=Dale|title=PC/Computing guide to Excel 4.0 for Windows|url=https://books.google.com/books?id=imoPAQAAMAAJ&q=excel+4.0+autofill|access-date=July 27, 2013|year=1992|publisher=]|isbn=9781562760489|page=13}}</ref>


Also, an ] in Excel 4.0 reveals a hidden animation of a dancing set of numbers 1 through 3, representing Lotus 1-2-3, which is then crushed by an Excel logo.<ref>{{cite web |url=http://crashreboot.blogspot.com/2009/04/easter-eggs-we-have-loved-excel-4.html |title=Easter Eggs we have loved: Excel 4 |last1=Lake |first1=Matt |date=April 6, 2009 |website=crashreboot.blogspot.com |access-date=November 5, 2013}}</ref> Also, an ] in Excel 4.0 reveals a hidden animation of a dancing set of numbers 1 through 3, representing Lotus 1–2–3, which is then crushed by an Excel logo.<ref>{{cite web|url=http://crashreboot.blogspot.com/2009/04/easter-eggs-we-have-loved-excel-4.html|title=Easter Eggs we have loved: Excel 4|last1=Lake|first1=Matt|date=April 6, 2009|website=crashreboot.blogspot.com|access-date=November 5, 2013|archive-date=November 6, 2013|archive-url=https://web.archive.org/web/20131106214522/http://crashreboot.blogspot.com/2009/04/easter-eggs-we-have-loved-excel-4.html|url-status=live}}</ref>


==== Excel 5.0 (1993) ==== ==== Excel 5.0 (1993) ====
With version 5.0, Excel has included ] (VBA), a programming language based on ] which adds the ability to automate tasks in Excel and to provide ]s (UDF) for use in worksheets. VBA includes a fully featured ] (IDE). ] recording can produce VBA code replicating user actions, thus allowing simple automation of regular tasks. VBA allows the creation of forms and in‑worksheet controls to communicate with the user. The language supports use (but not creation) of ] (]) ]'s; later versions add support for class modules allowing the use of basic ] techniques. With version 5.0, included in ], Excel included Visual Basic for Applications (VBA), a programming language based on ] which adds the ability to automate tasks in Excel and to provide ]s (UDF) for use in worksheets. VBA includes a fully featured ] (IDE). ] recording can produce VBA code replicating user actions, thus allowing simple automation of regular tasks. VBA allows the creation of forms and in‑worksheet controls to communicate with the user. The language supports use (but not creation) of ] (]) ]'s; later versions add support for class modules allowing the use of basic ] techniques.


The automation functionality provided by VBA made Excel a target for ]. This caused serious problems until antivirus products began to detect these viruses. ] belatedly took steps to prevent the misuse by adding the ability to disable macros completely, to enable macros when opening a workbook or to trust all macros signed using a trusted certificate. The automation functionality provided by VBA made Excel a target for ]es. This caused serious problems until antivirus products began to detect these viruses. Microsoft belatedly took steps to prevent the misuse by adding the ability to disable macros completely, to enable macros when opening a workbook or to trust all macros signed using a trusted certificate.


Versions 5.0 to 9.0 of Excel contain various ], including a "Hall of Tortured Souls", a ]-like minigame, although since version&nbsp;10 ] has taken measures to eliminate such undocumented features from their products.<ref>{{cite web |url=http://blogs.msdn.com/larryosterman/archive/2005/10/21/483608.aspx |title=Why no Easter Eggs? |first=Larry |last=Osterman |date=October 21, 2005 |access-date=July 29, 2006 |work=Larry Osterman's WebLog |publisher=MSDN Blogs }}</ref> Versions 5.0 to 9.0 of Excel contain various ], including a "Hall of Tortured Souls", a ]-like minigame, although since version&nbsp;10 Microsoft has taken measures to eliminate such undocumented features from their products.<ref>{{cite web|url=http://blogs.msdn.com/larryosterman/archive/2005/10/21/483608.aspx|title=Why no Easter Eggs?|first=Larry|last=Osterman|date=October 21, 2005|access-date=July 29, 2006|work=Larry Osterman's WebLog|publisher=MSDN Blogs|archive-date=March 30, 2010|archive-url=https://web.archive.org/web/20100330065403/http://blogs.msdn.com/larryosterman/archive/2005/10/21/483608.aspx|url-status=live}}</ref>


5.0 was released in a 16-bit x86 version for Windows 3.1 and later in a 32-bit version for NT 3.51 (x86/Alpha/PowerPC) 5.0 was released in a 16-bit x86 version for Windows 3.1 and later in a 32-bit version for NT 3.51 (x86/Alpha/PowerPC)
Line 460: Line 393:
Internal rewrite to 32-bits. Almost no external changes, but faster and more stable. Internal rewrite to 32-bits. Almost no external changes, but faster and more stable.


Excel 95 contained a hidden '']''-like mini-game called "The Hall of Tortured Souls", a series of rooms featuring the names and faces of the developers as an ].<ref>{{cite web | title=Excel 95 Hall of Tortured Souls | url=http://eeggs.com/items/719.html | access-date=July 7, 2006 }}</ref> Excel 95 contained a hidden ''Doom''-like mini-game called "The Hall of Tortured Souls", a series of rooms featuring the names and faces of the developers as an Easter egg.<ref>{{cite web|title=Excel 95 Hall of Tortured Souls|url=http://eeggs.com/items/719.html|access-date=July 7, 2006|archive-date=July 6, 2006|archive-url=https://web.archive.org/web/20060706082428/http://www.eeggs.com/items/719.html|url-status=live}}</ref>


==== Excel 97 (v8.0) ==== ==== Excel 97 (v8.0) ====
Included in ] (for x86 and Alpha). This was a major upgrade that introduced the paper clip office assistant and featured standard VBA used instead of internal Excel Basic. It introduced the now-removed Natural Language labels. Included in ] (for x86 and Alpha). This was a major upgrade that introduced the paper clip office assistant and featured standard VBA used instead of internal Excel Basic. It introduced the now-removed Natural Language labels.


This version of Excel includes a flight simulator as an ]. This version of Excel includes a flight simulator as an Easter egg.


==== Excel 2000 (v9.0) ==== ==== Excel 2000 (v9.0) ====
] ]
Included in ]. This was a minor upgrade but introduced an upgrade to the clipboard where it can hold multiple objects at once. The Office Assistant, whose frequent unsolicited appearance in Excel 97 had annoyed many users, became less intrusive. Included in ]. This was a minor upgrade but introduced an upgrade to the clipboard where it can hold multiple objects at once. The Office Assistant, whose frequent unsolicited appearance in Excel 97 had annoyed many users, became less intrusive.


A small 3-D game called "Dev Hunter" (inspired by ]) was included as an easter egg.<ref>{{cite web | title=Excel Oddities: Easter Eggs | url=http://j-walk.com/ss/excel/eastereg.htm | access-date=August 10, 2006 | archive-url=https://web.archive.org/web/20060821233917/http://j-walk.com/ss/excel/eastereg.htm | archive-date=2006-08-21 | url-status=dead }}</ref><ref>{{cite web|url=http://www.totalchoicehosting.com/forums/index.php?showtopic=22511 |title=Car Game In Ms Excel |publisher=Totalchoicehosting.com |date=2005-09-06 |access-date=2014-01-28}}</ref> A small 3-D game called "Dev Hunter" (inspired by ]) was included as an Easter egg.<ref>{{cite web|title=Excel Oddities: Easter Eggs|url=http://j-walk.com/ss/excel/eastereg.htm|access-date=August 10, 2006|archive-url=https://web.archive.org/web/20060821233917/http://j-walk.com/ss/excel/eastereg.htm|archive-date=August 21, 2006|url-status=dead}}</ref><ref>{{cite web|url=http://www.totalchoicehosting.com/forums/index.php?showtopic=22511|title=Car Game in Ms Excel|publisher=Totalchoicehosting.com|date=September 6, 2005|access-date=January 28, 2014|archive-date=April 26, 2012|archive-url=https://web.archive.org/web/20120426010659/http://www.totalchoicehosting.com/forums/index.php?showtopic=22511|url-status=live}}</ref>


==== Excel 2002 (v10.0) ==== ==== Excel 2002 (v10.0) ====
Included in ]. Very minor enhancements. Included in ]. Very minor enhancements.


==== Excel 2003 (v11.0) ==== ==== Excel 2003 (v11.0) ====
Line 481: Line 414:
==== Excel 2007 (v12.0) ==== ==== Excel 2007 (v12.0) ====
] ]
Included in ]. This release was a major upgrade from the previous version. Similar to other updated Office products, Excel in 2007 used the new ] menu system. This was different from what users were used to, and was met with mixed reactions. One study reported fairly good acceptance by users except highly experienced users and users of word processing applications with a classical ], but was less convinced in terms of efficiency and organization.<ref>{{cite book | url=http://www.wseas.us/e-library/conferences/2010/Faro/DNCOCO/DNCOCO-25.pdf | title=User Acceptance of the Microsoft Ribbon User Interface | publisher=] | first=M | last=Dostál | isbn=978-960-474-245-5 | issn=1792-6157 |date=December 9, 2010 |access-date=May 28, 2013}}</ref> However, an online survey reported that a majority of respondents had a negative opinion of the change, with advanced users being "somewhat more negative" than intermediate users, and users reporting a ] reduction in productivity. Included in ]. This release was a major upgrade from the previous version. Similar to other updated Office products, Excel in 2007 used the new Ribbon menu system. This was different from what users were used to, and was met with mixed reactions. One study reported fairly good acceptance by users except for highly experienced users and users of word processing applications with a classical ], but was less convinced in terms of efficiency and organization.<ref>{{cite book|url=http://www.wseas.us/e-library/conferences/2010/Faro/DNCOCO/DNCOCO-25.pdf|title=User Acceptance of the Microsoft Ribbon User Interface|publisher=]|first=M|last=Dostál|isbn=978-960-474-245-5|issn=1792-6157|date=December 9, 2010|access-date=May 28, 2013|archive-date=February 26, 2013|archive-url=https://web.archive.org/web/20130226223646/http://www.wseas.us/e-library/conferences/2010/Faro/DNCOCO/DNCOCO-25.pdf|url-status=live}}</ref> However, an online survey reported that a majority of respondents had a negative opinion of the change, with advanced users being "somewhat more negative" than intermediate users, and users reporting a ] reduction in productivity.


Added functionality included Tables,<ref>{{Cite web|title=Using Excel Tables to Manipulate Billing Data|url=https://mooresolutionsinc.com/downloads/Billing_MJ12.pdf|url-status=dead|archive-url=https://web.archive.org/web/20230322064704/https://mooresolutionsinc.com/downloads/Billing_MJ12.pdf|archive-date=March 22, 2023|access-date=February 22, 2024}}</ref> and the ] set of editable business diagrams. Also added was an improved management of named variables through the ''Name Manager'', and much-improved flexibility in formatting graphs, which allow (''x, y'') coordinate labeling and lines of arbitrary weight. Several improvements to pivot tables were introduced.
Added functionality included Tables,<ref>[Using Excel Tables to
Manipulate Billing Data https://mooresolutionsinc.com/downloads/Billing_MJ12.pdf]</ref> and the ] set of editable business diagrams. Also added was an improved management of named variables through the ''Name Manager'', and much-improved flexibility in formatting graphs, which allow (''x, y'') coordinate labeling and lines of arbitrary weight. Several improvements to pivot tables were introduced.


Also like other office products, the ] file formats were introduced, including ''.xlsm'' for a workbook with macros and ''.xlsx'' for a workbook without macros.<ref name="Dodge">{{cite book |title=Microsoft Office Excel 2007 inside out |first1=Mark |last1=Dodge |first2=Craig |last2=Stinson |year=2007 |publisher=Microsoft Press |isbn=978-0-7356-2321-7 |chapter=Chapter 1: What's new in Microsoft Office Excel 2007|page=1 ''ff'' }}</ref> Also like other office products, the Office Open XML file formats were introduced, including ''.xlsm'' for a workbook with macros and ''.xlsx'' for a workbook without macros.<ref name="Dodge">{{cite book|title=Microsoft Office Excel 2007 inside out|first1=Mark|last1=Dodge|first2=Craig|last2=Stinson|year=2007|publisher=Microsoft Press|isbn=978-0-7356-2321-7|chapter=Chapter 1: What's new in Microsoft Office Excel 2007|page=1 ''ff''}}</ref>


Specifically, many of the size limitations of previous versions were greatly increased. To illustrate, the number of rows was now 1,048,576 (2<sup>20</sup>) and columns was 16,384 (2<sup>14</sup>; the far-right column is XFD). This changes what is a valid ''A1''&nbsp;reference versus a named range. This version made more extensive use of multiple cores for the calculation of spreadsheets; however, VBA macros are not handled in parallel and XLL add‑ins were only executed in parallel if they were ] and this was indicated at registration. Specifically, many of the size limitations of previous versions were greatly increased. To illustrate, the number of rows was now 1,048,576 (2<sup>20</sup>) and the columns was 16,384 (2<sup>14</sup>; the far-right column is XFD). This changes what is a valid ''A1''&nbsp;reference versus a named range. This version made more extensive use of multiple cores for the calculation of spreadsheets; however, VBA macros are not handled in parallel and XLL add‑ins were only executed in parallel if they were ] and this was indicated at registration.


==== Excel 2010 (v14.0) ==== ==== Excel 2010 (v14.0) ====
Line 494: Line 426:
Included in ], this is the next major version after v12.0, as version ]. Included in ], this is the next major version after v12.0, as version ].


Minor enhancements and 64-bit support,<ref name="whatsnew">{{cite web|url=http://office.microsoft.com/en-us/excel-help/what-s-new-in-excel-2010-HA010369709.aspx?CTT=1|title=What's New in Excel 2010 - Excel|access-date=September 23, 2010|archive-url=https://web.archive.org/web/20131202235535/http://office.microsoft.com/en-us/excel-help/what-s-new-in-excel-2010-HA010369709.aspx?CTT=1|archive-date=December 2, 2013|url-status=dead}}</ref> including the following: Minor enhancements and 64-bit support,<ref name="whatsnew">{{cite web|url=http://office.microsoft.com/en-us/excel-help/what-s-new-in-excel-2010-HA010369709.aspx?CTT=1|title=What's New in Excel 2010|access-date=September 23, 2010|archive-url=https://web.archive.org/web/20131202235535/http://office.microsoft.com/en-us/excel-help/what-s-new-in-excel-2010-HA010369709.aspx?CTT=1|archive-date=December 2, 2013|url-status=dead}}</ref> including the following:
* Multi-threading recalculation (MTR) for commonly used functions * Multi-threading recalculation (MTR) for commonly used functions
* Improved pivot tables * Improved pivot tables
Line 503: Line 435:
* Office 2010 ''backstage'' feature for document-related tasks * Office 2010 ''backstage'' feature for document-related tasks
* Ability to customize the Ribbon * Ability to customize the Ribbon
* Many new formulas, most highly specialized to improve accuracy<ref>{{cite book | last=Walkenbach| first=John| title=Excel 2010 Power Programming with VBA| chapter=Some Essential Background| year=2010| publisher=Wiley Publishing, Inc| location=Indianapolis, Indiana| isbn=9780470475355| page=20| chapter-url=https://books.google.com/books?id=dtSdrjjVXrwC&pg=PA20}}</ref> * Many new formulas, most highly specialized to improve accuracy<ref>{{cite book|last=Walkenbach|first=John|title=Excel 2010 Power Programming with VBA|chapter=Some Essential Background|year=2010|publisher=Wiley Publishing, Inc|location=Indianapolis, Indiana|isbn=9780470475355|page=20|chapter-url=https://books.google.com/books?id=dtSdrjjVXrwC&pg=PA20}}</ref>


==== Excel 2013 (v15.0) ==== ==== Excel 2013 (v15.0) ====
Included in ], along with a lot of new tools included in this release: Included in ], along with a lot of new tools included in this release:
* Improved Multi-threading and Memory Contention * Improved Multi-threading and Memory Contention
* FlashFill<ref>{{cite web | last=Harris| first=Steven| title=Excel 2013 - Flash Fill| url=http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_12314-Excel-2013-Flash-Fill.html| work=Experts-Exchange.com|publisher=Experts Exchange| access-date=November 23, 2013| date=October 1, 2013}}</ref> * FlashFill<ref>{{cite web|last=Harris|first=Steven|title=Excel 2013 Flash Fill|url=http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_12314-Excel-2013-Flash-Fill.html|work=Experts-Exchange.com|publisher=Experts Exchange|access-date=November 23, 2013|date=October 1, 2013|archive-date=December 2, 2013|archive-url=https://web.archive.org/web/20131202230129/http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_12314-Excel-2013-Flash-Fill.html|url-status=live}}</ref>
* Power View<ref>{{cite web | title=What's new in Excel 2013| url=http://office.microsoft.com/en-us/excel-help/what-s-new-in-excel-2013-HA102809308.aspx| work=]| publisher=]| access-date=January 25, 2014}}</ref> * Power View<ref>{{cite web|title=What's new in Excel 2013|url=http://office.microsoft.com/en-us/excel-help/what-s-new-in-excel-2013-HA102809308.aspx|work=]|publisher=]|access-date=January 25, 2014|archive-date=January 22, 2014|archive-url=https://web.archive.org/web/20140122195719/http://office.microsoft.com/en-us/excel-help/what-s-new-in-excel-2013-HA102809308.aspx|url-status=live}}</ref>
* ]<ref>{{cite web | last=K.| first=Gasper| title=Does a PowerPivot Pivot Table beat a regular Pivot Table| url=http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_12334-Does-a-PowerPivot-Pivot-Table-beat-a-regular-Pivot-Table.html| work=Experts-Exchange.com| publisher=Experts Exchange| access-date=November 23, 2013| date=October 10, 2013}}</ref> * ]<ref>{{cite web|last=K.|first=Gasper|title=Does a PowerPivot Pivot Table beat a regular Pivot Table|url=http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_12334-Does-a-PowerPivot-Pivot-Table-beat-a-regular-Pivot-Table.html|work=Experts-Exchange.com|publisher=Experts Exchange|access-date=November 23, 2013|date=October 10, 2013|archive-date=December 3, 2013|archive-url=https://web.archive.org/web/20131203003126/http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_12334-Does-a-PowerPivot-Pivot-Table-beat-a-regular-Pivot-Table.html|url-status=live}}</ref>
* Timeline Slicer * Timeline Slicer
* Windows App * Windows App
* Inquire<ref>{{cite web | last=K.| first=Gasper| title=Inquire Add-In for Excel 2013| url=http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_11629-Inquire-Add-In-for-Excel-2013.html| work=Experts-Exchange.com|publisher=Experts Exchange| access-date=November 23, 2013| date=May 20, 2013}}</ref> * Inquire<ref>{{cite web|last=K.|first=Gasper|title=Inquire Add-In for Excel 2013|url=http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_11629-Inquire-Add-In-for-Excel-2013.html|work=Experts-Exchange.com|publisher=Experts Exchange|access-date=November 23, 2013|date=May 20, 2013|archive-date=December 3, 2013|archive-url=https://web.archive.org/web/20131203013711/http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_11629-Inquire-Add-In-for-Excel-2013.html|url-status=live}}</ref>
* 50 new functions<ref>{{cite web | title=New functions in Excel 2013| url=http://office.microsoft.com/en-us/excel-help/new-functions-in-excel-2013-HA103980604.aspx| work=]| publisher=]| access-date=November 23, 2013}}</ref> * 50 new functions<ref>{{cite web|title=New functions in Excel 2013|url=http://office.microsoft.com/en-us/excel-help/new-functions-in-excel-2013-HA103980604.aspx|work=]|publisher=]|access-date=November 23, 2013|archive-date=December 3, 2013|archive-url=https://web.archive.org/web/20131203021138/http://office.microsoft.com/en-us/excel-help/new-functions-in-excel-2013-HA103980604.aspx|url-status=live}}</ref>


==== Excel 2016 (v16.0) ==== ==== Excel 2016 (v16.0) ====
Line 526: Line 458:
*Support for multiselection of Slicer items using touch *Support for multiselection of Slicer items using touch
*Time grouping and Pivot Chart Drill Down *Time grouping and Pivot Chart Drill Down
*Excel data cards<ref>{{cite web | title=What's new in Office 2016| url=https://support.office.com/en-us/article/What-s-new-in-Office-2016-Preview-4841f061-d019-45cc-af74-3e89c8cff1c4| work=]| publisher=]| access-date=August 16, 2015}}</ref> *Excel data cards<ref>{{cite web|title=What's new in Office 2016|url=https://support.office.com/en-us/article/What-s-new-in-Office-2016-Preview-4841f061-d019-45cc-af74-3e89c8cff1c4|work=]|publisher=]|access-date=August 16, 2015|archive-date=September 5, 2015|archive-url=https://web.archive.org/web/20150905061212/https://support.office.com/en-us/article/What-s-new-in-Office-2016-Preview-4841f061-d019-45cc-af74-3e89c8cff1c4|url-status=live}}</ref>


==== Excel 2019, Excel 2021, Office 365 and subsequent (v16.0) ==== ==== Excel 2019, Excel 2021, Office 365 and subsequent (v16.0) ====


Microsoft no longer releases Office or Excel in discrete versions. Instead, features are introduced automatically over time using Windows Update. The version number remains 16.0. Thereafter only the approximate dates when features appear can now be given. Microsoft no longer releases Office or Excel in discrete versions. Instead, features are introduced automatically over time using Windows Update. The version number remains 16.0. Thereafter only the approximate dates when features appear can now be given.


* Dynamic Arrays. These are essentially Array Formulas but they "Spill" automatically into neighboring cells and does not need the ctrl-shift-enter to create them. Further, dynamic arrays are the default format, with new "@" and "#" operators to provide compatibility with previous versions. This is perhaps the biggest structural change since 2007, and is in response to a similar feature in ]. Dynamic arrays started appearing in pre-releases about 2018, and as of March 2020 are available in published versions of Office 365 provided a user selected "Office Insiders". * Dynamic Arrays. These are essentially Array Formulas but they "Spill" automatically into neighboring cells and do not need the ctrl-shift-enter to create them. Further, dynamic arrays are the default format, with new "@" and "#" operators to provide compatibility with previous versions. This is perhaps the biggest structural change since 2007, and is in response to a similar feature in ]. Dynamic arrays started appearing in pre-releases about 2018, and as of March 2020 are available in published versions of Office 365 provided a user selected "Office Insiders".


=== Apple Macintosh === === Apple Macintosh ===
Line 541: Line 473:
* 1990 Excel 3.0 * 1990 Excel 3.0
* 1992 Excel 4.0 * 1992 Excel 4.0
* 1993 Excel 5.0 (part of Office 4.x—Final Motorola 680x0 version<ref>{{Cite news|url=https://news.microsoft.com/1998/01/06/microsoft-announces-march-availability-of-office-98-macintosh-edition/|title=Microsoft Announces March Availability of Office 98 Macintosh Edition|date=January 6, 1998|work=Microsoft|access-date=December 29, 2017|language=en-US}}</ref> and first PowerPC version) * 1993 Excel 5.0 (part of ]—Final Motorola 680x0 version<ref>{{Cite news|url=https://news.microsoft.com/1998/01/06/microsoft-announces-march-availability-of-office-98-macintosh-edition/|title=Microsoft Announces March Availability of Office 98 Macintosh Edition|date=January 6, 1998|work=Microsoft|access-date=December 29, 2017|language=en-US|archive-date=December 30, 2017|archive-url=https://web.archive.org/web/20171230171920/https://news.microsoft.com/1998/01/06/microsoft-announces-march-availability-of-office-98-macintosh-edition/|url-status=live}}</ref> and first PowerPC version)
* 1998 Excel 8.0 (part of ]) * 1998 Excel 8.0 (part of ])
* 2000 Excel 9.0 (part of ]) * 2000 Excel 9.0 (part of ])
Line 548: Line 480:
* 2008 Excel 12.0 (part of ]) * 2008 Excel 12.0 (part of ])
* 2010 Excel 14.0 (part of ]) * 2010 Excel 14.0 (part of ])
* 2015 Excel 15.0 (part of ]—Office 2016 for Mac brings the Mac version much closer to parity with its Windows cousin, harmonizing many of the reporting and high-level developer functions, while bringing the ribbon and styling into line with its PC counterpart.)<ref>{{Cite web|title = Office for Mac Is Finally a 'First-Class Citizen'|url = http://recode.net/2015/07/16/office-for-mac-is-finally-a-first-class-citizen/|website = Re/code|date = July 16, 2015|access-date = July 29, 2015}}</ref> * 2015 Excel 15.0 (part of ]—Office 2016 for Mac brings the Mac version much closer to parity with its Windows cousin, harmonizing many of the reporting and high-level developer functions, while bringing the ribbon and styling into line with its PC counterpart.)<ref>{{Cite web|title=Office for Mac Is Finally a 'First-Class Citizen'|url=http://recode.net/2015/07/16/office-for-mac-is-finally-a-first-class-citizen/|website=Re/code|date=July 16, 2015|access-date=July 29, 2015|archive-date=July 26, 2015|archive-url=https://web.archive.org/web/20150726185607/http://recode.net/2015/07/16/office-for-mac-is-finally-a-first-class-citizen/|url-status=live}}</ref>


=== OS/2 === === OS/2 ===
Line 598: Line 530:
|Excel 2000 |Excel 2000
|{{Version|o|9.0}} |{{Version|o|9.0}}
|Part of Microsoft Office 2000, which was itself part of Windows Millennium (also known as "Windows ME"). |Part of Microsoft Office 2000
|- |-
|2002 |2002
Line 732: Line 664:
Excel offers many ] tweaks over the earliest electronic spreadsheets; however, the essence remains the same as in the original spreadsheet software, ]: the program displays cells organized in rows and columns, and each cell may contain data or a formula, with relative or absolute references to other cells. Excel offers many ] tweaks over the earliest electronic spreadsheets; however, the essence remains the same as in the original spreadsheet software, ]: the program displays cells organized in rows and columns, and each cell may contain data or a formula, with relative or absolute references to other cells.


Excel 2.0 for Windows, which was modeled after its Mac GUI-based counterpart, indirectly expanded the installed base of the then-nascent Windows environment. Excel 2.0 was released a month before Windows 2.0, and the installed base of Windows was so low at that point in 1987 that Microsoft had to bundle a runtime version of Windows 1.0 with Excel 2.0.<ref>{{cite web |url=http://downloadsquad.switched.com/2005/11/20/happy-birthday-windows |title=Windows at 20: 20 things you didn't know about Windows 1.0 |last1=Perton |first1=Marc |date=November 20, 2005 |website=switched.com |access-date=August 1, 2013 |url-status=dead |archive-url=https://archive.today/20130411221828/http://downloadsquad.switched.com/2005/11/20/happy-birthday-windows |archive-date=April 11, 2013 |df=mdy-all }}</ref> Unlike Microsoft Word, there never was a DOS version of Excel. Excel 2.0 for Windows, which was modeled after its Mac GUI-based counterpart, indirectly expanded the installed base of the then-nascent Windows environment. Excel 2.0 was released a month before Windows 2.0, and the installed base of Windows was so low at that point in 1987 that Microsoft had to bundle a runtime version of Windows 1.0 with Excel 2.0.<ref>{{cite web|url=http://downloadsquad.switched.com/2005/11/20/happy-birthday-windows|title=Windows at 20: 20 things you didn't know about Windows 1.0|last1=Perton|first1=Marc|date=November 20, 2005|website=switched.com|access-date=August 1, 2013|url-status=dead|archive-url=https://archive.today/20130411221828/http://downloadsquad.switched.com/2005/11/20/happy-birthday-windows|archive-date=April 11, 2013}}</ref> Unlike Microsoft Word, there never was a DOS version of Excel.


Excel became the first spreadsheet to allow the user to define the appearance of spreadsheets (fonts, character attributes, and cell appearance). It also introduced intelligent cell re-computation, where only cells dependent on the cell being modified are updated (previous spreadsheet programs recomputed everything all the time or waited for a specific user command). Excel introduced auto-fill, the ability to drag and expand the selection box to automatically copy a cell or row contents to adjacent cells or rows, adjusting the copies intelligently by automatically incrementing cell references or contents. Excel also introduced extensive graphing capabilities. Excel became the first spreadsheet to allow the user to define the appearance of spreadsheets (fonts, character attributes, and cell appearance). It also introduced intelligent cell re-computation, where only cells dependent on the cell being modified are updated (previous spreadsheet programs recomputed everything all the time or waited for a specific user command). Excel introduced auto-fill, the ability to drag and expand the selection box to automatically copy a cell or row contents to adjacent cells or rows, adjusting the copies intelligently by automatically incrementing cell references or contents. Excel also introduced extensive graphing capabilities.


==Security== ==Security==
Because Excel is widely used, it has been attacked by hackers. While Excel is not directly exposed to the Internet, if an attacker can get a victim to open a file in Excel, and there is an appropriate security bug in Excel, then the attacker can gain control of the victim's computer.<ref>{{cite journal |url=http://www.computerworld.com/s/article/9128538/Attackers_exploit_unpatched_Excel_vulnerability |title=Attackers exploit unpatched Excel vulnerability |first=Gregg |last=Keizer |journal=] |date=24 February 2009 |access-date=19 March 2019 |publisher=]}}</ref> UK's ] has a tool named TORNADO ALLEY with this purpose.<ref>{{cite web |url=https://firstlook.org/theintercept/document/2014/07/14/jtrig-tools-techniques/ |title=JTRIG Tools and Techniques |work=] |date=July 14, 2014 |access-date=19 March 2019 |archive-url=https://web.archive.org/web/20140714224430/https://firstlook.org/theintercept/document/2014/07/14/jtrig-tools-techniques/ |archive-date=14 July 2014 |publisher=First Look Productions, Inc.}}</ref><ref>{{cite web |url=https://www.documentcloud.org/documents/1217406-jtrigall.html#document/p4 |title=JTRIG Tools and Techniques |page=4 |access-date=19 March 2019 |first=John |last=Cook |work=] |via=]}}</ref> Because Excel is widely used, it has been attacked by hackers. While Excel is not directly exposed to the Internet, if an attacker can get a victim to open a file in Excel, and there is an appropriate security bug in Excel, then the attacker can gain control of the victim's computer.<ref>{{cite journal|url=http://www.computerworld.com/s/article/9128538/Attackers_exploit_unpatched_Excel_vulnerability|title=Attackers exploit unpatched Excel vulnerability|first=Gregg|last=Keizer|journal=]|date=February 24, 2009|access-date=March 19, 2019|publisher=]|archive-date=July 15, 2014|archive-url=https://web.archive.org/web/20140715034015/http://www.computerworld.com/s/article/9128538/Attackers_exploit_unpatched_Excel_vulnerability|url-status=live}}</ref> UK's ] has a tool named TORNADO ALLEY with this purpose.<ref>{{cite web|url=https://firstlook.org/theintercept/document/2014/07/14/jtrig-tools-techniques/|title=JTRIG Tools and Techniques|work=]|date=July 14, 2014|access-date=March 19, 2019|archive-url=https://web.archive.org/web/20140714224430/https://firstlook.org/theintercept/document/2014/07/14/jtrig-tools-techniques/|archive-date=July 14, 2014|publisher=First Look Productions, Inc.}}</ref><ref>{{cite web|url=https://www.documentcloud.org/documents/1217406-jtrigall.html#document/p4|title=JTRIG Tools and Techniques|page=4|access-date=March 19, 2019|first=John|last=Cook|work=]|via=]|archive-date=August 8, 2014|archive-url=https://web.archive.org/web/20140808040612/https://www.documentcloud.org/documents/1217406-jtrigall.html#document/p4|url-status=live}}</ref>


== Games == == Games ==
Besides the easter eggs, numerous games have been created or recreated in Excel, such as ], ], ], ], ], ], ], ], ], ], ], and others.<ref>{{Cite web|url=https://www.makeuseof.com/tag/6-iconic-games-recreated-microsoft-excel/|title=8 Legendary Games Recreated in Microsoft Excel|first=Gavin|last=Phillips|date=December 11, 2015|website=MUO}}</ref><ref>{{Cite web|url=https://earnandexcel.com/blog/excel-games/|title=Excel Games – Fun Things to Do With Spreadsheets|date=November 10, 2021}}</ref><ref>{{Cite web|url=https://techcommunity.microsoft.com/t5/excel-blog/unusual-uses-of-excel/ba-p/3576867|title=Unusual Uses of Excel|date=August 5, 2022|website=techcommunity.microsoft.com}}</ref><ref>{{Cite web|url=https://www.engadget.com/2019-09-09-civilization-microsoft-excel.html|title=Someone made a version of ‘Civilization’ that runs in Microsoft Excel|website=Engadget}}</ref><ref>{{Cite web|url=https://www.contextures.com/excelgames.html|title=Have Fun Playing Games in Excel|first=Debra|last=Dalgleish|website=Contextures Excel Tips}}</ref> Besides the easter eggs, numerous games have been created or recreated in Excel, such as '']'', ], '']'', '']'', '']'', '']'', ], ], ], ], '']'', and others.<ref>{{Cite web|url=https://www.makeuseof.com/tag/6-iconic-games-recreated-microsoft-excel/|title=8 Legendary Games Recreated in Microsoft Excel|first=Gavin|last=Phillips|date=December 11, 2015|website=MUO|access-date=February 16, 2023|archive-date=February 16, 2023|archive-url=https://web.archive.org/web/20230216002404/https://www.makeuseof.com/tag/6-iconic-games-recreated-microsoft-excel/|url-status=live}}</ref><ref>{{Cite web|url=https://earnandexcel.com/blog/excel-games/|title=Excel Games – Fun Things to Do With Spreadsheets|date=November 10, 2021|access-date=February 16, 2023|archive-date=February 16, 2023|archive-url=https://web.archive.org/web/20230216002405/https://earnandexcel.com/blog/excel-games/|url-status=live}}</ref><ref>{{Cite web|url=https://techcommunity.microsoft.com/t5/excel-blog/unusual-uses-of-excel/ba-p/3576867|title=Unusual Uses of Excel|date=August 5, 2022|website=techcommunity.microsoft.com|access-date=February 16, 2023|archive-date=February 16, 2023|archive-url=https://web.archive.org/web/20230216002404/https://techcommunity.microsoft.com/t5/excel-blog/unusual-uses-of-excel/ba-p/3576867|url-status=live}}</ref><ref>{{Cite web|url=https://www.engadget.com/2019-09-09-civilization-microsoft-excel.html|title=Someone made a version of 'Civilization' that runs in Microsoft Excel|website=Engadget|date=September 9, 2019|access-date=February 16, 2023|archive-date=February 16, 2023|archive-url=https://web.archive.org/web/20230216002403/https://www.engadget.com/2019-09-09-civilization-microsoft-excel.html|url-status=live}}</ref><ref>{{Cite web|url=https://www.contextures.com/excelgames.html|title=Have Fun Playing Games in Excel|first=Debra|last=Dalgleish|website=Contextures Excel Tips|access-date=February 16, 2023|archive-date=February 9, 2023|archive-url=https://web.archive.org/web/20230209212421/https://www.contextures.com/excelgames.html|url-status=live}}</ref>


In 2020, Excel became an ] with the advent of the ].<ref>{{Cite web|url=https://www.oneesports.gg/gaming/microsoft-excel-esports-real-tournament/|title=Microsoft Excel esports is real and it already has an international tournament|website=ONE Esports|date=June 9, 2021}}</ref> In 2020, Excel became an ] with the advent of the ].<ref>{{Cite web|url=https://www.oneesports.gg/gaming/microsoft-excel-esports-real-tournament/|title=Microsoft Excel esports is real and it already has an international tournament|website=ONE Esports|date=June 9, 2021|access-date=February 16, 2023|archive-date=February 16, 2023|archive-url=https://web.archive.org/web/20230216002405/https://www.oneesports.gg/gaming/microsoft-excel-esports-real-tournament/|url-status=live}}</ref>


== See also == == See also ==
* ] * ]
* ] * ]
* ], online ] ] competition using Excel * Financial Modeling World Cup, online esport ] competition using Excel


== References == ==Notes==
{{Reflist|25em}} {{Notelist}}


== References == == References ==
{{Reflist}}
* {{cite book |last1=Bullen |first1=Stephen |first2=Rob |last2=Bovey |first3=John |last3=Green |year=2009 |title=Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel and VBA |url=https://books.google.com/books?id=VnegO0pMYlIC |edition=2nd |location=Boston |publisher=Addison Wesley |isbn=978-0-321-50879-9 }}

* {{cite book |last1=Dodge |first1=Mark |last2=Stinson |first2=Craig |year=2007 |title=Microsoft Office Excel 2007 Inside Out |location=Redmond, Wash. |publisher=Microsoft Press |isbn=978-0-7356-2321-7 }}
== Further reading ==
* {{cite book |last=Billo |first=E. Joseph |year=2011 |title=Excel for Chemists: A Comprehensive Guide |edition=3rd |location=Hoboken, N.J. |publisher=John Wiley & Sons |isbn=978-0-470-38123-6}}
* {{cite book|last1=Bullen|first1=Stephen|first2=Rob|last2=Bovey|first3=John|last3=Green|year=2009|title=Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel and VBA|url=https://books.google.com/books?id=VnegO0pMYlIC|edition=2nd|location=Boston|publisher=Addison Wesley|isbn=978-0-321-50879-9}}
* {{cite web |last=Gordon |first=Andy |date=January 25, 2021 |title=LAMBDA: The ultimate Excel worksheet function |url=https://www.microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/ |access-date=23 April 2021 |website=microsoft.com |publisher=Microsoft}}
* {{cite book|last1=Dodge|first1=Mark|last2=Stinson|first2=Craig|year=2007|title=Microsoft Office Excel 2007 Inside Out|location=Redmond, Wash.|publisher=Microsoft Press|isbn=978-0-7356-2321-7}}
* {{cite book|last=Billo|first=E. Joseph|year=2011|title=Excel for Chemists: A Comprehensive Guide|edition=3rd|location=Hoboken, N.J.|publisher=John Wiley & Sons|isbn=978-0-470-38123-6}}
* {{cite web|last=Gordon|first=Andy|date=January 25, 2021|title=LAMBDA: The ultimate Excel worksheet function|url=https://www.microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/|access-date=April 23, 2021|website=microsoft.com|publisher=Microsoft}}


== External links == == External links ==
{{Commons category|Microsoft Excel}} {{Commons category|Microsoft Excel}}
{{wikibooks|Excel}} {{wikibooks|Excel}}
* {{Official website|http://office.microsoft.com/excel|Microsoft Excel}} – official site * {{Official website|https://www.microsoft.com/microsoft-365/excel|Microsoft Excel}} – official site


{{Spreadsheets}} {{Spreadsheets}}
Line 770: Line 705:
] ]
] ]
]
] ]
] ]
] ]
] ]
]

Latest revision as of 16:33, 11 December 2024

Spreadsheet editor, part of Microsoft 365 "Excel" redirects here. For other uses, see Excel (disambiguation).

Microsoft Excel
A simple bar graph being created in Excel, running on Windows 11
Developer(s)Microsoft
Initial releaseSeptember 30, 1985; 39 years ago (1985-09-30)
Stable release(s)
Microsoft 365 & Retail (Windows)2411 (Build 18227.20162) / 10 December 2024; 18 days ago (2024-12-10)
Microsoft 365 (Mac)16.92.0 (Build 24120731) / 10 December 2024; 18 days ago (2024-12-10)
Office 2021 (LTSC)2108 (Build 14332.20828) / 10 December 2024; 18 days ago (2024-12-10)
Office 2019 (LTSC)1808 (Build 10416.20027) / 10 December 2024; 18 days ago (2024-12-10)
Written inC++ (back-end)
Operating systemMicrosoft Windows
TypeSpreadsheet
LicenseTrialware or Proprietary commercial software
Websitemicrosoft.com/en-us/microsoft-365/excel

Microsoft Excel is a spreadsheet editor developed by Microsoft for Windows, macOS, Android, iOS and iPadOS. It features calculation or computation capabilities, graphing tools, pivot tables, and a macro programming language called Visual Basic for Applications (VBA). Excel forms part of the Microsoft 365 and Microsoft Office suites of software and has been developed since 1985.

Features

Basic operation

Main article: Spreadsheet

Microsoft Excel has the basic features of all spreadsheets, using a grid of cells arranged in numbered rows and letter-named columns to organize data manipulations like arithmetic operations. It has a battery of supplied functions to answer statistical, engineering, and financial needs. In addition, it can display data as line graphs, histograms and charts, and with a very limited three-dimensional graphical display. It allows sectioning of data to view its dependencies on various factors for different perspectives (using pivot tables and the scenario manager). A PivotTable is a tool for data analysis. It does this by simplifying large data sets via PivotTable fields. It has a programming aspect, Visual Basic for Applications, allowing the user to employ a wide variety of numerical methods, for example, for solving differential equations of mathematical physics, and then reporting the results back to the spreadsheet. It also has a variety of interactive features allowing user interfaces that can completely hide the spreadsheet from the user, so the spreadsheet presents itself as a so-called application, or decision support system (DSS), via a custom-designed user interface, for example, a stock analyzer, or in general, as a design tool that asks the user questions and provides answers and reports. In a more elaborate realization, an Excel application can automatically poll external databases and measuring instruments using an update schedule, analyze the results, make a Word report or PowerPoint slide show, and e-mail these presentations on a regular basis to a list of participants.

Microsoft allows for a number of optional command-line switches to control the manner in which Excel starts.

Functions

See also: Microsoft Power Fx

Excel 2016 has 484 functions. Of these, 360 existed prior to Excel 2010. Microsoft classifies these functions into 14 categories. Of the 484 current functions, 386 may be called from VBA as methods of the object "WorksheetFunction" and 44 have the same names as VBA functions.

With the introduction of LAMBDA, Excel became Turing complete.

Macro programming

VBA programming

Main article: Visual Basic for Applications
Use of a user-defined function sq(x) in Microsoft Excel. The named variables x & y are identified in the Name Manager. The function sq is introduced using the Visual Basic editor supplied with Excel.
Subroutine in Excel calculates the square of named column variable x read from the spreadsheet, and writes it into the named column variable y.

The Windows version of Excel supports programming through Microsoft's Visual Basic for Applications (VBA), which is a dialect of Visual Basic. Programming with VBA allows spreadsheet manipulation that is awkward or impossible with standard spreadsheet techniques. Programmers may write code directly using the Visual Basic Editor (VBE), which includes a window for writing code, debugging code, and code module organization environment. The user can implement numerical methods as well as automating tasks such as formatting or data organization in VBA and guide the calculation using any desired intermediate results reported back to the spreadsheet.

VBA was removed from Mac Excel 2008, as the developers did not believe that a timely release would allow porting the VBA engine natively to Mac OS X. VBA was restored in the next version, Mac Excel 2011, although the build lacks support for ActiveX objects, impacting some high level developer tools.

A common and easy way to generate VBA code is by using the Macro Recorder. The Macro Recorder records actions of the user and generates VBA code in the form of a macro. These actions can then be repeated automatically by running the macro. The macros can also be linked to different trigger types like keyboard shortcuts, a command button or a graphic. The actions in the macro can be executed from these trigger types or from the generic toolbar options. The VBA code of the macro can also be edited in the VBE. Certain features such as loop functions and screen prompt by their own properties, and some graphical display items, cannot be recorded but must be entered into the VBA module directly by the programmer. Advanced users can employ user prompts to create an interactive program, or react to events such as sheets being loaded or changed.

Macro Recorded code may not be compatible with Excel versions. Some code that is used in Excel 2010 cannot be used in Excel 2003. Making a Macro that changes the cell colors and making changes to other aspects of cells may not be backward compatible.

VBA code interacts with the spreadsheet through the Excel Object Model, a vocabulary identifying spreadsheet objects, and a set of supplied functions or methods that enable reading and writing to the spreadsheet and interaction with its users (for example, through custom toolbars or command bars and message boxes). User-created VBA subroutines execute these actions and operate like macros generated using the macro recorder, but are more flexible and efficient.

History

From its first version Excel supported end-user programming of macros (automation of repetitive tasks) and user-defined functions (extension of Excel's built-in function library). In early versions of Excel, these programs were written in a macro language whose statements had formula syntax and resided in the cells of special-purpose macro sheets (stored with file extension .XLM in Windows.) XLM was the default macro language for Excel through Excel 4.0. Beginning with version 5.0 Excel recorded macros in VBA by default but with version 5.0 XLM recording was still allowed as an option. After version 5.0 that option was discontinued. All versions of Excel, including Excel 2021, are capable of running an XLM macro, though Microsoft discourages their use.

Python programming

In 2023 Microsoft announced Excel would support the Python programming language directly. As of January 2024, Python in Excel is available in the Microsoft 365 Insider Program.

Charts

Graph made using Microsoft Excel

Excel supports charts, graphs, or histograms generated from specified groups of cells. It also supports Pivot Charts that allow for a chart to be linked directly to a Pivot table. This allows the chart to be refreshed with the Pivot Table. The generated graphic component can either be embedded within the current sheet or added as a separate object.

These displays are dynamically updated if the content of cells changes. For example, suppose that the important design requirements are displayed visually; then, in response to a user's change in trial values for parameters, the curves describing the design change shape, and their points of intersection shift, assisting the selection of the best design.

Add-ins

Additional features are available using add-ins. Several are provided with Excel, including:

  • Analysis ToolPak: Provides data analysis tools for statistical and engineering analysis (includes analysis of variance and regression analysis)
  • Analysis ToolPak VBA: VBA functions for Analysis ToolPak
  • Euro Currency Tools: Conversion and formatting for euro currency
  • Solver Add-In: Tools for optimization and equation solving

Data storage and communication

Number of rows and columns

Versions of Excel up to 7.0 had a limitation in the size of their data sets of 16K (2 = 16384) rows. Versions 8.0 through 11.0 could handle 64K (2 = 65536) rows and 256 columns (2 as label 'IV'). Version 12.0 onwards, including the current Version 16.x, can handle over 1M (2 = 1048576) rows, and 16384 (2, labeled as column 'XFD') columns.

File formats

Excel Spreadsheet
Filename extension .xls, (.xlsx, .xlsm, .xlsb – Excel 2007)
Internet media type application/vnd.ms-excel
Uniform Type Identifier (UTI)com.microsoft.excel.xls
Developed byMicrosoft
Type of formatSpreadsheet

Up until the 2007 version, Microsoft Excel used a proprietary binary file format called Excel Binary File Format (.XLS) as its primary format. Excel 2007 uses Office Open XML as its primary file format, an XML-based format that followed after a previous XML-based format called "XML Spreadsheet" ("XMLSS"), first introduced in Excel 2002.

Although supporting and encouraging the use of new XML-based formats as replacements, Excel 2007 remained backwards-compatible with the traditional, binary formats. In addition, most versions of Microsoft Excel can read CSV, DBF, SYLK, DIF, and other legacy formats. Support for some older file formats was removed in Excel 2007. The file formats were mainly from DOS-based programs.

Binary

OpenOffice.org has created documentation of the Excel format. Two epochs of the format exist: the 97-2003 OLE format, and the older stream format. Microsoft has made the Excel binary format specification available to freely download.

XML Spreadsheet

Main article: Microsoft Office XML formats

The XML Spreadsheet format introduced in Excel 2002 is a simple, XML based format missing some more advanced features like storage of VBA macros. Though the intended file extension for this format is .xml, the program also correctly handles XML files with .xls extension. This feature is widely used by third-party applications (e.g. MySQL Query Browser) to offer "export to Excel" capabilities without implementing binary file format. The following example will be correctly opened by Excel if saved either as Book1.xml or Book1.xls:

<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
 xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
 xmlns:html="http://www.w3.org/TR/REC-html40">
 <Worksheet ss:Name="Sheet1">
  <Table ss:ExpandedColumnCount="2" ss:ExpandedRowCount="2" x:FullColumns="1" x:FullRows="1">
   <Row>
    <Cell><Data ss:Type="String">Name</Data></Cell>
    <Cell><Data ss:Type="String">Example</Data></Cell>
   </Row>
   <Row>
    <Cell><Data ss:Type="String">Value</Data></Cell>
    <Cell><Data ss:Type="Number">123</Data></Cell>
   </Row>
  </Table>
 </Worksheet>
</Workbook>

Current file extensions

Main article: Office Open XML

Microsoft Excel 2007, along with the other products in the Microsoft Office 2007 suite, introduced new file formats. The first of these (.xlsx) is defined in the Office Open XML (OOXML) specification.

Excel 2007 formats
Format Extension Description
Excel Workbook .xlsx The default Excel 2007 and later workbook format. In reality, a ZIP compressed archive with a directory structure of XML text documents. Functions as the primary replacement for the former binary .xls format, although it does not support Excel macros for security reasons. Saving as .xlsx offers file size reduction over .xls
Excel Macro-enabled Workbook .xlsm As Excel Workbook, but with macro support.
Excel Binary Workbook .xlsb As Excel Macro-enabled Workbook, but storing information in binary form rather than XML documents for opening and saving documents more quickly and efficiently. Intended especially for very large documents with tens of thousands of rows, and/or several hundreds of columns. This format is very useful for shrinking large Excel files as is often the case when doing data analysis.
Excel Macro-enabled Template .xltm A template document that forms a basis for actual workbooks, with macro support. The replacement for the old .xlt format.
Excel Add-in .xlam Excel add-in to add extra functionality and tools. Inherent macro support because of the file purpose.

Old file extensions

Format Extension Description
Spreadsheet .xls Main spreadsheet format which holds data in worksheets, charts, and macros
Add-in (VBA) .xla Adds custom functionality; written in VBA
Toolbar .xlb The file extension where Microsoft Excel custom toolbar settings are stored.
Chart .xlc A chart created with data from a Microsoft Excel spreadsheet that only saves the chart. To save the chart and spreadsheet save as .XLS. XLC is not supported in Excel 2007 or in any newer versions of Excel.
Dialog .xld Used in older versions of Excel.
Archive .xlk A backup of an Excel Spreadsheet
Add-in (DLL) .xll Adds custom functionality; written in C++/C, Fortran, etc. and compiled into a special dynamic-link library
Macro .xlm A macro is created by the user or pre-installed with Excel.
Template .xlt A pre-formatted spreadsheet created by the user or by Microsoft Excel.
Module .xlv A module is written in VBA (Visual Basic for Applications) for Microsoft Excel
Library .DLL Code written in VBA may access functions in a DLL, typically this is used to access the Windows API
Workspace .xlw Arrangement of the windows of multiple Workbooks

Using other Windows applications

Windows applications such as Microsoft Access and Microsoft Word, as well as Excel can communicate with each other and use each other's capabilities. The most common is Dynamic Data Exchange: although strongly deprecated by Microsoft, this is a common method to send data between applications running on Windows, with official MS publications referring to it as "the protocol from hell". As the name suggests, it allows applications to supply data to others for calculation and display. It is very common in financial markets, being used to connect to important financial data services such as Bloomberg and Reuters.

OLE Object Linking and Embedding allows a Windows application to control another to enable it to format or calculate data. This may take on the form of "embedding" where an application uses another to handle a task that it is more suited to, for example a PowerPoint presentation may be embedded in an Excel spreadsheet or vice versa.

Using external data

Excel users can access external data sources via Microsoft Office features such as (for example) .odc connections built with the Office Data Connection file format. Excel files themselves may be updated using a Microsoft supplied ODBC driver.

Excel can accept data in real-time through several programming interfaces, which allow it to communicate with many data sources such as Bloomberg and Reuters (through addins such as Power Plus Pro).

  • DDE: "Dynamic Data Exchange" uses the message passing mechanism in Windows to allow data to flow between Excel and other applications. Although it is easy for users to create such links, programming such links reliably is so difficult that Microsoft, the creators of the system, officially refer to it as "the protocol from hell". In spite of its many issues DDE remains the most common way for data to reach traders in financial markets.
  • Network DDE Extended the protocol to allow spreadsheets on different computers to exchange data. Starting with Windows Vista, Microsoft no longer supports the facility.
  • Real Time Data: RTD although in many ways technically superior to DDE, has been slow to gain acceptance, since it requires non-trivial programming skills, and when first released was neither adequately documented nor supported by the major data vendors.

Alternatively, Microsoft Query provides ODBC-based browsing within Microsoft Excel.

Export and migration of spreadsheets

Programmers have produced APIs to open Excel spreadsheets in a variety of applications and environments other than Microsoft Excel. These include opening Excel documents on the web using either ActiveX controls, or plugins like the Adobe Flash Player. The Apache POI open-source project provides Java libraries for reading and writing Excel spreadsheet files.

Password protection

Main article: Microsoft Office password protection

Microsoft Excel protection offers several types of passwords:

  • Password to open a document
  • Password to modify a document
  • Password to unprotect the worksheet
  • Password to protect workbook
  • Password to protect the sharing workbook

All passwords except password to open a document can be removed instantly regardless of the Microsoft Excel version used to create the document. These types of passwords are used primarily for shared work on a document. Such password-protected documents are not encrypted, and data sources from a set password are saved in a document's header. Password to protect workbook is an exception – when it is set, a document is encrypted with the standard password "VelvetSweatshop", but since it is known to the public, it actually does not add any extra protection to the document. The only type of password that can prevent a trespasser from gaining access to a document is the password to open a document. The cryptographic strength of this kind of protection depends strongly on the Microsoft Excel version that was used to create the document.

In Microsoft Excel 95 and earlier versions, the password to open is converted to a 16-bit key that can be instantly cracked. In Excel 97/2000 the password is converted to a 40-bit key, which can also be cracked very quickly using modern equipment. As regards services that use rainbow tables (e.g. Password-Find), it takes up to several seconds to remove protection. In addition, password-cracking programs can brute-force attack passwords at a rate of hundreds of thousands of passwords a second, which not only lets them decrypt a document but also find the original password.

In Excel 2003/XP the encryption is slightly better – a user can choose any encryption algorithm that is available in the system (see Cryptographic Service Provider). Due to the CSP, an Excel file cannot be decrypted, and thus the password to open cannot be removed, though the brute-force attack speed remains quite high. Nevertheless, the older Excel 97/2000 algorithm is set by the default. Therefore, users who do not change the default settings lack reliable protection of their documents.

The situation changed fundamentally in Excel 2007, where the modern AES algorithm with a key of 128 bits started being used for decryption, and a 50,000-fold use of the hash function SHA1 reduced the speed of brute-force attacks down to hundreds of passwords per second. In Excel 2010, the strength of the protection by the default was increased two times due to the use of a 100,000-fold SHA1 to convert a password to a key.

Other platforms

Excel for mobile

Excel running on Android

Excel Mobile is a spreadsheet program that can edit XLSX files. It can edit and format text in cells, calculate formulas, search within the spreadsheet, sort rows and columns, freeze panes, filter the columns, add comments, and create charts. It cannot add columns or rows except at the edge of the document, rearrange columns or rows, delete rows or columns, or add spreadsheet tabs. The 2007 version has the ability to use a full-screen mode to deal with limited screen resolution, as well as split panes to view different parts of a worksheet at one time. Protection settings, zoom settings, autofilter settings, certain chart formatting, hidden sheets, and other features are not supported on Excel Mobile, and will be modified upon opening and saving a workbook. In 2015, Excel Mobile became available for Windows 10 and Windows 10 Mobile on Windows Store.

Excel for the web

Further information: Microsoft Office § Office on the web

Excel for the web is a free lightweight version of Microsoft Excel available as part of Office on the web, which also includes web versions of Microsoft Word and Microsoft PowerPoint.

Excel for the web can display most of the features available in the desktop versions of Excel, although it may not be able to insert or edit them. Certain data connections are not accessible on Excel for the web, including with charts that may use these external connections. Excel for the web also cannot display legacy features, such as Excel 4.0 macros or Excel 5.0 dialog sheets. There are also small differences between how some of the Excel functions work.

Microsoft Excel Viewer

Microsoft Excel Viewer was a freeware program for Microsoft Windows for viewing and printing spreadsheet documents created by Excel. Microsoft retired the viewer in April 2018 with the last security update released in February 2019 for Excel Viewer 2007 (SP3).

The first version released by Microsoft was Excel 97 Viewer. Excel 97 Viewer was supported in Windows CE for Handheld PCs. In October 2004, Microsoft released Excel Viewer 2003. In September 2007, Microsoft released Excel Viewer 2003 Service Pack 3 (SP3). In January 2008, Microsoft released Excel Viewer 2007 (featuring a non-collapsible Ribbon interface). In April 2009, Microsoft released Excel Viewer 2007 Service Pack 2 (SP2). In October 2011, Microsoft released Excel Viewer 2007 Service Pack 3 (SP3).

Microsoft advises to view and print Excel files for free to use the Excel Mobile application for Windows 10 and for Windows 7 and Windows 8 to upload the file to OneDrive and use Excel for the web with a Microsoft account to open them in a browser.

Limitations and errors

In addition to issues with spreadsheets in general, other problems specific to Excel include numeric precision, misleading statistics functions, mod function errors, date limitations and more.

Numeric precision

Main article: Numeric precision in Microsoft Excel
Excel maintains 15 figures in its numbers, but they are not always accurate: the bottom line should be the same as the top line.

Despite the use of 15-figure precision, Excel can display many more figures (up to thirty) upon user request. But the displayed figures are not those actually used in its computations, and so, for example, the difference of two numbers may differ from the difference of their displayed values. Although such departures are usually beyond the 15th decimal, exceptions do occur, especially for very large or very small numbers. Serious errors can occur if decisions are made based upon automated comparisons of numbers (for example, using the Excel If function), as equality of two numbers can be unpredictable.

In the figure, the fraction 1/9000 is displayed in Excel. Although this number has a decimal representation that is an infinite string of ones, Excel displays only the leading 15 figures. In the second line, the number one is added to the fraction, and again Excel displays only 15 figures. In the third line, one is subtracted from the sum using Excel. Because the sum in the second line has only eleven 1's after the decimal, the difference when 1 is subtracted from this displayed value is three 0's followed by a string of eleven 1's. However, the difference reported by Excel in the third line is three 0's followed by a string of thirteen 1's and two extra erroneous digits. This is because Excel calculates with about half a digit more than it displays.

Excel works with a modified 1985 version of the IEEE 754 specification. Excel's implementation involves conversions between binary and decimal representations, leading to accuracy that is on average better than one would expect from simple fifteen digit precision, but that can be worse. See the main article for details.

Besides accuracy in user computations, the question of accuracy in Excel-provided functions may be raised. Particularly in the arena of statistical functions, Excel has been criticized for sacrificing accuracy for speed of calculation.

As many calculations in Excel are executed using VBA, an additional issue is the accuracy of VBA, which varies with variable type and user-requested precision.

Statistical functions

The accuracy and convenience of statistical tools in Excel has been criticized, as mishandling situations when data is missing, as returning incorrect values due to inept handling of round-off and large numbers, as only selectively updating calculations on a spreadsheet when some cell values are changed, and as having a limited set of statistical tools. Microsoft has announced that some of these issues are addressed in Excel 2010.

Excel MOD function error

Excel has issues with modulo operations. In the case of excessively large results, Excel will return the error warning #NUM! instead of an answer.

Fictional leap day in the year 1900

Excel includes February 29, 1900, incorrectly treating 1900 as a leap year, even though e.g. 2100 is correctly treated as a non-leap year. Thus, a formula counting dates between (for example) February 1, 1900 and March 1, 1900 will return an incorrect result. The bug originated from Lotus 1-2-3, where it was deliberately implemented to save computer memory, and was also intentionally implemented in Excel for the purpose of bug compatibility. This legacy has later been carried over into Office Open XML file format.

Date range

Excel supports dates with years in the range 1900–9999, except that December 31, 1899, can be entered as 0 and is displayed as 0-jan-1900.

Converting a fraction of a day into hours, minutes and days by treating it as a moment on the day January 1, 1900, does not work for a negative fraction.

Conversion problems

If text is entered that happens to be in a form that Excel interprets as a date, the text can be unintentionally changed to a standard date format. A similar problem occurs when a text happens to be in the form of a floating-point notation of a number. In these cases the original exact text cannot be recovered from the result. Formatting the cell as TEXT before entering ambiguous text prevents Excel from converting it.

This issue has caused a well known problem in the analysis of DNA, for example in bioinformatics. As first reported in 2004, genetic scientists found that Excel automatically and incorrectly converts certain gene names into dates. A follow-up study in 2016 found many peer reviewed scientific journal papers had been affected and that "Of the selected journals, the proportion of published articles with Excel files containing gene lists that are affected by gene name errors is 19.6%." Excel parses the copied and pasted data and sometimes changes them depending on what it thinks they are. For example, MARCH1 (Membrane Associated Ring-CH-type finger 1) gets converted to the date March 1 (1-Mar) and SEPT2 (Septin 2) is converted into September 2 (2-Sep) etc. While some secondary news sources reported this as a fault with Excel, the original authors of the 2016 paper placed the blame with the researchers misusing Excel.

In August 2020 the HUGO Gene Nomenclature Committee (HGNC) published new guidelines in the journal Nature regarding gene naming in order to avoid issues with "symbols that affect data handling and retrieval." So far 27 genes have been renamed, including changing MARCH1 to MARCHF1 and SEPT1 to SEPTIN1 in order to avoid accidental conversion of the gene names into dates.

In October 2023, Microsoft fixed the long-standing issue.

Errors with large strings

The following functions return incorrect results when passed a string longer than 255 characters:

  • type() incorrectly returns 16, meaning "Error value"
  • IsText(), when called as a method of the VBA object WorksheetFunction (i.e., WorksheetFunction.IsText() in VBA), incorrectly returns "false".

Filenames

Microsoft Excel will not open two documents with the same name and instead will display the following error:

A document with the name '%s' is already open. You cannot open two documents with the same name, even if the documents are in different folders. To open the second document, either close the document that is currently open, or rename one of the documents.

The reason is for calculation ambiguity with linked cells. If there is a cell ='Sheet1'!$G$33, and there are two books named "Book1" open, there is no way to tell which one the user means.

Versions

Excel for Mac (version 16.67), running on macOS Big Sur 11.5.2

Early history

Microsoft originally marketed a spreadsheet program called Multiplan in 1982. Multiplan became very popular on CP/M systems, but on MS-DOS systems it lost popularity to Lotus 1-2-3. Microsoft released the first version of Excel for the Macintosh on September 30, 1985, and the first Windows version was 2.05 (to synchronize with the Macintosh version 2.2) on November 19, 1987. Lotus was slow to bring 1-2-3 to Windows and by the early 1990s, Excel had started to outsell 1-2-3 and helped Microsoft achieve its position as a leading PC software developer. This accomplishment solidified Microsoft as a valid competitor and showed its future in developing GUI software. Microsoft maintained its advantage with regular new releases, every two years or so.

Microsoft Windows

Excel 2.0 is the first version of Excel for the Intel platform. Versions prior to 2.0 were only available on the Apple Macintosh.

Excel 2.0 (1987)

The first Windows version was labeled "2" to correspond to the Mac version. It was announced on October 6, 1987, and released on November 19. This included a run-time version of Windows.

BYTE in 1989 listed Excel for Windows as among the "Distinction" winners of the BYTE Awards. The magazine stated that the port of the "extraordinary" Macintosh version "shines", with a user interface as good as or better than the original.

Excel 3.0 (1990)

Included toolbars, drawing capabilities, outlining, add-in support, 3D charts, and many more new features.

Excel 4.0 (1992)

Included with Microsoft Office 3.0, this version introduced auto-fill.

Also, an easter egg in Excel 4.0 reveals a hidden animation of a dancing set of numbers 1 through 3, representing Lotus 1–2–3, which is then crushed by an Excel logo.

Excel 5.0 (1993)

With version 5.0, included in Microsoft Office 4.2 and 4.3, Excel included Visual Basic for Applications (VBA), a programming language based on Visual Basic which adds the ability to automate tasks in Excel and to provide user-defined functions (UDF) for use in worksheets. VBA includes a fully featured integrated development environment (IDE). Macro recording can produce VBA code replicating user actions, thus allowing simple automation of regular tasks. VBA allows the creation of forms and in‑worksheet controls to communicate with the user. The language supports use (but not creation) of ActiveX (COM) DLL's; later versions add support for class modules allowing the use of basic object-oriented programming techniques.

The automation functionality provided by VBA made Excel a target for macro viruses. This caused serious problems until antivirus products began to detect these viruses. Microsoft belatedly took steps to prevent the misuse by adding the ability to disable macros completely, to enable macros when opening a workbook or to trust all macros signed using a trusted certificate.

Versions 5.0 to 9.0 of Excel contain various Easter eggs, including a "Hall of Tortured Souls", a Doom-like minigame, although since version 10 Microsoft has taken measures to eliminate such undocumented features from their products.

5.0 was released in a 16-bit x86 version for Windows 3.1 and later in a 32-bit version for NT 3.51 (x86/Alpha/PowerPC)

Excel 95 (v7.0)

Microsoft Excel 95

Released in 1995 with Microsoft Office for Windows 95, this is the first major version after Excel 5.0, as there is no Excel 6.0 with all of the Office applications standardizing on the same major version number.

Internal rewrite to 32-bits. Almost no external changes, but faster and more stable.

Excel 95 contained a hidden Doom-like mini-game called "The Hall of Tortured Souls", a series of rooms featuring the names and faces of the developers as an Easter egg.

Excel 97 (v8.0)

Included in Office 97 (for x86 and Alpha). This was a major upgrade that introduced the paper clip office assistant and featured standard VBA used instead of internal Excel Basic. It introduced the now-removed Natural Language labels.

This version of Excel includes a flight simulator as an Easter egg.

Excel 2000 (v9.0)

Microsoft Excel 2000

Included in Office 2000. This was a minor upgrade but introduced an upgrade to the clipboard where it can hold multiple objects at once. The Office Assistant, whose frequent unsolicited appearance in Excel 97 had annoyed many users, became less intrusive.

A small 3-D game called "Dev Hunter" (inspired by Spy Hunter) was included as an Easter egg.

Excel 2002 (v10.0)

Included in Office XP. Very minor enhancements.

Excel 2003 (v11.0)

Included in Office 2003. Minor enhancements.

Excel 2007 (v12.0)

Microsoft Excel 2007

Included in Office 2007. This release was a major upgrade from the previous version. Similar to other updated Office products, Excel in 2007 used the new Ribbon menu system. This was different from what users were used to, and was met with mixed reactions. One study reported fairly good acceptance by users except for highly experienced users and users of word processing applications with a classical WIMP interface, but was less convinced in terms of efficiency and organization. However, an online survey reported that a majority of respondents had a negative opinion of the change, with advanced users being "somewhat more negative" than intermediate users, and users reporting a self-estimated reduction in productivity.

Added functionality included Tables, and the SmartArt set of editable business diagrams. Also added was an improved management of named variables through the Name Manager, and much-improved flexibility in formatting graphs, which allow (x, y) coordinate labeling and lines of arbitrary weight. Several improvements to pivot tables were introduced.

Also like other office products, the Office Open XML file formats were introduced, including .xlsm for a workbook with macros and .xlsx for a workbook without macros.

Specifically, many of the size limitations of previous versions were greatly increased. To illustrate, the number of rows was now 1,048,576 (2) and the columns was 16,384 (2; the far-right column is XFD). This changes what is a valid A1 reference versus a named range. This version made more extensive use of multiple cores for the calculation of spreadsheets; however, VBA macros are not handled in parallel and XLL add‑ins were only executed in parallel if they were thread-safe and this was indicated at registration.

Excel 2010 (v14.0)

Microsoft Excel 2010 running on Windows 7

Included in Office 2010, this is the next major version after v12.0, as version number 13 was skipped.

Minor enhancements and 64-bit support, including the following:

  • Multi-threading recalculation (MTR) for commonly used functions
  • Improved pivot tables
  • More conditional formatting options
  • Additional image editing capabilities
  • In-cell charts called sparklines
  • Ability to preview before pasting
  • Office 2010 backstage feature for document-related tasks
  • Ability to customize the Ribbon
  • Many new formulas, most highly specialized to improve accuracy

Excel 2013 (v15.0)

Included in Office 2013, along with a lot of new tools included in this release:

  • Improved Multi-threading and Memory Contention
  • FlashFill
  • Power View
  • Power Pivot
  • Timeline Slicer
  • Windows App
  • Inquire
  • 50 new functions

Excel 2016 (v16.0)

Included in Office 2016, along with a lot of new tools included in this release:

  • Power Query integration
  • Read-only mode for Excel
  • Keyboard access for Pivot Tables and Slicers in Excel
  • New Chart Types
  • Quick data linking in Visio
  • Excel forecasting functions
  • Support for multiselection of Slicer items using touch
  • Time grouping and Pivot Chart Drill Down
  • Excel data cards

Excel 2019, Excel 2021, Office 365 and subsequent (v16.0)

Microsoft no longer releases Office or Excel in discrete versions. Instead, features are introduced automatically over time using Windows Update. The version number remains 16.0. Thereafter only the approximate dates when features appear can now be given.

  • Dynamic Arrays. These are essentially Array Formulas but they "Spill" automatically into neighboring cells and do not need the ctrl-shift-enter to create them. Further, dynamic arrays are the default format, with new "@" and "#" operators to provide compatibility with previous versions. This is perhaps the biggest structural change since 2007, and is in response to a similar feature in Google Sheets. Dynamic arrays started appearing in pre-releases about 2018, and as of March 2020 are available in published versions of Office 365 provided a user selected "Office Insiders".

Apple Macintosh

Microsoft Excel for Mac 2011
  • 1985 Excel 1.0
  • 1988 Excel 1.5
  • 1989 Excel 2.2
  • 1990 Excel 3.0
  • 1992 Excel 4.0
  • 1993 Excel 5.0 (part of Office 4.x—Final Motorola 680x0 version and first PowerPC version)
  • 1998 Excel 8.0 (part of Office 98)
  • 2000 Excel 9.0 (part of Office 2001)
  • 2001 Excel 10.0 (part of Office v. X)
  • 2004 Excel 11.0 (part of Office 2004)
  • 2008 Excel 12.0 (part of Office 2008)
  • 2010 Excel 14.0 (part of Office 2011)
  • 2015 Excel 15.0 (part of Office 2016—Office 2016 for Mac brings the Mac version much closer to parity with its Windows cousin, harmonizing many of the reporting and high-level developer functions, while bringing the ribbon and styling into line with its PC counterpart.)

OS/2

  • 1989 Excel 2.2
  • 1990 Excel 2.3
  • 1991 Excel 3.0

Summary

Legend: Old version, not maintained Old version, still maintained Current stable version Latest preview version Future release
Microsoft Excel for Windows release history
Year Name Version Comments
1987 Excel 2 Old version, no longer maintained: 2.0 Renumbered to 2 to correspond with contemporary Macintosh version. Supported macros (later known as Excel 4 macros).
1990 Excel 3 Old version, no longer maintained: 3.0 Added 3D graphing capabilities
1992 Excel 4 Old version, no longer maintained: 4.0 Introduced auto-fill feature
1993 Excel 5 Old version, no longer maintained: 5.0 Included Visual Basic for Applications (VBA) and various object-oriented options
1995 Excel 95 Old version, no longer maintained: 7.0 Renumbered for contemporary Word version. Both programs were packaged in Microsoft Office by this time.
1997 Excel 97 Old version, no longer maintained: 8.0
2000 Excel 2000 Old version, no longer maintained: 9.0 Part of Microsoft Office 2000
2002 Excel 2002 Old version, no longer maintained: 10.0
2003 Excel 2003 Old version, no longer maintained: 11.0 Released only 1 year later to correspond better with the rest of Microsoft Office (Word, PowerPoint, etc.).
2007 Excel 2007 Old version, no longer maintained: 12.0
2010 Excel 2010 Old version, no longer maintained: 14.0 Due to superstitions surrounding the number 13, Excel 13 was skipped in version counting.
2013 Excel 2013 Old version, yet still maintained: 15.0 Introduced 50 more mathematical functions (available as pre-packaged commands, rather than typing the formula manually).
2016 Excel 2016 Current stable version: 16.0 Part of Microsoft Office 2016
Microsoft Excel for Macintosh release history
Year Name Version Comments
1985 Excel 1 Old version, no longer maintained: 1.0 Initial version of Excel. Supported macros (later known as Excel 4 macros).
1988 Excel 1.5 Old version, no longer maintained: 1.5
1989 Excel 2 Old version, no longer maintained: 2.2
1990 Excel 3 Old version, no longer maintained: 3.0
1992 Excel 4 Old version, no longer maintained: 4.0
1993 Excel 5 Old version, no longer maintained: 5.0 Only available on PowerPC-based Macs. First PowerPC version.
1998 Excel 98 Old version, no longer maintained: 8.0 Excel 6 and Excel 7 were skipped to correspond with the rest of Microsoft Office at the time.
2000 Excel 2000 Old version, no longer maintained: 9.0
2001 Excel 2001 Old version, no longer maintained: 10.0
2004 Excel 2004 Old version, no longer maintained: 11.0
2008 Excel 2008 Old version, no longer maintained: 12.0
2011 Excel 2011 Old version, no longer maintained: 14.0 As with the Windows version, version 13 was skipped for superstitious reasons.
2016 Excel 2016 Current stable version: 16.0 As with the rest of Microsoft Office, so it is for Excel: Future release dates for the Macintosh version are intended to correspond better to those for the Windows version, from 2016 onward.
Microsoft Excel for OS/2 release history
Year Name Version Comments
1989 Excel 2.2 Old version, no longer maintained: 2.2 Numbered in between Windows versions at the time
1990 Excel 2.3 Old version, no longer maintained: 2.3
1991 Excel 3 Old version, no longer maintained: 3.0 Last OS/2 version. Discontinued subseries of Microsoft Excel, which is otherwise still an actively developed program.

Impact

Excel offers many user interface tweaks over the earliest electronic spreadsheets; however, the essence remains the same as in the original spreadsheet software, VisiCalc: the program displays cells organized in rows and columns, and each cell may contain data or a formula, with relative or absolute references to other cells.

Excel 2.0 for Windows, which was modeled after its Mac GUI-based counterpart, indirectly expanded the installed base of the then-nascent Windows environment. Excel 2.0 was released a month before Windows 2.0, and the installed base of Windows was so low at that point in 1987 that Microsoft had to bundle a runtime version of Windows 1.0 with Excel 2.0. Unlike Microsoft Word, there never was a DOS version of Excel.

Excel became the first spreadsheet to allow the user to define the appearance of spreadsheets (fonts, character attributes, and cell appearance). It also introduced intelligent cell re-computation, where only cells dependent on the cell being modified are updated (previous spreadsheet programs recomputed everything all the time or waited for a specific user command). Excel introduced auto-fill, the ability to drag and expand the selection box to automatically copy a cell or row contents to adjacent cells or rows, adjusting the copies intelligently by automatically incrementing cell references or contents. Excel also introduced extensive graphing capabilities.

Security

Because Excel is widely used, it has been attacked by hackers. While Excel is not directly exposed to the Internet, if an attacker can get a victim to open a file in Excel, and there is an appropriate security bug in Excel, then the attacker can gain control of the victim's computer. UK's GCHQ has a tool named TORNADO ALLEY with this purpose.

Games

Besides the easter eggs, numerous games have been created or recreated in Excel, such as Tetris, 2048, Scrabble, Yahtzee, Angry Birds, Pac-Man, Civilization, Monopoly, Battleship, Blackjack, Space Invaders, and others.

In 2020, Excel became an esport with the advent of the Financial Modeling World Cup.

See also

Notes

  1. Including Office 2021, 2019 and 2016

References

  1. "Release notes for Current Channel". Microsoft Learn. Retrieved December 16, 2024.
  2. ^ "Update history for Office LTSC 2021 and Office 2021". Microsoft Learn. Retrieved December 16, 2024.
  3. "Update history for Office for Mac". Microsoft Learn. Retrieved December 16, 2024.
  4. "Update history for Office 2016 C2R and Office 2019". Microsoft Learn. Retrieved December 16, 2024.
  5. "C++ in MS Office". cppcon. July 17, 2014. Archived from the original on November 7, 2019. Retrieved June 25, 2019.
  6. "Microsoft Office Excel 365". Microsoft.com. Archived from the original on November 12, 2020. Retrieved January 25, 2021.
  7. Harvey, Greg (2006). Excel 2007 For Dummies (1st ed.). Wiley. ISBN 978-0-470-03737-9. Archived from the original on March 3, 2015. Retrieved September 28, 2020.
  8. Harvey, Greg (2007). Excel 2007 Workbook for Dummies (2nd ed.). Wiley. p. 296 ff. ISBN 978-0-470-16937-7.
  9. de Levie, Robert (2004). Advanced Excel for scientific data analysis. Oxford University Press. ISBN 978-0-19-515275-3.
  10. Bourg, David M. (2006). Excel scientific and engineering cookbook. O'Reilly. ISBN 978-0-596-00879-6.
  11. Şeref, Michelle M. H. & Ahuja, Ravindra K. (2008). "§4.2 A portfolio management and optimization spreadsheet DSS". In Burstein, Frad & Holsapple, Clyde W. (eds.). Handbook on Decision Support Systems 1: Basic Themes. Springer. ISBN 978-3-540-48712-8.
  12. Wells, Eric & Harshbarger, Steve (1997). Microsoft Excel 97 Developer's Handbook. Microsoft Press. ISBN 978-1-57231-359-0. Excellent examples are developed that show just how applications can be designed.
  13. Harnett, Donald L. & Horrell, James F. (1998). Data, statistics, and decision models with Excel. Wiley. ISBN 978-0-471-13398-8.
  14. Some form of data acquisition hardware is required. See, for example, Austerlitz, Howard (2003). Data acquisition techniques using PCs (2nd ed.). Academic Press. p. 281 ff. ISBN 978-0-12-068377-2.
  15. "Description of the startup switches for Excel". Microsoft Help and Support. Microsoft Support. May 7, 2007. Archived from the original on December 30, 2010. Retrieved December 14, 2010. Microsoft Excel accepts a number of optional switches that you can use to control how the program starts. This article lists the switches and provides a description of each switch.
  16. "Excel functions (alphabetical)". microsoft.com. Microsoft. Archived from the original on November 5, 2018. Retrieved November 4, 2018.
  17. "WorksheetFunction Object (Excel)". Office VBA Reference. Microsoft. March 30, 2022. Archived from the original on November 5, 2018. Retrieved November 4, 2018.
  18. "Functions (Visual Basic for Applications)". Office VBA Reference. Microsoft. September 13, 2021. Archived from the original on November 5, 2018. Retrieved November 4, 2018.
  19. Gordon, Andy (January 25, 2021). "LAMBDA: The ultimate Excel worksheet function". microsoft.com. Microsoft. Archived from the original on April 23, 2021. Retrieved April 23, 2021.
  20. For example, by converting to Visual Basic the recipes in Press, William H. Press; Teukolsky, Saul A.; Vetterling, William T. & Flannery, Brian P. (2007). Numerical recipes: the art of scientific computing (3rd ed.). Cambridge University Press. ISBN 978-0-521-88068-8. Code conversion to Basic from Fortran probably is easier than from C++, so the 2nd edition (ISBN 0521437210) may be easier to use, or the Basic code implementation of the first edition: Sprott, Julien C. (1991). Numerical recipes: routines and examples in BASIC. Cambridge University Press. ISBN 978-0-521-40689-5.
  21. "Excel". Office for Mac. OfficeforMacHelp.com. Archived from the original on June 19, 2012. Retrieved July 8, 2012.
  22. "Using Excel – PC or Mac? | Excel Lemon". excellemon.com. Archived from the original on September 21, 2016. Retrieved July 29, 2015.
  23. However an increasing proportion of Excel functionality is not captured by the Macro Recorder leading to largely useless macros. Compatibility among multiple versions of Excel is also a downfall of this method. A macro recorder in Excel 2010 may not work in Excel 2003 or older. This is most common when changing colors and formatting of cells. Walkenbach, John (2007). "Chapter 6: Using the Excel macro recorder". Excel 2007 VBA Programming for Dummies (Revised by Jan Karel Pieterse ed.). Wiley. p. 79 ff. ISBN 978-0-470-04674-6.
  24. Walkenbach, John (February 2, 2007). "Chapter 4: Introducing the Excel object model". cited work. John Wiley & Sons. p. 53 ff. ISBN 978-0-470-04674-6.
  25. "The Spreadsheet Page for Excel Users and Developers". spreadsheetpage.com. J-Walk & Associates, Inc. Archived from the original on January 21, 2013. Retrieved December 19, 2012.
  26. "Working with Excel 4.0 macros". microsoft.com. Microsoft Office Support. Archived from the original on March 7, 2013. Retrieved December 19, 2012.
  27. ^ "Introducing Python in Excel: The Best of Both Worlds for Data Analysis and Visualization". TECHCOMMUNITY.MICROSOFT.COM. Retrieved September 15, 2023.
  28. "Announcing Python in Excel: Combining the power of Python and the flexibility of Excel". TECHCOMMUNITY.MICROSOFT.COM. Retrieved September 15, 2023.
  29. "The 'Big Grid' and Increased Limits in Excel 2007". microsoft.com. May 23, 2014. Archived from the original on December 7, 2013. Retrieved April 10, 2008.
  30. "How to extract information from Office files by using Office file formats and schemas". microsoft.com. Microsoft. February 26, 2008. Archived from the original on May 14, 2008. Retrieved November 10, 2008.
  31. ^ "XML Spreadsheet Reference". Microsoft Excel 2002 Technical Articles. MSDN. August 2001. Archived from the original on October 2, 2008. Retrieved November 10, 2008.
  32. "Deprecated features for Excel 2007". Microsoft—David Gainer. August 24, 2006. Archived from the original on July 17, 2011. Retrieved January 2, 2009.
  33. "OpenOffice.org's documentation of the Microsoft Excel File Format" (PDF). August 2, 2008. Archived (PDF) from the original on May 9, 2008. Retrieved July 28, 2009.
  34. "Microsoft Office Excel 97 – 2007 Binary File Format Specification (*.xls 97-2007 format)". Microsoft Corporation. 2007. Archived from the original on December 22, 2008. Retrieved February 16, 2008.
  35. Fairhurst, Danielle Stein (March 17, 2015). Using Excel for Business Analysis: A Guide to Financial Modelling Fundamentals. John Wiley & Sons. ISBN 978-1-119-06245-5.
  36. ^ Newcomer, Joseph M. "Faking DDE with Private Servers". Dr. Dobb's. Archived from the original on February 25, 2023. Retrieved February 17, 2023.
  37. Schmalz, Michael (2006). "Chapter 5: Using Access VBA to automate Excel". Integrating Excel and Access. O'Reilly Media, Inc. ISBN 978-0-596-00973-1.Schmalz, Michael (2006). "Chapter 5: Using Access VBA to automate Excel". Integrating Excel and Access. O'Reilly Media, Inc. ISBN 978-0-596-00973-1.
  38. Cornell, Paul (2007). "Chapter 5: Connect to other databases". Excel as Your Database. Apress. p. 117 ff. ISBN 978-1-59059-751-4.
  39. DeMarco, Jim (2008). "Excel's data import tools". Pro Excel 2007 VBA. Apress. p. 43 ff. ISBN 978-1-59059-957-0.
  40. Harts, Doug (2007). "Importing Access data into Excel 2007". Microsoft Office 2007 Business Intelligence: Reporting, Analysis, and Measurement from the Desktop. McGraw-Hill Professional. ISBN 978-0-07-149424-3.
  41. "About Network DDE – Win32 apps". learn.microsoft.com. January 7, 2021. Archived from the original on February 17, 2023. Retrieved February 17, 2023.
  42. "How to set up and use the RTD function in Excel – Office". learn.microsoft.com. May 5, 2022. Archived from the original on February 17, 2023. Retrieved February 17, 2023.
  43. DeMarco, Jim (2008). Pro Excel 2007 VBA. Berkeley, CA: Apress. p. 225. ISBN 978-1-59059-957-0. External data is accessed through a connection file, such as an Office Data Connection (ODC) file (.odc)
  44. Bullen, Stephen; Bovey, Rob & Green, John (2009). Professional Excel Development (2nd ed.). Upper Saddle River, NJ: Addison-Wesley. p. 665. ISBN 978-0-321-50879-9. To create a robust solution, we always have to include some VBA code ...
  45. William, Wehrs (2000). "An Applied DSS Course Using Excel and VBA: IS and/or MS?" (PDF). The Proceedings of ISECON (Information System Educator Conference). p. 4. Archived from the original (PDF) on August 21, 2010. Retrieved February 5, 2010. Microsoft Query is a data retrieval tool (i.e. ODBC browser) that can be employed within Excel 97. It allows a user to create and save queries on external relational databases for which an ODBC driver is available.
  46. Use Microsoft Query to retrieve external data Archived March 12, 2010, at the Wayback Machine
  47. "Password protect documents, workbooks, and presentations". Office.microsoft.com. Archived from the original on February 12, 2014. Retrieved April 24, 2013.
  48. "Password protect documents, workbooks, and presentations". Office.microsoft.com. Archived from the original on February 12, 2014. Retrieved April 24, 2013.
  49. "Password protect worksheet or workbook elements". Office.microsoft.com. Archived from the original on March 26, 2013. Retrieved April 24, 2013.
  50. Ralph, Nate. "Office for Windows Phone 8: Your handy starter guide". TechHive. Archived from the original on October 15, 2014. Retrieved August 30, 2014.
  51. Wollman, Dana (June 14, 2013). "Microsoft Office Mobile for iPhone hands-on". Engadget. Archived from the original on September 3, 2014. Retrieved August 30, 2014.
  52. Pogue, David (June 19, 2013). "Microsoft Adds Office for iPhone. Yawn". The New York Times. Archived from the original on May 28, 2022. Retrieved August 30, 2014.
  53. ^ Ogasawara, Todd. "What's New in Excel Mobile". Microsoft. Archived from the original on February 8, 2008. Retrieved September 13, 2007.
  54. ^ "Unsupported features in Excel Mobile". Microsoft. Archived from the original on October 20, 2007. Retrieved September 21, 2007.
  55. Use Excel Mobile Archived October 20, 2007, at the Wayback Machine. Microsoft. Retrieved September 21, 2007.
  56. "Excel Mobile". Windows Store. Microsoft. Archived from the original on June 23, 2016. Retrieved June 26, 2016.
  57. "PowerPoint Mobile". Windows Store. Microsoft. Archived from the original on April 22, 2016. Retrieved June 26, 2016.
  58. "Differences between using a workbook in the browser and in Excel – Office Support". support.office.com. Archived from the original on February 8, 2017. Retrieved February 7, 2017.
  59. "Description of the Excel Viewer". Microsoft. February 17, 2012. Archived from the original on September 6, 2013.
  60. ^ "How to obtain the latest Excel Viewer". Microsoft Docs. May 22, 2020. Archived from the original on January 20, 2021. Retrieved January 3, 2021.
  61. "Description of the security update for Excel Viewer 2007: February 12, 2019". Microsoft. April 16, 2020. Retrieved January 3, 2021.
  62. "Microsoft Excel Viewer". Microsoft. 1997. Archived from the original on January 20, 1998.
  63. "Excel 97/2000 Viewer: Spreadsheet Files". Microsoft. Archived from the original on January 13, 2004.
  64. "New Features in Windows CE .NET 4.1". Microsoft Docs. June 30, 2006. Archived from the original on March 11, 2020. Retrieved January 3, 2021.
  65. "Excel Viewer 2003". Microsoft. October 12, 2004. Archived from the original on January 15, 2005.
  66. "Excel Viewer 2003 Service Pack 3 (SP3)". Microsoft. September 17, 2007. Archived from the original on October 11, 2007.
  67. "Excel Viewer". Microsoft. January 14, 2008. Archived from the original on September 26, 2010.
  68. "Excel Viewer 2007 Service Pack 2 (SP2)". Microsoft. April 24, 2009. Archived from the original on April 28, 2012.
  69. "Excel Viewer 2007 Service Pack 3 (SP3)". Microsoft. October 25, 2011. Archived from the original on December 29, 2011.
  70. "Supported versions of the Office viewers". Microsoft. April 16, 2020. Archived from the original on January 17, 2021. Retrieved January 3, 2021.
  71. Microsoft's overview is found at: "Floating-point arithmetic may give inaccurate results in Excel". Revision 8.2; article ID: 78113. Microsoft support. June 30, 2010. Archived from the original on May 14, 2011. Retrieved July 2, 2010.
  72. Altman, Micah; Gill, Jeff; McDonald, Michael (2004). "§2.1.1 Revealing example: Computing the coefficient standard deviation". Numerical issues in statistical computing for the social scientist. Wiley-IEEE. p. 12. ISBN 978-0-471-23633-7.
  73. de Levie, Robert (2004). cited work. Oxford University Press. pp. 45–46. ISBN 978-0-19-515275-3.
  74. Walkenbach, John (2010). "Defining data types". Excel 2010 Power Programming with VBA. Wiley. pp. 198 ff and Table 8–1. ISBN 978-0-470-47535-5.
  75. McCullough, Bruce D.; Wilson, Berry (2002). "On the accuracy of statistical procedures in Microsoft Excel 2000 and Excel XP". Computational Statistics & Data Analysis. 40 (4): 713–721. doi:10.1016/S0167-9473(02)00095-6.
  76. McCullough, Bruce D.; Heiser, David A. (2008). "On the accuracy of statistical procedures in Microsoft Excel 2007". Computational Statistics & Data Analysis. 52 (10): 4570–4578. CiteSeerX 10.1.1.455.5508. doi:10.1016/j.csda.2008.03.004.
  77. Yalta, A. Talha (2008). "The accuracy of statistical distributions in Microsoft Excel 2007". Computational Statistics & Data Analysis. 52 (10): 4579–4586. doi:10.1016/j.csda.2008.03.005.
  78. Goldwater, Eva. "Using Excel for Statistical Data Analysis—Caveats". University of Massachusetts School of Public Health. Archived from the original on May 16, 2008. Retrieved November 10, 2008.
  79. Heiser, David A. (2008). "Microsoft Excel 2000, 2003 and 2007 faults, problems, workarounds and fixes". Archived from the original on April 18, 2010. Retrieved April 8, 2010.
  80. Function improvements in Excel 2010 Archived April 6, 2010, at the Wayback Machine Comments are provided from readers that may illuminate some remaining problems.
  81. "The MOD bug". Byg Software. Archived from the original on January 11, 2016. Retrieved November 10, 2008.
  82. "Days of the week before March 1, 1900 are incorrect in Excel". Microsoft. Archived from the original on July 14, 2012. Retrieved November 10, 2008.
  83. "Excel incorrectly assumes that the year 1900 is a leap year". Microsoft. Archived from the original on June 7, 2023. Retrieved May 1, 2019.
  84. Spolsky, Joel (June 16, 2006). "My First BillG Review". Joel on Software. Archived from the original on June 7, 2008. Retrieved November 10, 2008.
  85. "The Contradictory Nature of OOXML". ConsortiumInfo.org. January 17, 2007. Archived from the original on August 18, 2009. Retrieved September 23, 2009.
  86. "Negative date and time value are displayed as pound signs (###) in Excel". Microsoft. Archived from the original on February 26, 2015. Retrieved March 26, 2012.
  87. Zeeberg, Barry R; Riss, Joseph; Kane, David W; Bussey, Kimberly J; Uchio, Edward; Linehan, W Marston; Barrett, J Carl; Weinstein, John N (2004). "Mistaken Identifiers: Gene name errors can be introduced inadvertently when using Excel in bioinformatics". BMC Bioinformatics. 5 (1): 80. doi:10.1186/1471-2105-5-80. PMC 459209. PMID 15214961.
  88. ^ Ziemann, Mark; Eren, Yotam; El-Osta, Assam (2016). "Gene name errors are widespread in the scientific literature". Genome Biology. 17 (1): 177. doi:10.1186/s13059-016-1044-7. PMC 4994289. PMID 27552985.
  89. Anon (2016). "Microsoft Excel blamed for gene study errors". London: BBC News. Archived from the original on November 21, 2018. Retrieved June 21, 2018.
  90. Cimpanu, Catalin (August 24, 2016). "One in Five Scientific Papers on Genes Contains Errors Because of Excel". Softpedia. SoftNews. Archived from the original on August 25, 2016. Retrieved August 24, 2016.
  91. Ziemann, Mark (2016). "Genome Spot: My personal thoughts on gene name errors". genomespot.blogspot.co.uk. Archived from the original on August 30, 2016.
  92. Vincent, James (August 6, 2020). "Scientists rename human genes to stop Microsoft Excel from misreading them as dates". The Verge. Archived from the original on October 9, 2020. Retrieved October 9, 2020.
  93. "Microsoft Fixes Excel Feature That Forced Scientists to Rename Human Genes". Gizmodo. October 23, 2023. Retrieved October 25, 2023.
  94. "Excel: type() and WorksheetFunction.IsText() fail for long strings". Stack Overflow. November 3, 2018. Archived from the original on November 5, 2018. Retrieved November 5, 2018.
  95. Rajah, Gary (August 2, 2004). "Trouble with macros". Business Line. Chennai. Archived from the original on July 29, 2010. Retrieved March 19, 2019.
  96. Chirilov, Joseph (January 8, 2009). "Microsoft Excel – Why Can't I Open Two Files With the Same Name?". MSDN Blogs. Microsoft Corporation. Archived from the original on July 29, 2010. Retrieved March 19, 2019.
  97. Infoworld Media Group, Inc. (July 7, 1986). InfoWorld First Look: Supercalc 4 challenging 1-2-3 with new tactic.
  98. "The History of Microsoft – 1987". channel9.msdn.com. Archived from the original on September 27, 2010. Retrieved October 7, 2022.
  99. "The History of Microsoft – 1987". learn.microsoft.com. April 30, 2009. Archived from the original on October 7, 2022. Retrieved October 7, 2022.
  100. ^ Walkenbach, John (December 4, 2013). "Excel Version History". The Spreadsheet Page. John Walkenbach. Archived from the original on July 15, 2020. Retrieved July 12, 2020.
  101. Lewallen, Dale (1992). PC/Computing guide to Excel 4.0 for Windows. Ziff Davis. p. 13. ISBN 9781562760489. Retrieved July 27, 2013.
  102. Lake, Matt (April 6, 2009). "Easter Eggs we have loved: Excel 4". crashreboot.blogspot.com. Archived from the original on November 6, 2013. Retrieved November 5, 2013.
  103. Osterman, Larry (October 21, 2005). "Why no Easter Eggs?". Larry Osterman's WebLog. MSDN Blogs. Archived from the original on March 30, 2010. Retrieved July 29, 2006.
  104. "Excel 95 Hall of Tortured Souls". Archived from the original on July 6, 2006. Retrieved July 7, 2006.
  105. "Excel Oddities: Easter Eggs". Archived from the original on August 21, 2006. Retrieved August 10, 2006.
  106. "Car Game in Ms Excel". Totalchoicehosting.com. September 6, 2005. Archived from the original on April 26, 2012. Retrieved January 28, 2014.
  107. Dostál, M (December 9, 2010). User Acceptance of the Microsoft Ribbon User Interface (PDF). Palacký University of Olomouc. ISBN 978-960-474-245-5. ISSN 1792-6157. Archived (PDF) from the original on February 26, 2013. Retrieved May 28, 2013.
  108. "Using Excel Tables to Manipulate Billing Data" (PDF). Archived from the original (PDF) on March 22, 2023. Retrieved February 22, 2024.
  109. Dodge, Mark; Stinson, Craig (2007). "Chapter 1: What's new in Microsoft Office Excel 2007". Microsoft Office Excel 2007 inside out. Microsoft Press. p. 1 ff. ISBN 978-0-7356-2321-7.
  110. "What's New in Excel 2010". Archived from the original on December 2, 2013. Retrieved September 23, 2010.
  111. Walkenbach, John (2010). "Some Essential Background". Excel 2010 Power Programming with VBA. Indianapolis, Indiana: Wiley Publishing, Inc. p. 20. ISBN 9780470475355.
  112. Harris, Steven (October 1, 2013). "Excel 2013 – Flash Fill". Experts-Exchange.com. Experts Exchange. Archived from the original on December 2, 2013. Retrieved November 23, 2013.
  113. "What's new in Excel 2013". Office.com. Microsoft. Archived from the original on January 22, 2014. Retrieved January 25, 2014.
  114. K., Gasper (October 10, 2013). "Does a PowerPivot Pivot Table beat a regular Pivot Table". Experts-Exchange.com. Experts Exchange. Archived from the original on December 3, 2013. Retrieved November 23, 2013.
  115. K., Gasper (May 20, 2013). "Inquire Add-In for Excel 2013". Experts-Exchange.com. Experts Exchange. Archived from the original on December 3, 2013. Retrieved November 23, 2013.
  116. "New functions in Excel 2013". Office.com. Microsoft. Archived from the original on December 3, 2013. Retrieved November 23, 2013.
  117. "What's new in Office 2016". Office.com. Microsoft. Archived from the original on September 5, 2015. Retrieved August 16, 2015.
  118. "Microsoft Announces March Availability of Office 98 Macintosh Edition". Microsoft. January 6, 1998. Archived from the original on December 30, 2017. Retrieved December 29, 2017.
  119. "Office for Mac Is Finally a 'First-Class Citizen'". Re/code. July 16, 2015. Archived from the original on July 26, 2015. Retrieved July 29, 2015.
  120. Perton, Marc (November 20, 2005). "Windows at 20: 20 things you didn't know about Windows 1.0". switched.com. Archived from the original on April 11, 2013. Retrieved August 1, 2013.
  121. Keizer, Gregg (February 24, 2009). "Attackers exploit unpatched Excel vulnerability". Computerworld. IDG Communications, Inc. Archived from the original on July 15, 2014. Retrieved March 19, 2019.
  122. "JTRIG Tools and Techniques". The Intercept. First Look Productions, Inc. July 14, 2014. Archived from the original on July 14, 2014. Retrieved March 19, 2019.
  123. Cook, John. "JTRIG Tools and Techniques". The Intercept. p. 4. Archived from the original on August 8, 2014. Retrieved March 19, 2019 – via DocumentCloud.
  124. Phillips, Gavin (December 11, 2015). "8 Legendary Games Recreated in Microsoft Excel". MUO. Archived from the original on February 16, 2023. Retrieved February 16, 2023.
  125. "Excel Games – Fun Things to Do With Spreadsheets". November 10, 2021. Archived from the original on February 16, 2023. Retrieved February 16, 2023.
  126. "Unusual Uses of Excel". techcommunity.microsoft.com. August 5, 2022. Archived from the original on February 16, 2023. Retrieved February 16, 2023.
  127. "Someone made a version of 'Civilization' that runs in Microsoft Excel". Engadget. September 9, 2019. Archived from the original on February 16, 2023. Retrieved February 16, 2023.
  128. Dalgleish, Debra. "Have Fun Playing Games in Excel". Contextures Excel Tips. Archived from the original on February 9, 2023. Retrieved February 16, 2023.
  129. "Microsoft Excel esports is real and it already has an international tournament". ONE Esports. June 9, 2021. Archived from the original on February 16, 2023. Retrieved February 16, 2023.

Further reading

External links

Spreadsheets
Free and open-source
Proprietary freeware
Retail
Discontinued
Microsoft 365
Microsoft Office
Windows
Mac
Applications
(list)
Desktop
Server
Mobile
Web
Discontinued
Technologies
Related
  1. AI Spreadsheet. Sourcetable Inc., 2024. Retrieved 2024-11-14.
Categories: