SOLVED

workbook and sheet name via formula

%3CLINGO-SUB%20id%3D%22lingo-sub-1681449%22%20slang%3D%22en-US%22%3Eworkbook%20and%20sheet%20name%20via%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1681449%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20standard%20header%20I%20put%20on%20almost%20every%20excel%20workbook%20I%20create%20I%20have%20been%20using%20for%20years.%20It%20includes%20several%20standard%20items%2C%20including%20Workbook%20name%20and%20Worksheet%20name%2C%20which%20are%20extracted%20via%20CELL(%22Filename%22%2CA1)%20formula.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20Excel%20workbooks%20that%20are%20being%20viewed%20in%20Excel%20Online%2C%20however%2C%20whether%20through%20onedrive%2C%20sharepoint%2C%20or%20whatever%2C%20this%20formula%20yields%20a%20%23VALUE!%20error.%20When%20I%20open%20in%20desktop%2C%20it%20renders%20fine%2C%20just%20not%20when%20looking%20at%20browser%20window.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20an%20alternative%20that%20I%20can%20use%20to%20display%20current%20workbook%20and%20worksheet%20names%20via%20a%20formula%20in%20a%20cell%20that%20is%20compatible%20with%20Excel%20Online%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1681449%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20for%20web%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1682167%22%20slang%3D%22en-US%22%3ERe%3A%20workbook%20and%20sheet%20name%20via%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1682167%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F571483%22%20target%3D%22_blank%22%3E%40liverlarson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eyou%20need%20to%20create%20a%20Name%20like%20%22SheetName%22%20and%20use%20GET.CELL(32%2CA1)%20in%20the%20Refers%20To%20area.%20Whenever%20you%20need%20the%20sheet%20name%20you%20need%20to%20type%20%22%3DSheetName%22%20in%20the%20cell%20and%20you%20will%20get%20workbook%20and%20sheet%20name.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20a%20Excel%204%20Macro%20and%20not%20being%20supported.%20You%20can%20use%20it%20in%20Names%20though.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlternatively%20you%20can%20use%20below%20macro%2C%20and%20type%20%22%3DSayfaIsmiAl()%22%20in%20a%20cell%20to%20get%20sheet%20name%3A%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EPublic%20Function%20SayfaIsmiAl(Optional%20ByVal%20No%20As%20Integer)%20As%20Variant%3C%2FP%3E%3CP%3EApplication.Volatile%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20No%20%26gt%3B%20ActiveWorkbook.Worksheets.Count%20Then%3CBR%20%2F%3E%3CBR%20%2F%3ESayfaIsmiAl%20%3D%20CVErr(xlErrRef)%3CBR%20%2F%3EExit%20Function%3CBR%20%2F%3E%3CBR%20%2F%3EEnd%20If%3CBR%20%2F%3E%3CBR%20%2F%3EDim%20SayfaIsimleri()%20As%20String%3CBR%20%2F%3EReDim%20SayfaIsimleri(1%20To%201)%3CBR%20%2F%3E%3CBR%20%2F%3EDim%20SayfaNo%20As%20Integer%3CBR%20%2F%3EFor%20SayfaNo%20%3D%201%20To%20ActiveWorkbook.Worksheets.Count%3CBR%20%2F%3E%3CBR%20%2F%3EReDim%20Preserve%20SayfaIsimleri(1%20To%20SayfaNo)%3CBR%20%2F%3ESayfaIsimleri(SayfaNo)%20%3D%20ActiveWorkbook.Worksheets.Item(SayfaNo).Name%3CBR%20%2F%3E%3CBR%20%2F%3ENext%20SayfaNo%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20No%20%3D%200%20Then%3CBR%20%2F%3ESayfaIsmiAl%20%3D%20SayfaIsimleri%3CBR%20%2F%3EElse%3CBR%20%2F%3E%3CBR%20%2F%3ESayfaIsmiAl%20%3D%20SayfaIsimleri(No)%3CBR%20%2F%3E%3CBR%20%2F%3EEnd%20If%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEnd%20Function%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1683158%22%20slang%3D%22de-DE%22%3ESubject%3A%20workbook%20and%20sheet%20name%20via%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1683158%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F571483%22%20target%3D%22_blank%22%3E%40liverlarson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3ERead%20out%20the%20designation%20%2F%20name%20of%20the%20worksheet%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3ERead%20out%20by%20formula%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20The%20focus%20of%20the%20formula%20solution%20is%20the%20CELL%20function%20(infotype%3B%20reference).%20In%20addition%20to%20the%20file%20name%20and%20the%20full%20path%2C%20the%20File%20Name%20infotype%20also%20returns%20the%20name%20of%20the%20worksheet.%20This%20is%20extracted%20using%20further%20functions%20so%20that%20only%20the%20sheet%20name%20is%20output%20at%20the%20end.%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20The%20result%20is%20achieved%20with%20these%20two%20formulas%3A%20%3CBR%20%2F%3E%20(formulas%20are%20from%20German%20Translate)%20%3CBR%20%2F%3E%20a)%20%3D%20PART%20(CELL%20(%22filename%22%3B%20A1)%3B%20FIND%20(%22%5D%22%3B%20CELL%20(%22filename%22%3B%20A1))%20%2B%201%3B%20255)%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20or%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20b)%20%3D%20PART%20(CELL%20(%22filename%22%3B%20A1)%3B%20FIND%20(%22%5D%22%3B%20CELL%20(%22filename%22%3B%20A1))%20%2B%201%3B%20LENGTH%20(CELL%20(%22filename%22%3B%20A1))%20-%20FIND%20(%22%5D%22%3B%20CELL%20(%22filename%22%3B%20A1)))%20%3CBR%20%2F%3E%3CBR%20%2F%3E%202.%20Read%20out%20via%20VBA%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20The%20following%20VBA%20function%20reads%20out%20the%20sheet%20name%20via%20VBA%20and%20displays%20it%20in%20a%20cell.%20To%20do%20this%2C%20enter%20the%20following%20code%20in%20a%20code%20module.%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3EPublic%20Function%20sheetname%20()%20As%20String%0AApplication.Volatile%0Asheetname%20%3D%20ActiveSheet.Name%0AEnd%20function%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CBR%20%2F%3EIf%20you%20now%20enter%20the%20function%20%3D%20sheetname%20()%20in%20a%20cell%2C%20the%20sheet%20name%20is%20read%20out%20and%20output%20in%20the%20corresponding%20cell.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E*%20Kindly%20Mark%20and%20Vote%20this%20reply%20if%20it%20helps%20please%2C%20as%20it%20will%20be%20beneficial%20to%20more%20community%20members%20reading%20here.%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1683432%22%20slang%3D%22en-US%22%3EBetreff%3A%20workbook%20and%20sheet%20name%20via%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1683432%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F722750%22%20target%3D%22_blank%22%3E%40Nikolino%3C%2FA%3E%26nbsp%3B%2C%20VBA%20doesn't%20work%20with%20Excel%20Online%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1683436%22%20slang%3D%22de-DE%22%3ESubject%3A%20workbook%20and%20sheet%20name%20via%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1683436%22%20slang%3D%22de-DE%22%3EYou%20are%20right%2C%20I%20disregarded%20the%20labels%20%3CLI-EMOJI%20id%3D%22lia_disappointed-face%22%20title%3D%22%3Adisappointed_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1685047%22%20slang%3D%22en-US%22%3ERe%3A%20workbook%20and%20sheet%20name%20via%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1685047%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%26nbsp%3BHmm%2C%20wasn't%20aware%20of%20office%20scripts.%20From%20my%2030%20seconds%20of%20research%20it%20looks%20like%20they%20are%201)%20pretty%20new%2C%202)%20basically%20VBA%2Fmacros%20for%20online%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20did%20an%20office%20script%20to%20accomplish%20this%20functionality%2C%20does%20that%20in%20any%20way%20translate%20to%20the%20workbook%20when%20I%20download%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESuch%20a%20simple%20thing.%20Seems%20weird%20to%20have%20to%20use%20an%20online-specific%20solution.%20As%20an%20aside%2C%20do%20you%20happen%20to%20know%20why%20CELL%20doesn't%20work%20online%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1685285%22%20slang%3D%22de-DE%22%3ESubject%3A%20workbook%20and%20sheet%20name%20via%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1685285%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F571483%22%20target%3D%22_blank%22%3E%40liverlarson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EDoes%20Office%20365%20Excel%20support%20VBA%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EAll%20versions%20of%20Windows%20desktop%20Excel%20from%20Excel%205%20through%20Excel%202019%20support%20VBA.%3C%2FP%3E%3CP%3EThis%20includes%20the%20version%20of%20Excel%20installed%20by%20Office%20365.%20...%3C%2FP%3E%3CP%3EThere%20is%20no%20version%20of%20Excel%20Online%2C%20iOS%20Excel%20or%20Android%20Excel%20that%20supports%20VBA.%3C%2FP%3E%3CP%3ENor%20does%20any%20version%20of%20Excel%20that%20runs%20on%20Windows%20RT%20support%20VBA.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20my%20humble%20opinion%2C%20it%20would%20be%20good%20to%20always%20have%20the%20possibility%20of%20VBA%20in%20Excel.%3C%2FP%3E%3CP%3EAll%20new%20options%20such%20as%20editing%20PDF%20and%20cloud%20options%2C%20in%20all%20future%20versions%2C%20will%20be%20required%20VBA.%3C%2FP%3E%3CP%3EUnless%20someone%20has%20already%20adjusted%20to%20Java%20script%20...%20Which%20I%20don't%20hope.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20don't%20know%20is%2C%20if%20you%20maybe%20can%20open%20from%20the%20Developer%20tab%20in%20Visual%20Basic%20editor%2C%20I%20don't%20have%20Office%20365%20yet.%20You%20can%20try%20it%2C%20maybe...%20Maybe%20it%20will%20work.%3C%2FP%3E%3CP%3EThe%20sequence%20is%20in%20Excel%202016%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Click%20File%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Click%20Options%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Click%20Customize%20Ribbon%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Under%20the%20list%20of%20Main%20Tabs%2C%20select%20Developer%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Click%20OK%3C%2FP%3E%3CP%3EThe%20Developer%20tab%20will%20now%20appear%20on%20the%20Ribbon%20and%20from%20it%20you%20can%20open%20the%20Visual%20Basic%20Editor.%3C%2FP%3E%3CP%3E%26nbsp%3BIf%20opening%20the%20Developer%20tab%20and%20clicking%20a%20button%20is%20a%20little%20too%20much%20work%2C%20you%20can%20also%20open%20the%20editor%20with%20the%20keyboard%20shortcut%20Alt%2BF11%2C%20which%20works%20whether%20the%20Developer%20tab%20is%20enabled%20or%20not.%3C%2FP%3E%3CP%3EAs%20I%20told%20you%20before%2C%20with%20the%20logic%20of%20Excel%202016.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I have a standard header I put on almost every excel workbook I create I have been using for years. It includes several standard items, including Workbook name and Worksheet name, which are extracted via CELL("Filename",A1) formula. 

 

