In google sheets, I want a function for a cell that will make the content of the cell be…
Jump to turn (6)
- 1In google sheets, I want a function for a cell that will make the content of the
- 2Well that's in a script. Is there no way to name the sheet from a cell that's a
- 3I'm not trying to change the sheet name. I'm only trying to put its name in a ce
- 4When I put in =MID(CELL(“filename”, A1), FIND(“]”, CELL(“filename”, A1)) + 1, 25
- 5Is it possible to write a script that will, when called, produce a list of the n
- 6Thank you! Now how do I call the function from a cell so that it will display th
- User
In google sheets, I want a function for a cell that will make the content of the cell be a string that names the name of the sheet. So for example, if it's a cell in a sheet called "Sheet1" I want the cell to say "Sheet1". Is this possible? Can you make a suggestion and explain the rationale step by step?
- Assistant
Yes, it is possible to get the sheet name in a cell using a custom Google Sheets script.
Here are the steps to create a custom function that will return the sheet name: