Summary

The Excel INFO function returns information about the current environment, including platform, Excel version, number of worksheets in a workbook, and so on. To use the INFO function, supply the type of information you want as text. There are seven types of information available, summarized in the table below.

Purpose
Get information about current environment
Return value
The information requested
Syntax
=INFO(type_text)
  • type_text - The information type to return as text.

Using the INFO function

The INFO function can retrieve information about the current environment, including the operating system, the operating system version, Excel version, and so on. INFO takes one argument, type_text, which is a text value indicating the type of information to be returned.

Examples

To use the INFO function, supply the type of information you want as text. For example, to retrieve the operating system, use "system":

=INFO("system") // returns "pcdos" or "mac"

To request Excel release information, use "release":

=INFO("release") // returns string like "16.0"

There are seven types of information you can request, summarized in the table below:

Type Information
directoryPath of the current directory or folder
numfileNumber of active worksheets in open workbooks
originFirst visible cell at upper left
osversionOperating system version
recalcRecalculation mode
releaseExcel version
systemOperating system name

Note: INFO is a volatile function and will update each time a change is made to the worksheet. This can cause performance problems in larger or more complicated workbooks.

Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.