For Excel workbooks that are being viewed in Excel Online, however, whether through onedrive, sharepoint, or whatever, this formula yields a #VALUE! error. When I open in desktop, it renders fine, just not when looking at browser window. 

 

Is there an alternative that I can use to display current workbook and worksheet names via a formula in a cell that is compatible with Excel Online?

16 Replies

@liverlarson 

you need to create a Name like "SheetName" and use GET.CELL(32,A1) in the Refers To area. Whenever you need the sheet name you need to type "=SheetName" in the cell and you will get workbook and sheet name. 

 

This is a Excel 4 Macro and not being supported. You can use it in Names though.

best response confirmed by liverlarson (Contributor)
Solution

@liverlarson 

Afraid for Excel Online that's only with Office Script, there are properties getName both for workbook and worksheet.

 

VBA and related functions don't work in Excel Online.

@liverlarson 

 

Read out the designation / name of the worksheet

Read out by formula

The focus of the formula solution is the CELL function (infotype; reference). In addition to the file name and the full path, the File Name infotype also returns the name of the worksheet. This is extracted using further functions so that only the sheet name is output at the end.

The result is achieved with these two formulas:
(formulas are from German Translate)
a) = PART (CELL ("filename"; A1); FIND ("]"; CELL ("filename"; A1)) + 1; 255)

