Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to create running total in an Excel Table
  • How To Filter Data in Excel
  • How to create a Histogram in Excel
  • Excel Line Chart
  • How to create Checklist in Excel

References

  • How to get last column number in range in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Vlookup Examples in Excel
  • Two-column Lookup in Excel
  • How to get address of first cell in range in Excel

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation whole percentage only
  • How To Create Drop-down List in Excel
  • Excel Data validation date in next 30 days
  • Excel Data validation no punctuation

How to get full workbook name and path in Excel

by

If you want to get the current workbook’s full path, name, and sheet with a formula, you can use the CELL function and a reference to any cell in the workbook. CELL will return the name in this format:

path[workbook.xlsx]sheetname

Note that you must save the worksheet in order to get the a result.

Formula

=CELL("filename",A1)

Explanation

A note about the reference argument

The CELL function has an optional second argument called “reference”. If reference is not supplied, CELL will return the name of the current “active sheet” which may or may not be the sheet where the formula exists, and might even be in a different workbook. To eliminate confusion, supply A1 for reference when you are getting the filename.

Post navigation

Previous Post:

How to count line breaks in cell in Excel worksheet

Next Post:

How to count total words in a cell in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Invoice status with nested if in Excel
  • How to use Excel XOR Function
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • NOT function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • EOMONTH function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate working days left in month in Excel
  • Display the current date in Excel
  • DAYS function: Description, Usage, Syntax, Examples and Explanation
  • Pad week numbers with zeros in Excel

Grouping

  • If cell contains one of many things in Excel
  • Group times into unequal buckets in Excel
  • How to randomly assign data to groups in Excel
  • Map text to numbers in Excel
  • Group numbers with VLOOKUP in Excel

General

  • AutoFit Column Width, AutoFit Row Height in Excel
  • List worksheet index numbers in Excel
  • How to get random value from list or table in Excel
  • How to calculate profit margin percentage in Excel
  • How to calculate percent of students absent in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning