Worksheet name excel online - cannot read

Kevineamon

New Member
Joined
Aug 1, 2018
Messages
27
Hi guys
I've created a new workbook recently, one of it's functions is to pull the start of a worksheet name, which then in turn populates other data.
eg. MrExcel_bla_123

'MrExcel' will get pulled into the cell, using the following formula:-

=SUBSTITUTE(REPLACE(CELL("filename",A1),1,FIND("]",CELL("filename",A1)),""), "_IO","")

This works fine, does it's job as expected... however... when I upload this to excel online, it fails, giving a #VALUE ! error. :(
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Dunno if it relates to this or not, but for the CELL("filename"... formula to work the file has to be saved first.
e.g.
I've just entered your formula into a blank sheet and I get #VALUE
If I save the file I still get the error
but if now press F9 to recalculate formulas
I now get the sheet name displayed correctly.
 
Last edited:
Upvote 0
Apologies for the slow delay Special, just back in work. I was really hoping this would fix it. Unfortunately not. Even tried save as a different filename and F9ing again. No joy. I'm upload this to a Onedrive - Excel online. I'd suspect this is pointed towards the location of my C drive. Maybe I need to give it a URL or something? :confused:
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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