INFO Function in Excel

Master the INFO function to retrieve system information including Excel version, directory paths, and OS details. Includes examples and solutions.

ExcelExcel
Google SheetsGoogle Sheets
information
intermediate
Syntax Preview
ExcelExcelGoogle SheetsGoogle Sheets
=INFO(type_text)
Comprehensive Explanation

Practical Examples

Check Excel Version for Compatibility

Identify Excel version before distributing workbooks with version-specific functions

Result: "16.0" (for Excel 2016/2019/365)

Retrieve Current Working Directory

Get the default file location for documenting workbook paths

Result: "C:\Users\Username\Documents\" (Windows) or "/Users/username/Documents/" (Mac)

Identify Operating System Version

Retrieve OS information for system audits and troubleshooting

Result: Windows: "Windows (64-bit) NT 10.00" | Mac: "Macintosh Version 10.15.7" | Sheets: "Google Sheets"

Verify Calculation Settings

Check recalculation mode to troubleshoot formula update issues

Result: "Automatic" | "Manual" | "Automatic except tables"

Count Active Worksheets Across Workbooks

Get total worksheet count across all open workbooks

Result: "3" (total sheets across all open workbooks)

Common Errors and Solutions

#N/A

Information type is not available

Cause:

The type_text argument contains a misspelled or unsupported information type. Common mistakes include typos like "relese" instead of "release", using info types not supported on the current platform (e.g., "memavail" on modern Excel or Google Sheets), or case sensitivity issues when combining with other functions. While INFO itself is case-insensitive, the context may introduce problems.

Solution:

1. Verify spelling of the type_text argument carefully 2. Check platform compatibility for the info type you're using: • Universal types: "release", "directory", "osversion", "recalc", "numfile" • Windows-specific: "memavail", "memused", "origin", "totmem" • Limited in Excel Online and Google Sheets (only "release" and "osversion") 3. Create a reference list of valid INFO types in your workbook: =CHOOSE(A1, "directory", "osversion", "release", "recalc", "numfile", "system", "origin", "memavail", "memused", "totmem") Then use =INFO(A1) to select from a dropdown 4. Use IFERROR for graceful handling: =IFERROR(INFO("directory"), "Type not supported on this platform") 5. Test all INFO formulas on your target platform before deploying workbooks

Prevention:

Create a reference guide visible in your workbook listing supported INFO types for your Excel version and platform. Document which types work on Windows vs Mac vs Google Sheets. Add data validation to cells where users select info types, limiting choices to supported values only.

Frequency: 60%

Example:

#NAME?

Excel doesn't recognize the text in the formula

Cause:

Forgetting to enclose the type_text argument in quotation marks. When you write =INFO(release) without quotes, Excel interprets "release" as a named range or cell reference rather than a text string. Since no named range called "release" exists, Excel returns the #NAME? error indicating it doesn't recognize the term.

Solution:

1. Always wrap the info type in double quotes: CORRECT: =INFO("release") - With quotes WRONG: =INFO(release) - Missing quotes 2. If using a cell reference for the type, the cell should contain text (no quotes needed in the formula): Cell A1 contains: release Formula: =INFO(A1) - Correct, references cell containing text 3. Check for proper quote pairing - missing or mismatched quotes cause this error 4. Verify you're using straight quotes (") not curly/smart quotes which can happen when copying from documents 5. Use Excel's syntax highlighting to verify quotes are present and properly paired

Prevention:

Remember that INFO requires a TEXT argument, not a reference. Use Excel's Formula AutoComplete feature which shows the syntax as you type. When copying formulas from documentation, paste into Notepad first to remove formatting, then copy to Excel to avoid smart quote issues. Create a data validation list of info types users can select rather than typing manually.

Frequency: 25%

Example:

Unexpected Results

Results differ from documentation or expectations

Cause:

INFO returns different values on different platforms (Windows vs Mac vs Excel Online vs Google Sheets). Users expect consistent results but get platform-specific information. For example, INFO("directory") uses backslashes on Windows (C:\Users\) but forward slashes on Mac (/Users/), INFO("osversion") returns completely different strings per platform, and some info types return "Not available" in Excel Online for security reasons. Google Sheets only supports 2 info types total.

Solution:

1. Document expected results per platform in your workbook or user guide 2. Normalize path separators for cross-platform compatibility: =SUBSTITUTE(INFO("directory"), "\\", "/") This converts backslashes to forward slashes that work on all platforms 3. Add platform detection logic for conditional behavior: =IF(ISNUMBER(SEARCH("Windows", INFO("osversion"))), "Windows instructions", "Mac instructions") 4. Use IFERROR for graceful handling of platform differences: =IFERROR(INFO("directory"), "Directory information not available on this platform") 5. Test specifically on all target platforms before distribution: • Excel Windows (latest version) • Excel Mac (latest version) • Excel Online (if applicable) • Google Sheets (if claiming compatibility) 6. Create platform-specific versions if necessary for critical functionality

Prevention:

Always test INFO formulas on all target platforms before deploying workbooks. Document platform requirements clearly in workbook instructions or README sheets. Use IFERROR to handle unsupported types gracefully. Consider creating a startup macro or worksheet that detects the platform and provides appropriate warnings or instructions to users. Build platform detection into your formulas rather than assuming all environments are identical.

Frequency: 15%

Example:

Best Practices and Advanced Tips

Create a System Information Dashboard