or

b) = PART (CELL ("filename"; A1); FIND ("]"; CELL ("filename"; A1)) + 1; LENGTH (CELL ("filename"; A1)) - FIND ("]"; CELL ("filename"; A1)))

2. Read out via VBA

The following VBA function reads out the sheet name via VBA and displays it in a cell. To do this, enter the following code in a code module.

 

Public Function sheetname () As String
Application.Volatile
sheetname = ActiveSheet.Name
End function

 


If you now enter the function = sheetname () in a cell, the sheet name is read out and output in the corresponding cell.

 

 

I would be happy to know if I could help.

 

Nikolino

I know I don't know anything (Socrates)

 

* Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.

@NikolinoDE , VBA doesn't work with Excel Online

You are right, I disregarded the labels

@Sergei Baklan Hmm, wasn't aware of office scripts. From my 30 seconds of research it looks like they are 1) pretty new, 2) basically VBA/macros for online

 

If I did an office script to accomplish this functionality, does that in any way translate to the workbook when I download it?

 

Such a simple thing. Seems weird to have to use an online-specific solution. As an aside, do you happen to know why CELL doesn't work online?

@liverlarson 

 

Does Office 365 Excel support VBA?

 

All versions of Windows desktop Excel from Excel 5 through Excel 2019 support VBA.

