Subscribe to our YouTube Channel for more Videos

How to insert the Current file path to a Cell in Microsoft Excel ?


Do you want to insert the current excel workbook’s file path in to a cell in Microsoft Excel ?. You can use the formula to perform this.

How to insert the Current file path to a Cell in Microsoft Excel ?

Just paste the following formula in to the cell where you want to display the path of the file and press the enter key.

=LEFT(CELL(“filename”),FIND(“[“,CELL(“filename”),1)-1)

This will display the full path of the current file in the cell as shown in the screenshot.

image

Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.