Information function

INFO function

Returns information about the current operating environment, such as the operating system, Excel version or calculation mode.

Available in All versions of Excel, including Microsoft 365 and Excel for the web (results depend on the platform; some types return limited information in Excel for the web)

In every Excel versionNot in Google Sheets

Syntax

INFO(type_text)
ArgumentWhat it means
type_textRequiredText naming what you want: "directory", "numfile", "origin", "osversion", "recalc", "release" or "system".

Returns: Text or a number describing the environment.

How INFO works

INFO reports facts about the Excel session rather than about the workbook's data. "system" returns pcdos on Windows and mac on a Mac, "release" returns the version number (for example 16.0 for Microsoft 365 and Excel 2016 to 2024), "recalc" returns Automatic or Manual, "osversion" describes the operating system, "numfile" counts the worksheets in all open workbooks, and "directory" gives the current folder path.

It is a niche function, but useful in shared templates. A warning cell such as =IF(INFO("recalc")="Manual", "Press F9 to update totals", "") prevents people from trusting stale numbers, and a template that behaves differently on Mac can check INFO("system"). Several older types (memory information, for instance) were removed in modern versions and now return #N/A.

Examples

1Which operating system?

A1fx=INFO("system")
A
1pcdos

Result: pcdos

On Windows the result is pcdos (a name kept from the early days of Excel); on a Mac it is mac.

2Warn when calculation is set to manual

A1fx=IF(INFO("recalc")="Manual", "Totals may be out of date - press F9", "OK")
A
1OK

Result: OK

With the normal setting INFO returns Automatic, so the cell shows OK. If someone switches to manual calculation in Formulas > Calculation Options, the warning appears after the next recalculation.

3Excel version number

A1fx=INFO("release")
A
116.0

Result: 16.0

Microsoft 365 and Excel 2016, 2019, 2021 and 2024 all report version 16.0, so this cannot tell those apart; Excel 2013 reports 15.0.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Common errors and how to fix them

ErrorWhy it happensFix
#VALUE!type_text is not one of the recognised words.Check the spelling and put the word in quotes.
#N/AAn old type such as "memavail" that modern Excel no longer supports.Use only the types listed above.

Tips

  • Be careful when sharing: INFO("directory") and INFO("osversion") can reveal folder names and system details in a workbook you send to others.
  • For details about the file and sheet rather than the environment, use CELL with "filename".

Google Sheets

Not available; there is no formula for the operating environment, but SHEETS() and Apps Script cover some of the same needs.

INFO in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechO.PROSTŘEDÍ
FinnishKUVAUS
FrenchINFORMATIONS
HungarianINFÓ
ItalianAMBIENTE.INFO
Portuguese (Brazil)INFORMAÇÃO
Portuguese (Portugal)INFORMAÇÃO
RussianИНФОРМ
TurkishBİLGİ