This includes the version of Excel installed by Office 365. ...

There is no version of Excel Online, iOS Excel or Android Excel that supports VBA.

Nor does any version of Excel that runs on Windows RT support VBA.

 

In my humble opinion, it would be good to always have the possibility of VBA in Excel.

All new options such as editing PDF and cloud options, in all future versions, will be require VBA.

Unless someone has already adjusted to Java script ... which I don't hope.

 

What I don't know is, if you maybe can open from the Developer tab in Visual Basic editor, I don't have Office 365 yet. You can try it, maybe…maybe it will work.

The sequence is in Excel 2016

     Click File

     Click Options

     Click Customize Ribbon

     Under the list of Main Tabs, select Developer

     Click OK

The Developer tab will now appear on the Ribbon and from it you can open the Visual Basic Editor.

 If opening the Developer tab and clicking a button is a little too much work, you can also open the editor with the keyboard shortcut Alt+F11, which works whether the Developer tab is enabled or not.

As I told you before, with the logic of Excel 2016.

 

Nikolino

I know I don't know anything (Socrates)

@liverlarson 

You are right, Office Script is relatively new functionality available only for targeted tenants, that means not for everyone so far. And yes, basically they have the same role as VBA/macro for desktop versions, but that's totally different technology. Since the engines which runs online and desktop versions are different.

 

Back to question, Excel Online has limited functionality compare to desktop version which, however, is expanded quite fast. To my knowledge there is no built-in function which allows to return file/sheet name. 

yeah, VBA is supported in O365 - this question is specific to Excel documents being intereacted with through a web browser (Excel online) though.

The CELL function which works on desktop does not work with online (weirdly), and same is true of VBA.

It's a pretty small detail (CELL formula not working online), not a critical functionality, just annoying to me, because I literally use the same header on every document as a matter of best practice.

@liverlarson 

- you may always check if function available for online version or not here Excel functions (alphabetical) In particular,  what it says for CELL

image.png

- you may vote for the idea to add CELL() for the online version here CELL function added to online . In theory more votes more chances it'll be added.  

- Perhaps one day functionality of desktop and online versions will be synced, at least that's how I understand Microsoft intention. But with that most probably not VBA will go online but Office Script will go on desktop. That's a long way.