Combine multiple INFO functions to create a comprehensive system information dashboard invaluable for IT support, auditing, and troubleshooting. Build a dedicated worksheet or section that automatically captures environment details. **Example Dashboard Structure:** ``` A1: System Information Report A2: Excel Version: B2: =INFO("release") A3: Operating System: B3: =INFO("osversion") A4: Current Directory: B4: =INFO("directory") A5: Calculation Mode: B5: =INFO("recalc") A6: Open Worksheets: B6: =INFO("numfile") A7: Report Generated: B7: =TEXT(NOW(),"YYYY-MM-DD HH:MM:SS") ``` **Benefits:** Provides one-click environment documentation, creates consistent audit format across your organization, automatically updates with system changes, and is easy to screenshot or email for technical support requests. This approach eliminates manual documentation and ensures accuracy.

Conditional Logic Based on Excel Version

Use INFO("release") to create formulas that adapt to Excel version, ensuring backward compatibility. This prevents #NAME? errors when workbooks are opened in older Excel versions that don't support newer functions. **Version-Adaptive Formula Example:** ```excel =IF(VALUE(INFO("release"))>=16, XLOOKUP(A2,B:B,C:C), VLOOKUP(A2,B:C,2,FALSE)) ``` This formula uses XLOOKUP on Excel 2016+ but automatically falls back to VLOOKUP on older versions. **Advanced Version Detection:** ```excel =IF(VALUE(INFO("release"))>=16, "Excel 2016+ detected - All features available", "Legacy Excel detected - Using compatibility mode") ``` **Best For:** Template developers who distribute workbooks to users with mixed Excel versions, consultants working across client environments, and organizations undergoing staged Excel upgrades where different users have different versions.

Platform-Specific Instructions

Create user-friendly instructions that automatically adapt to the user's operating system, providing relevant keyboard shortcuts and navigation tips without requiring separate documentation for each platform. **Dynamic Keyboard Shortcut Example:** ```excel ="To save: Press " & IF(ISNUMBER(SEARCH("Windows",INFO("osversion"))), "Ctrl+S", "Cmd+S") ``` **Extended Platform Detection:** ```excel =CHOOSE( IF(ISNUMBER(SEARCH("Windows",INFO("osversion"))),1,2), "Windows detected: Use Alt+Tab to switch workbooks", "Mac detected: Use Cmd+Tab to switch workbooks" ) ``` **Use Cases:** Training materials that work across platforms, user manuals embedded in workbooks, in-app help text and tooltips, and templates distributed to diverse user bases. This eliminates the need to maintain separate documentation for Windows and Mac users.

Alert Users to Manual Calculation Mode

Many users don't realize they're in manual calculation mode, leading to confusion when formulas don't update. Create a prominent warning indicator that alerts users to this condition. **Visual Alert Formula:** ```excel =IF(INFO("recalc")<>"Automatic", "WARNING: Manual Calculation Mode Active - Press F9 to Update", "Automatic Calculation Active") ``` **With Conditional Formatting:** 1. Create rule: =INFO("recalc")<>"Automatic" 2. Format: Red fill, bold white text, large font 3. Apply to prominent cell (A1 or dedicated status bar) **Advanced Implementation with Timestamp:** ```excel =IF(INFO("recalc")="Manual", "MANUAL MODE: Last calc " & TEXT(NOW(),"HH:MM:SS"), "Auto-calculating") ``` Place this in a merged cell at the top of important worksheets. The visual warning prevents users from working with stale data.

Build Cross-Platform File Paths

When building file paths with INFO("directory"), normalize path separators for cross-platform compatibility. Windows uses backslashes while Mac uses forward slashes, which can break file reference formulas. **Problem:** Windows uses C:\Users\Name\ while Mac uses /Users/name/ **Solution - Normalized Path Building:** ```excel =SUBSTITUTE(INFO("directory"),"\\","/") & "Reports/2025-data.xlsx" ``` This converts all separators to forward slashes, which Excel accepts on both Windows and Mac. **Complete Dynamic Path Builder:** ```excel =SUBSTITUTE(INFO("directory"),"\\","/") & "Reports/" & TEXT(TODAY(),"YYYY-MM") & "/" & "Sales-Report.xlsx" ``` **Result Example:** /Users/name/Documents/Reports/2025-10/Sales-Report.xlsx **Important Note:** Excel handles forward slashes correctly on Windows in formulas, but Windows Explorer requires backslashes if users copy-paste paths. For display purposes, consider keeping platform-specific separators; for formula use, normalize to forward slashes.

Related Functions and Alternatives

Need Help with INFO Function in Excel?

Stop struggling with formula syntax. Use AskFormulas to generate validated formulas instantly with our AI-powered tool.

Example Excel formula:

Related Formulas

ERROR.TYPE Function Guide

Master ERROR.TYPE to identify Excel errors, build custom messages, and create robust error-handling logic. Complete guide with examples.

intermediate
information
ExcelExcel
Google SheetsSheets
Validated
NA Function in Excel & Sheets

Master the NA function to mark missing data. Learn when to use #N/A errors intentionally for better data management and chart visualization.

beginner
information
ExcelExcel
Google SheetsSheets
Validated
TYPE Function in Excel

The TYPE function returns the data type of a value as a numeric code. Essential for data validation, error detection, and dynamic formulas.

beginner
information
ExcelExcel
Google SheetsSheets
Validated
ISEVEN Function in Excel

The ISEVEN function checks if a number is even and returns TRUE or FALSE. Master ISEVEN with practical examples for data validation and conditional formatting.

beginner
information
ExcelExcel
Google SheetsSheets
Validated