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

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")}

Related

Change automatically cell in sheet to UPPERCASE in a Google spreadsheet

I want to change just one cell in the sheet to automatically capitalize a cell (A2).
For instance, when I type in (A2) tsla, I want it to display TSLA. Any way of doing this without changing the whole sheet as I've seen in other formulas?
Thanks

Google Sheets Find Cell containing date in other sheet

I'm looking to make a planner, I would like to find the cell in another sheet called 'Main' that matches my cell A2.
The date would be in row 2 of which some are not dates.
I'm just looking to do conditional formatting based on that cell but can't seem to find out how to get the cell
any help would be welcome...
If you want to highlight the cell in Row 2 of the Main sheet, then you can highlight row 2 in the Main sheet and apply conditional formatting in the Main sheet using this formula:
=A$1=INDIRECT("Sheet1!$A$2")
Please note that the above formula assumes that the sheet containing reference date in A2 is named "Sheet1."

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

How to show range of cells from one sheet in another with formating

I have a document with several sheets.
Each sheet has a range of cells (on the same row, spanning multiple columns) that are specific to that sheet (sheet "description").
I want to make a "table of contents" sheet that shows the name of each sheet and next to it, show the above mentioned range of cells as they are in each sheet.
I've tried with =ARRAYFORMULA(Sheet1!C2:AJ2) and with =IMPORTRANGE("sheet-ID"; "Sheet1!C2:AJ2"), but both of them brin in just the cell data, not their formating.
The formating includes: cell merging, font, background color.
How could I mirror on the "Table of contents" sheet, the "description cell range" of each sheet?"
This is not possible by using formulas. Instead you should use copyTo(Range) or copyTo(destination, options) methods from Google Apps Script.
I know its too late, but for new visitors.
You can use sort function. Simply add a sorted column to your range. Then sort the whole range again on your new sheet by the new column.

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"))

Resources