Author: Oscar Cronquist Article last updated on April 17, 2018

The INFO function returns information about the current operating environment, file path, number of active worksheets, Excel version etc.

Excel Function Syntax

INFO(type_text)

Arguments

type_text Required. Text that determines what the INFO function returns.

Here are the different options.

type_text What it returns
"directory" Path of the current directory or folder.
"numfile" Number of active worksheets in the open workbooks.
"origin"

Returns the absolute cell reference of the top and leftmost cell visible in the window, based on the current scrolling position, as text prepended with "$A:". This value is intended for for Lotus 1-2-3 release 3.x compatibility. The actual value returned depends on the current reference style setting. Using D9 as an example, the return value would be:

  • A1 reference style     "$A:$D$9".
  • R1C1 reference style    "$A:R9C4"
"osversion" Current operating system version, as text.
"recalc" Current recalculation mode; returns "Automatic" or "Manual".
"release" Version of Microsoft Excel, as text.
"system" Name of the operating environment:
Macintosh = "mac"
Windows = "pcdos"