Assigning a macro to a cell instead of a drawing/text box - google-sheets

Is it possible to assign a macro/script to a cell in Google Sheets to cut out the need to have a drawing/text box to assign it to? I have a header in A1 which, when clicked, I would like to to take me to another sheet. The script I have works, it just looks a bit messy with a button over the cell

Related

Only show the first 10 characters in Google Spreadsheet cell followed by continuation character

I often have lots of data in spreadsheet cells but I don't necessarily want all the text to show in the cell as long as I can edit it in the formula bar.
So, for instance, I'd like to have the text "this text is a long sentence" in a cell but only display "this text is..." but if I click on the cell, the whole content displays in the formula bar so I can edit it.
I know that this relies on custom display formats but I can't find a way of making this work. There doesn't seem to be a placeholder for a single character, only the whole string (#).
EDIT
This is a link to the sheet ...
https://docs.google.com/spreadsheets/d/1Ahi1CsGAiD02tvAmKuQAKnNemyYdh6AUb1GcrwZCubI/edit#gid=2014979721
... this is a mock up of what I'd like to see in the cell.
Can anyone help?

How do I format a cell, only when it's not empty, based on the input of another cell?

I'm working on a spreadsheet in Google Sheets for multiple people, and indicate in a column who the person the information on that row pertains to. I want to format cells on that column, only when they're not empty, based on what person is selected in another cell.
I can create functions to format things based on another cell's entry, but I don't know how to compound that with a function for not being empty. Sorry if this is super basic, I just can't figure it out.
Yep. This is a super simple thing to do.
1) Highlight the column where the person's name appears.
2) From the main menu, select Format, Conditional formatting.
3) In the sidebar click add a new rule. what you want to do is create one rule for each name that appears (or could appear) in that column.
4) Under "Format cells if, select "Text is exactly"
5) Type the name in the cell where it says Value or Formula
6) Choose a background colour to suit.
7) Click Done.
8) Repeat steps 3 to 7 for each person; but change the background colour in each case.
Here's an example.

Google Sheets - How can I make a cell that calls on a macro?

The end goal is to have a cell at the end of a bunch of columns that will contain a button or hyperlink or checkbox that will tell the sheet to copy that whole row into another tab.
My first thought was to create a button in each row, but according to this question here, there is no way to anchor a button into a row and thus all information about that row would be lost when a user clicks the button.
My second and very painful thought was to create a hyperlink that sends an API payload to a GoogleSheetAPI demon I have written that manages these sheets with the row information. The hyperlink would contain the row information in the URL encoding. That would tell the demon to copy that row and put it in the input row.
The second seems so hackey and I feel like I'm missing something. Can I make a hyperlink that calls on a macro or function which will pass the row number?

Referenced text from other sheet not displayed as result

I previously had this working in my Google Sheet, but for some reason it no longer is.
I want to reference a cell from another sheet, for example, from the sheet titled 'Overall'
I type =Overall!N10 into the cell
I can see that it is the right formula because when I double click on the cell (to show the formula preview) it shows me the text in the box 'Difficult conversations'. However when click off that, it just show some other text "Palliative care".
I don't know why it's not displaying the formula preview in the cell:

Google Spreadsheet - Populate a cell based off different cells content, and use a third cells value

Is it possible to fill a cell with data from another cell based off the content of a different cell? I have a drop down menu in one cell, and when I select something from that menu, I would like the cell next to it to search a database on that sheet that the drop down is based off of. it has a second row with different values I would like to appear in the next column. I think about it, and it should seem easy, but I'm having troubles explaining it.
You could use VLOOKUP() to search the list based on the dropdown cell value. Ref

Resources