@NikolinoDE Before moving to Office 365 I used this function to include the workbook name in the Heading of the Workbook (not in the header) so new versions automatically pick up the right name. It almost works in 365, using =MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-6) but as soon as I open a 2nd workbook it changes the content of the cell in the 1st workbook to the filename of the newly opened workbook. Very frustrating and confusing!

@HughBT 

 

Excel

ExcelApplication features Excel for the web Excel desktop app
Accessibility CheckerYesYes
Add background color to sheet tabsYesYes
Add hyperlinksYesYes
Advanced time filtering (Timeline slicer)NoYes
AlignmentYesYes
Apply conditional formattingYesYes
Apply smart/recommended formattingNoYes
Audio notes recordingNoYes
AutocompleteYesYes
AutoSumYesYes
CalculationsYesYes
Cell references in formulasYesYes
Comment creationYesYes
Copy and pasteYesYes
Create external data connections2No3Yes
Create tablesYesYes
Creation of advanced analysis views (Power View, Power Pivot, Slicers)NoYes
Data validationYesYes
Drag and drop cellsYesYes
DropboxYesYes
Duplicate (copy) worksheetsYesYes
Embed workbook on web or blog page (OneDrive)YesNo
External referencesNo4Yes
Fill handleYesYes
FindYesYes
Font and cell formattingYesYes
Formula barYesYes
Formula tools, advancedNoYes
Freeze panesYesYes
Full fidelity reading viewYesYes
Functions YesYes
GoToYesYes
Group dataYesYes
Hide/unhide rows, columns, and sheetsYesYes
Insert chartsYesYes
Insert/delete rows and columnsYesYes
Insert picturesYesYes
Insert shapesYesYes
Merge cellsYesYes
Named rangesYesYes
Number formattingYesYes
Office Add-insYes5Yes
Offline viewing and authoringNoYes
PivotChartsYes1Yes
PivotTablesYesYes
Post to social network and present onlineNoYes
Power Pivot viewingYesYes
Power View viewingYesYes
PrintYesYes
Real-time co-authoringYesYes
Recommended chart creation and editing with formatting controlsNoYes
Refresh existing data connectionsYesYes
Remove duplicate valuesYesYes
Rename and add sheetsYesYes
Rename file while workbook is openYesNo
ReplaceYesYes
Rights management: IRM and password securityNoYes
Save or download a copyYesYes
ShareYesYes
Sheet protectionYesYes
SlicersYesYes
Sort and filter dataYesYes
Spreadsheet audit and complianceNoYes
Status bar aggregatesYesYes
SurveysYesNo
Tell MeYesYes
Text formattingYesYes
Total dataYesYes
Undo and redoYesYes
VBA and macro scriptingYes3Yes
View 3D chartsYesYes
What if analysis toolsNoYes

 

Feature availability

https://docs.microsoft.com/en-us/office365/servicedescriptions/office-online-service-description/off...

 

Thank you for your patience and time.

 

Wish you a nice day / night with lots of health, joy and love.

 

Nikolino

I know I don't know anything (Socrates)

@HughBT 

You may vote here CELL function added to online  for this function. More votes sooner it could appear. 

To get the Sheetname in Excel Online: In another Sheet (e.g. Sheet2)
B1=Sheet1!$A$1
C1=SUBSTITUTE(LEFT(FORMULATEXT(B1);FIND("!";FORMULATEXT(B1)));"=";"")
Result of C1: Sheet1!

The result of C1 can be used in Formulas such as INIDIRECT (…) and adapts automatically if sheet1 is renamed.
And of course, you can place this workaround on a technical hidden sheet (sheet2 in this example) , and display the result on the current sheet, if you really need the current sheet name
Strange thing is that it works momentarily when you open the spreadsheet, displaying the correct value, before reverting to #VALUE!

@Guy_Boswell 

If you had some value in last saved in desktop version file, it is shown in Online version from cache till you recalculate worksheet. After that an error.