conditional formatting in google sheet - google-sheets

First Requirement in google sheet
how to highlight cell A1 if data enter in cell B1 and A1 is remain empty and when data enter in cell A1 its color auto reset.
Second Requirement in google sheet
when user enter data in B1 how auto highlights cells C1,D1,E1,F1 untill data also enter in all these cells
im want that when user enter data in cell B1 and cell A1 is empty its auto highlight the cell A1 and when user enter Data enter in cell B1 cell C1,D1,E1,F1 auto highlight/fill with color and when user enter data in all these cells its auto reset.

You can try with this formula in range A1:F:
=(A1="")*(COUNTA($A1:$F1))
It checks if that specific cell is empty and if there is another value in that row. If you need to check B in particular add *($B1<>"")
Let me know if it's useful

Related

Conditionally formatting if multiple cells are not blank and the cell I am formatting is blank

I have created a spreadsheet and I need to have a blank cell highlighted if ever another cell in its row is not blank and am having trouble figuring it out. I know the basics behind conditional formatting in Google Sheets just need some advice.
try like this:
apply to range A1:A
enter custom formula: =($B1<>"")*($A1="")
logic: if B cell is not blank and A cell is blank then A cell gets highlighted

Link a cell to multiple cells exclude middle range in Google Sheet

I am new to Google sheet functions, Trying to create hyperlink from a cell to multiple cells.
Like
A1 cell in Google sheet should hyperlink to 2 cell range
1. B3:F20
2. I3:L20
I can easily hyperlink a cell to given single range Like B3:F20
using this function
=HYPERLINK("#gid=2&range=B2:F20","Account")
But I am struggling to find a solution to make a hyperlink in a cell to more than one range.
try this:
={HYPERLINK("#gid=2&range=B2:F20", "Account");
HYPERLINK("#gid=2&range=I3:L20", "2ndrange")}

Google Sheets Conditional formatting custom formula: if current cell is empty, but other cell is not

So I'm trying to write a custom formula in google sheets for this condition. I want the current cell to be blacked out if it's empty, but only if this other cell is not empty. This prevents a lot of other cells from being blacked out further down the column (I'm adding new rows periodically as new data becomes available).
I can do something like =E:E<>"", which tests if the other cell is not empty, but I can't figure out how to add to it to test that the current cell is empty.
I want to test that column F is empty, and that column E is not. The row number would be the same, ie F1 is empty, E1 is not empty.
Thanks.
Try:
=AND(ISBlank(E1),NOT(isBlank(F1)))
Entered in E1
Apply to E1:E

TRANSPOSING: How to copy a cell value into the 'Sheet' part of formula

I'm trying to reference the data from another sheet, but I'd like to be able to dynamically specify the Sheet name via a cell within this sheet.
Let's say cell A1 has the text "Sheet 1"
Instead of having my formula say:
=TRANSPOSE('Sheet 1'!F2:F121)
I need to find a way to insert the data from cell A1:
=TRANSPOSE('reference text from A1'!F2:F121)
Is there a way of doing this? I'm working in Google Sheets.
Does this formula work as you want:
=TRANSPOSE(INDIRECT(A1&"!F2:F121"))

Check if a cell contains valid data

I have applied the data validation in Google Sheets, now the user gets a warning and a red corner in a cell if the value in a cell is not from a selected range. However, I would like to check with my script if the value in a cell C1 is valid or not.
Is there something similar to 'ISERR(C1)' but for validation?

Resources