Using Conditional Formatting to alter another sheet based on a string - google-sheets

I've been working on a dashboard in Google Sheets. When I select a text criterion from a dropdown on the dashboard (say the location Manhattan) I want to be able to highlight a row corresponding to that same text on a different sheet. The idea is that the dropdown is generated from the same sheet and I want to have this easier to read as a result.
I read from Conditional Formatting from another sheet that it's not possible (at least a few years ago) directly to reference another sheet in Conditional Formatting except by utilizing the INDIRECT function. From what I can tell, this does not work with text.
Is there a way around this or should I rethink how to make my highlighting a possibility?
I know I could just have the text in the dropdown change on a portion of the sheet and then base the conditional on that, but I was hoping to simplify this. This will affect three other sheets when I'm done with it, so less would be more. I have not experimented with add-ons at all at this point.

Assuming the dropdown is in A1 and row length in other sheet is A:Z then select ColumnsA:Z in the other sheet and Format > Conditional formatting..., for Format cells if... select Custom formula is and enter:
=$A1=indirect("Dashboard!A1")
with formatting of choice then click Done.

Related

How can I check the two checkboxes on Google sheet?

image <- I have a google sheet like in the photo. When I check the box behind the cars here, the name of that car is written in the result section. I want that when I tick one of the two checkboxes, the other will not be checked. That is, only one of the two checkboxes should be selected at a time. When one is selected, the other should not be selected. How can I solve this with google sheets formulas without writing app script code?
image2 <- The formula in cell D2:
=IFS(COUNTIF(A2, TRUE),B2,COUNTIF(A3, TRUE),B3,COUNTIF(A2, False),"",COUNTIF(A3, False),"")
One checked checkbox at a time (similar to a radio button behavior) isn't actually supported in Google Sheets at the moment.
However, there are certain ways to circumvent this kind of issue. It can be via Apps Script or Sheets itself.
Since you are looking for a Sheets related solution, an alternative would be using an in-cell dropdown instead of checkboxes. That way, you could only select just one car at a time and you don't need complex formula to get the chosen value itself, you just need to set the cell formula to =B2 to get the dropdown chosen value.
Sample:
To add a dropdown in Sheets, see the reference below:
Reference:
Drop-down List

Conditional formatting based on another cell's text

I have a Google Sheets table of names and statistics that go along with said names. I'm trying to use a dropdown menu on a specific cell so that when I select a specific name from the dropdown, all of the cells that start with the same name will be highlighted.
Assuming the dropdown is in B2. Please select entire sheet and: Format > Conditional formatting..., Format cells if... Custom formula is and:
=regexmatch(A1,"^"&$B$2)
with highlighting of your choice and Done.
Since for all of the cells that start with the same name this could be slow.
custom formula: =IF(I1=H$4, 1)

Google Sheets - Conditional Formating - using ISBLANK to reference a cell in a different sheet

I'm new to Google Sheets so would appreciate some assistance as my research has been unsucessful.
I have created a schedule with peoples names filling time slots. I have duplicated the sheet for the same layout to be able to create a print out that shows which time slots are available using just colours so as not to distribute the names listed. To do this I want to use conditional formating and show a colour in the cells (time slots) not yet filled.
I thought that the custom formula needs be something like... conditional formating for cell E14 on sheet "Schedule Printout"... ISBLANK('Schedule!E14') but this doesn't work.
Screen grab of the Conditional Formating dialog box
I have tried several different variations. If you have any ideas please can you let me know?
Thank you
James Webb
jameswebb.uk
See if this works
=INDIRECT("Schedule!E14")=""
I believe you have to use INDIRECT in conditional formatting when you want to reference a different sheet/tab.

Hide Rows Formula in Spreadsheet

Is there a formula on spreadsheet that will remove the rows if the value of the cell is empty? For example =if(A2 = "","hide row A1", "show A1"). I am using Google Form and Form Publisher addons to generate new spreadsheet base on the value that I have inputted on my forms.
Or is there any way to do this?
Generated PDF
Formulas are just Custom Functions return value(s), you need to solve that with Script or hide it manually.
Check that may help you
Hide Row in Google Sheets if Cell Contains "no" - Multiple Sheets
Filter Or Hide Row
Formulas just return a value or an array of values, they can't hide/show rows. You could use FILTER, QUERY among other combined Google Sheets functions to return just the need values.
Another alternate is the use of Google Apps Script
You cannot hide the row but can make its contents invisible. Use conditional formatting to change font color of entire row to 'white'

How to use conditional formatting in Google Sheets to highlight row based on value in cell

I have a google sheets document where I have cells A1:Z1. In AA1, I have a value total. If that value is greater than 5, I would like A1:Z1 to be highlighted in red. I then want to do this for every row down the sheet. Could somebody help be out with this? I tried using other answers here, but I can't get it to work.
First of all take a look at Use conditional formatting rules in Google Sheets.
On your computer, open a spreadsheet in Google Sheets.
Select the cells you want to apply format rules to (A1:Z1).
Click Format and then Conditional formatting. A toolbar will open to the right.
Under the "Format cells if" drop-down menu, click Custom formula is. If there's already a rule, click it or Add new rule > and then Custom formula is.
On custom formula put this =SUM(A1:Z1) > 5
Choose other formatting properties.
Click Done.
The result will be this.

Resources