Could anybody explain what is the practical use of the CELL() function when it is used in the attached examples from the user help facility?
Why would anybody need a function to repeat back to them what they just told that function?
It’s totally incompatible with Excel, wherein it returns the location of the last focused cell, providing valuable information for decision making. Quite specifically, for identifying a key to a lookup() that could feature in a known column on the unknown row where the cursor can be found.
Is it perhaps backward compatibility with Lotus 123?
Probably more importantly, is there a mechanism (and support) for requesting compatibility with Excel?
These are the function calls that seem to support the provision of an ashtray on a Harley Davidson:-
COL
Returns the number of the referenced column.
=CELL(“COL”;D2) returns 4. - I suppose it is possible that even if you don’t know that “D” is the 4th letter of the alphabet, it may be useful to have a permanent reminder cluttering up the sheet somewhere. An experiment identified that it can adapt to column insertions before D - wonderful, I now know that “E” is the 5th letter of the alphabet. Do users often need to know that column XEY2 is 16379?
ROW
Returns the number of the referenced row.
=CELL(“ROW”;D2) returns 2. - If the 2nd parameter isn’t provided, it just tells you “You typed into the row you’re on” - even more amusing "You’re really asking me for the row number of the row number you just gave me!"
SHEET
Returns the number of the referenced sheet.
=CELL(“Sheet”; Sheet3.D2) returns 3.
ADDRESS
Returns the absolute address of the referenced cell.
=CELL(“ADDRESS”;D2) returns $D$2.
=CELL(“ADDRESS”; Sheet3.D2) returns $Sheet3.$D$2.
=CELL(“ADDRESS”;‘X:\dr\test.ods’#$Sheet1.D2) returns ‘file:///X:/dr/test.ods’#$Sheet1.$D$2.