Concatenate two cells and hyperlink to embedded a link from of of the concatenated cells - google-sheets

I have 2 cells with data inside of them
Cell A1
Contains text
"Search: "
Cell B1
Contains a hyperlink
https://www.google.com
Display Text
"Google"
I want C1 to say "Search : Google" hyperlinked so that when I click on it, it takes me to Google.
The formulas I tried
=HYPERLINK(B1, CONCATENATE(A1, ":", B1, "(", C1, ")"))
=CONCATENATE(A1, ":", HYPERLINK(B1, CONCATENATE(B1, "(", C1, ")")))
Both formulas return in Cell C1
"Search : Google"
But the hyperlink tends to grab the display text which is Google instead of https://www.google.com

Related

Highlight partial duplicates same column

I am looking to highlight partial duplicates, Column B will have data that is either a single number or multiple numbers separated with a '/'. I can currently get cells with single numbers to highlight if there's a duplicate. I trying to get cells that have multiple numbers to match with cells with single numbers
Example, cell B4 contains 'valueA' , B7 contains 'valueB/valueA' , B8 contains 'valueA/valueC' and B10 contains 'valueA/valueD/valueE' I would like all 4 cells to highlight the same colour
Try the following CF rule applied to the range B:B
=(B1<>"")*(index(sum(n(countif(split(B:B,"/"),split(B1,"/"))>1))>0))
if you are targeting 12 use:
=REGEXMATCH(TO_TEXT(B1), "12")

How to use filter with ArrayFormula?

Im trying to use array formula to list multiple "rows" without the blank cells not from another area in the sheet.
=ArrayFormula(IFERROR(FILTER(GE2:HQ2,LEN(GE2:HQ2)),""))
Also tried
=ArrayFormula(IFERROR(FILTER(GE2:HQ,LEN(GE2:HQ)),""))
Neither returns an array effect. Also tried dragging down the formula to expand the whole sheet. Which works, until a form is submitted. Then the cell in that row loses its formula
Link to an example Sheet
https://docs.google.com/spreadsheets/d/e/2PACX-1vSl8Olx8fYsgROoCU6xLq4M53liT16DgEgtw1RAt0uqpWPosUGZ6aXjBP5UF5pS6y0ZBwAF-8pZrjZR/pubhtml
Any advice would be appreciated
use:
=INDEX(SPLIT(FLATTEN(QUERY(TRANSPOSE(A2:G4),,9^9)), " "))
if dataset contains words in cells use:
=INDEX(SUBSTITUTE(SPLIT(FLATTEN(QUERY(TRANSPOSE(
SUBSTITUTE(A2:G4, " ", "♥")),,9^9)), " "), "♥", " "))

Change the colour of a cell based on another cell value

I am trying to create a pixel art activity where a specific number in a cell will turn a different cell a colour if the correct answer/ number is input.
For example if cell C2 has the correct answer of 7 then cells E1,F2, and G3 would turn Red.
Then if cell 2 has the correct answer of 22 cells F1,G2, and E3 would turn blue. But any other number would not change the colour of those cells.
try like this with custom formula:
=$C$2=7
welcome to stackoverflow.
For example in cell C2 apply this rule
Format cells if: 'Custom Formula is' (dropdown)
= E1 = 7
now C2 should get formatting when E1 equals 7.
Note that for strings you will need to use double quotes, like this:
= G2 = "k"
Finally, if multiple cells need the same rule, you can click the squares icon in the 'Apply to range' input field, and then you can hold 'control' and click multiple fields.

Conditional formatting based on changes in text between two Google sheets

I have two Google sheets that have exactly the same columns and rows except Sheet 1 gets updated and Sheet 2 does not. I would like to have the cells in the updated Sheet 1 be conditionally formatted based on the cells in Sheet 2. Both sheets are using text/strings rather than numbers.
Example:
Sheet 1/cell A1: text = "Closed"
Sheet 2/cell A1: text = "Opened"
Sheet 1/cell A1 gets conditionally formatted as RED when Sheet 1/cell A1 is both
a) different from Sheet 2/cell A1 and
b) contains the word "Closed" as opposed to "Open."
Would also like to know if it's possible to do this on cells that contain multiple words!
Have been looking in REGEXMATCH but can't seem to get it. Any help appreciated.
try:
=REGEXMATCH(INDIRECT("Sheet2!C:C"), "Closed|Banned")

If contents of A3 match A2, I want it to turn green

In Google Spreadsheets, if contents of A3 match A2, I want it to turn green. Contents in cell A2 will include numbers/text.
What formula should I use in conditional formatting?
A Custom formula is of:
=A2=A3
for Range: A3 should suit whether for text, numbers, a mixture (string including alphabetic character/s and digit/s), or blanks.

Resources