Apache OpenOffice (AOO) Bugzilla – Issue 104099
second argument for SHEET function
Last modified: 2009-08-10 23:25:48 UTC
Currently, TABLE always returns the table number to a given name or range I suggenst to add a second optional argument, specifying the format of the return result as TABLE(range, format) if format is missing or zero, the result returns the absolute table index if format is 1, the result returns the relative table index as difference to the table of the current cell if format is 2, the result returns the name of the specified table
sorry, the english name of the function is SHEET, not TABLE
> the result returns the name of the specified table you can use this workaround: =MID(CELL("FILENAME");FIND("#$";CELL("FILENAME")&0*RAND())+2;256) german: =TEIL(ZELLE("FILENAME");FINDEN("#$";ZELLE("FILENAME")&0*ZUFALLSZAHL())+2;256)
The problem getting the sheet name is already tracked in issue 10896. *** This issue has been marked as a duplicate of 10896 ***
closing duplicate