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 can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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