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

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?

Related

How to quickly create a hyperlink to a sheet

I have a contents page of all the sheets in the document.
All of the cells listed under 'Rounds' and 'Data Input' have the same name as the sheet they are linking to, as you can see in the screenshot.
I was wondering if there is a way to create a link for all of these cells automatically, instead of going through every single one.
Thanks for the help.
I was able to do this by recording a Macro. Here are the steps I did whilst recording.
Delete all contents in the cells.
Paste in the array formula #player0 made me, into the first cell under the 'Rounds' column.
Select all the cells in the column and click on 'Convert to Links'.
Set colour to blue and underline so it looks like a link.
Here's the finished macro.

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?

Paste comma separated content into different cells in google sheets

Say I have the string "1,2,3,4". Is it possible to paste that string into Google Spreadsheets in such a way that each of the comma-separated values goes into a different cell to the right of the selected one?
This is what the spreadsheet would look like after pasting.
Since the file is a CSV. Ensure it is saved with the .CSV extension and upload the file to google sheets.
You also have the option of opening it with Microsoft excel and then pasting the cell formatted text into the google sheet.
Also You can paste the comma separated values into the google sheet and then click the paste icon that appears below the cell and select the 'Split text into columns' Option
Enter into the spreadsheet
=SPLIT("1,2,3,4", ",")
No. If you try inserting any formula by overwriting the selected cell the data the formula needs will be overwritten, hence not be available to the formula.
You could use say:
=split(A1,",")
to obtain the results you want to the right of the cell with data in, but this would have to be placed to the right of the cell with data, not in it.
#Treyten's A would also achieve the result you seek except that it would not be to the right of the chosen cell (etc) but in the chosen cell (and to its right etc, assuming the usual LTR).
Similarly with #tks.tman's A. The contents spill out to the right but they do not start in a "cell to the right of the selected one" but in the selected one.
First select the cell on of your action and click Data
1st step
Now, select 'split text to column', it will name it a number
2nd step
now, again goto data and select split text to column open it will transfer every comma separated element into individual columns
3rd step

Conditionally formatting multiple rows with the same conditions

I am looking to format 500+ rows of data and essentially, G5-K5 (in every row) needs to be highlighted a light color (any color) if J5 equals "Regular".
This same condition will exist in every row, so it should be simple - but I am not an excel master by any means. I just don't think it's necessary to create 500+ conditions for each row!
That is actually pretty simple.
You right click one of the cells to do the formatting(one with
regular for example) and select Conditional Formatting on the menu.
Then you make sure the Range is the cell you right clicked, select
"The text is exactly" in the list and type "Regular in the field
under it.
Select the color under that field and press the blue button.
After that you just need to press the paint format tool(the paint
roll) and drag all the cells you want to have the same
behaviour(probably the entire column of the right clicked cell).

Resources