I have a table that looks like this:
some text 14.09.2022
some text 15.09.2022
some text 23.10.2022
And I need to conditionally format each cell in the second column if the date in that cell is during the current week.
I have tried different solutions from the Internet[^1], but neither works for me: each time Google Sheets says my formulas are wrong. Any help?
[^1]: For example, I have tried to adopt the formula found here.
Try below custom formula in CF rule.
=WEEKNUM($C2)=WEEKNUM(TODAY())
Related
Need some help. I'm currently making a Google Sheets, and I need some conditional formating. I need a row to be formatted with the condition on one of her cells.
For example, I need to formate A2:I2 with the formula =$H$2="No".
This was the easy part. I can do that.
The part that I fail is :
I have like 30 or 40 rows to formate like that, with the condition on the cell of the row. (H15 for A15:I15, H21 for A21:I21...). I tried to select the first row, copy it, and special past the formatting to another row, but Google makes some weird shit. It creates a new rule, but keep the previous cells range and add the currently selected. And the formula stays on the $H$2. I know it's because I put some $ in the name of the cell, but if I don't, it will not formating the entire row. Juste the first cell.
My question is :
How can I properly copy/paste the conditional formatting of the first row to the others one, with the condition correctly on the cell of each row, and keeping the formatting on the entire row?
The meaning of the $ sign is the following:
$H$2: it will lock that cell only,
H$2: it will lock that column,
$H2: it will lock that row (I think this is the one you are looking for),
So you can set the range to be: A2:I
And the formula to be: =$H2="No"
I am trying to highlight cells which have been manually entered by using the formulatext() function. However, at the moment this is highlighting all the cells that have a different outcome (from if statements) to the first cell. Can this be changed?
(If curious my exact formula at the moment is =formulatext(E4)<>if(B4= "","",if(left(CN4,1)<>"-",if(or(D4="A",D4="B"),if(AF4<>"","DONE",CN4),if(AF4<>"","DONE",CN4)),if(or(D4="A",D4="B"),if(AF4<>"","DONE","over 48h"),if(AF4<>"","DONE","over 36h")))), the formula inside is working so no need to change it)
https://docs.google.com/spreadsheets/d/1kOJf07eoe_8tYR9a2h1iv2OIBt77xprHiGER3InGg-g/edit?usp=sharing
I hope that link works.
I'm trying to display the current date in every cell in a single column in a google spreadsheet. =today() displays the current date in any cell, but I can't figure out how to make it work in an entire column.
I tried =arrayformula(TODAY()), but it only works in the cell it's in.
Any ideas?
You need some way of introducing a condition on each row, e.g.
=ArrayFormula(IF(ROW(A:A),TODAY()))
You have to make an array operation - any, to make Arrayfromula works, so eg:
=ArrayFormula(IF(row(A1:A),today(),))
will work
I'm new to Google Sheets so would appreciate some assistance as my research has been unsucessful.
I have created a schedule with peoples names filling time slots. I have duplicated the sheet for the same layout to be able to create a print out that shows which time slots are available using just colours so as not to distribute the names listed. To do this I want to use conditional formating and show a colour in the cells (time slots) not yet filled.
I thought that the custom formula needs be something like... conditional formating for cell E14 on sheet "Schedule Printout"... ISBLANK('Schedule!E14') but this doesn't work.
Screen grab of the Conditional Formating dialog box
I have tried several different variations. If you have any ideas please can you let me know?
Thank you
James Webb
jameswebb.uk
See if this works
=INDIRECT("Schedule!E14")=""
I believe you have to use INDIRECT in conditional formatting when you want to reference a different sheet/tab.
I have column "start of the period" with dates like
2014-01-01
2014-01-07
2014-02-01
2024-02-12
and so on; I want cell with start of the current period to be highlighted, so I tried custom formatting formula
=AND(TODAY() >= R[0]C[0]; TODAY() < R[1]C[0])
and it doesn't work. Is it even possible in new sheets without custom onEdit() script?
Yes it is possible. Use this in the custom formatting formula for the 1st cell
=and(today()>A1,today()<A2)
Google spreadsheets automatically changes the reference as you move down the row. So for the next row, the condition would become =and(today()>A2,today()<A3).
Interestingly, if you check the conditional formatting formula, it still displays the former formula, but works just fine. Check this sheet.