Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you'll get expert help in seconds

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

How to insert current Excel file name in a cell in Excel – Excelchat

While working with spreadsheets, a time might come when you are required to add some additional information about the spreadsheet you are working on. Usually the additional information needed is just to help find the location of the workbook as well as worksheet for easy tracking and identity. The best way to do this is thus to insert filename and file path. In this post, we shall look at how to insert a filename in a cell.

How to use the filename formula to insert current file name

For you to be able to insert a cell filename using the formula for filename, you first need to select the cell where you want the filename to appear. Then type in the following filename formula;

=CELL (“filename”)

Figure 1: How to get filename using filename formula

The filename formula above shall return the full path as well as file name of the active sheet.

Many Excel users also utilize the filename formula when they want to show file path. As seen from figure 1 above, the file path is C:\Users\xx\Desktop\[Book1.xlsx]Sheet1.

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Leave a Comment


Subscribe to

Get updates on helpful Excel topics

Subscribe to
Trusted by people who work at, Inc
Facebook, Inc
Accenture PLC
Siemens AG
The Allstate Corporation
United Parcel Service
Dell Inc