I need to highlight past due items, but Google sheets is also highlighting all of the blank cells in that respective column, which I don't want. (Is it because Google sheets is assigning blank cells a value of zero?) Anyway, my custom formula is as such:
=$A1:$A<=today()
I've tried various combinations of formulas similar to this one:
=AND(NOT(ISBLANK($A1:$A),$A1:$A<=today())
but my syntax is off somewhere.
Any help would be greatly appreciated.
your formula is just a bit spotty at one of the closing brackets.
=AND(NOT(ISBLANK($A1:$A)),$A1:$A<=today())
OR
=(A:A<=today())*(A:A<>"")
Related
Can you please help me writing correct formula that "highlight a cell in Sheet2 when the same value already available in the Sheet1(of another workbook) cell with a "DONE" value in adjacent column"
I have tried and come up with the following formula to put in Conditional Formatting custom formula box.
=COUNTIFS(IMPORTRANGE("1dZmyi6HqjAQ4ddfaGS4afdYCCYsYXVu8Fa8JZoEbYYvWRnRrvw","⚗️ ALL PROJECTS!A3:R")D:D,D4,R:R,"DONE")
Unfortunately, its not working.
AFAIK this can't be done in a single conditional formatting. You'd be better of importing the data in a separate tab and then using the traditional conditional formatting to achieve your goal.
I'm usually pretty good about modifying the arrayformula so that cells aren't displaying values when there is no data adjacent to it. But, with these money values, I can't seem to change it to work. How can the arrayformula be changed so that $0.00 doesn't appear all the way down the column for data that is not yet present?
Here's the spreadsheet to edit. Arrayformula is in yellow highlighted cell.
Thanks for your help!
One solution is you can expand the computation to:
=ARRAYFORMULA(IFERROR(1/(1/(DMAX(TRANSPOSE(A3:G), SEQUENCE(ROWS(A3:G)), {IF(,,);IF(,,)}))),""))
The formula will originally return an error for zero result, but because of the IFERROR it will be replaced by space.
There are a couple questions here on SO that are related to this, but do not help to find the answer to the question.
I have a worksheet. Columns B3:R11 all contain names. Within this range, I want to change the color of the test or highlight the cell of the duplicated names. A simple google search returns several small variations of =COUNTIF(A:A, A1)>1 conditional formatting. I have tried several ways to modify this custom formula to make it work but just can't seem to get it right.
Logically, I would think it needs to be =COUNTIF(B3:R11, B3)>1 but that does not work either. It seems to just format random sells within the range.
How can I achieve the goal of marking duplicated cell content?
I was able to solve this problem after realizing that the conditional formating custom formula could have possibly also been iterating on not just B3 but also the range specified B3:R11 in the countif. By adjusting the formula to =COUNTIF($B3:$R11, B3)>1 so that the range was not iterated on, I was able to achieve the results I needed.
I am using Google Sheets and trying to write a custom formatting rule that seems like it should be simple. I am trying to figure out how to conditionally format all the cells in a column INCLUDING AND ABOVE (but not below) the cell that meets my condition.
I've found a lot of things that will format the entire column, but that's not what I'm looking for.
The image below is a basic example that I manually colored in to do what I want.
It's for my budget spreadsheet, where each row is an entry from a particular date. I have an "Agreement" column that is empty except when I enter the date that I reconciled the budget. I want it to color that cell and all the empty cells above it green, signifying at a glance: "everything up to this point is ok/has been checked over". Then as time goes by, and I enter another date several rows below, I want it to extend the colored shading up to there.
I've been searching, but it is hard to articulate this; if I say "until this cell" I get results for "shade cell until text is entered"; any mention of "above" and "below" generally relates to the values in the cells; I've found some things about Indirect but just for a single cell above, not for all cells above the current cell.
Wondering if this is even possible...
Google Sheets example
If you create a conditional formatting rule for column A using a Custom Formula you can use this formula:
=COUNTIF(ROW(),"<="&LARGE(ArrayFormula(IF(ISBLANK(A1:A100),"TRUE",ROW(A1:A100))),1))
The larger the ranges you use, the slower it will be however.
I have a sheet where I would like to turn a row a color based on the value of two cells. I already have conditional formatting based on one cell of the cells I want to use for the two cell formatting.
I am using =AND($J:$J="Cancel",$L:$L="Yes") for the two cell formatting but it doesnt seem to work. Not sure if the first one =$J:$J="Cancel" is negating the formatting of the other or if if my formula is just bad.
Any advice would be appreciated.
if the trick is that you want the whole row to be colored that way, then all you need to modify is the "range" to apply it too, so you enter something like the start column and then just give it a row number as the second half of the range, without the column argument: A1:10001
That exact formula you listed =AND($J:$J="Cancel",$L:$L="Yes") worked for me when using the "custom formula" option: