I am looking for some help on how to make my data easily changeable with colours depending on what is in a specific cell.
Here is a example sheet
Example Link
So basically I want to make it so when I put a Y in column C that it then turns A2, B2 and C2 to green, and so on for N, C and NN.
But it has to be specific too those two cells and not the whole row
This is possible. I cannot open your sheet, so unable to see what you exactly mean.
But I think you mean something like in my example.
See printscreen below. Edit:
Cannot post images untill 10 reputation points.
Also added the link to my example spreadsheet here.
Related
So, I have a formula graciously shared by someone here that works amazing in highlighting cells in a column that contains letters from K to Z, excluding RR. Here it is below...
=REGEXMATCH(E5:E,"[K-Z]")*(REGEXMATCH(E5:E,"RR")=FALSE)
But, I'm trying to accomplish the same thing with an IF formula (not conditional formatting), where if a cell in column E contains a letter from K-Z, it will display the green checkbox, and if not, display the red down arrow. I'm not sure exactly how to exclude RR again in the equation. Here's the formula I'm trying to get to work...
={"OL";ARRAYFORMULA(IF(E5:E="",,if(REGEXMATCH(E5:E,"K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z"),"✅","🔻")))}
The formula works except it includes cells containing RR, I guess because R is in there? But I want to exclude cells containing RR.
Here's a Google Sheet that contains the formula I'm currently using.
Thanks for any help you can provide.
I left a new sheet ("Erik Help") with a formula in B1 that somewhat follows the form of your original formula there, since that seems to be something you understand. All I did was add another outer IF to rule out instances of "RR" up front:
={"OL";ARRAYFORMULA(IF(A2:A="",,IF(A2:A="RR","🔻",IF(REGEXMATCH(A2:A,"[K-Z]"),"✅","🔻"))))}
use:
={"OL"; INDEX(IF(
REGEXMATCH(E5:E,"[K-Z]")*(REGEXMATCH(E5:E,"RR")=FALSE),
"✅", "🔻"))}
I'm trying to code a Google Sheet to check if a row has any data in it, and then use conditional formatting to color-code another cell in that row. How could I do this?
Screenshots are here. The idea is that the cells in column B will turn red if there is any data in the same row. So in this example, B2 would stay green, B3 would turn red (automatically, with no text input), and B4 and B5 would stay blank, because there is no data in that row.
This sheet is linked to a Google Form, so it needs to be able to update automatically.
(I'm a beginner to Google Sheets, so I'm not familiar with the necessary code at all.)
Edit: Here's a copy of my sheet.
try simple custom formula:
=A2<>""
spreadsheet demo
I've got a spreadsheet made on Google Sheets that contains 11 sheets, and each sheet is a set of things that I'm considering buying.
Some sets contain the same individual pieces as something else.
For example item A might be on sheet A and sheet D.
I'd like to make some kind of formula to highlight all duplicates, so that when I was looking through the sheet I could see whether buying item A will help me complete more than just the set that I'm looking at. So I can look at a set and if it's mostly green I know there's more value in buying it as almost all of the contents will also go towards another set.
I know how to do it so that they glow if they match on the same sheet.
$A2=$B2
However I'm not sure how to do it across sheets, or how I'd include if statements. As the colour would have to change if it matches any cells in column A on any sheet. They're also not in the same order on different sheets so while item A might be in A3 on sheet A, it might be in A17 on sheet D.
I'm not sure how possible something like this is, but I'd appreciate any help.
Google Sheets does not allow direct references to cells in other sheets in conditional formatting formulas. But this can be circumvented with indirect:
= A2 = indirect("Sheet2!A2")
formats the current cell (A2) if it's the same as the contend of A2 on Sheet2.
But you want to check whether the content is duplicated anywhere in column A of another sheet. This can be done with match: select the column A2:A of the present sheet, and add conditional formatting with custom formula
=match(A2, indirect("Sheet2!A2:A"), 0) > 0
Here match returns either the position of found element (a positive number) or #N/A, and the formula evaluates to True in the former case only.
Although the formula says "A2", it can be applied at once to any range that has A2 as its upper left corner.
I can make this work:
I have two cells A1 and B1, and if B1 = A1 I would like the cell to turn green.
However, I cannot seem to figure out how to make it generic enough when I copy the formatting for the rest of the column (b2:b100) that it works. Currently it well check the current cell vs A1 all the way down the column.
Im sure this is possible, but google's help documents weren't helpful to me.
Looks like this got it to work
Custom formula is:
=(B1=A1)*(B1<>"")
background color: Green
range ... B:B
I am working on a stats tracker for a game using a Google spreadsheet and as you can see in the linked image below, D2 is subtracted from D3 to give F3 a value. The E and G columns have the same relation.
My issue is, while the formula is simple (i.e. in F3 type, =d3-d2 , to get a value), typing this formula 100 times altogether is a bit mundane.
Is there anyway that I can have this done automatically? I have more features I'd like to add, but I am holding off because of this issue.
Hopefully this link works, I don't have enough rep to post an image. http://imgur.com/cyh27np
You do not need to type the formula for each cell, you can just select the cell, copy it and paste it on the cell below. The cells referenced are relative to their position so they will change accordingly.
For example in your case, if you select and copy cell F3 and paste it on cell F4 you will see that the pasted formula will actually be =D4-D3
Just left-click in the bottom right-hand corner of the formula you want to copy (or even number sequence), and drag it down or across however many cells you like. The program will recognize the pattern and continue it accordingly.