CELL("Filename")

MartinL

Well-known Member
Joined
Oct 16, 2008
Messages
1,141
Office Version
  1. 365
Platform
  1. Windows
Does anyone have any insight as to why =CELL("filename",A1) is returning <blank>

I had this in a working spreadsheet for years then today when I refreshed the file it is now returning a blank
The full formula I'm using is
=MID(CELL(“filename”,A1),FIND(“]”,CELL(“filename”,A2))+1,255)

but even when I break it down to its simplest form
=CELL("filename",A1)

I am getting nothing
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Does anyone have any insight as to why =CELL("filename",A1) is returning <blank>

Hi, has the workbook been saved? If not, filename will return blank.
 
Upvote 0
Solution
Hi, has the workbook been saved? If not, filename will return blank.
As strange as it is, this issue has never appeared before.
So I opened the last working file and resaved it, then refreshed it and it worked again as expected

Thanks for the insight, I will have to retain that piece of knowledge in case it happens again.
 
Upvote 0

Forum statistics

Threads
1,215,417
Messages
6,124,791
Members
449,188
Latest member
Hoffk036

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top