So I am trying to highlight any row(s) that show today's date, however the rule I have created for this "A$2=TODAY()" does not like the format of the date in column "A".
The format is being created by a google form and an example of it is "1/24/2018 13:02:31". I have found that I can use DATEVALUE to get around this but I am not sure how to sure if I have the correct syntax for the conditional rule. This is what I have tried but it does not appear to be working: "DATEVALUE(A$2)=TODAY()".
Does anyone have any suggestions on how to correctly solve this problem. I apologize if I am missing something obvious but sometimes I get these stupid mental blocks. Let me know if you need more information. Thanks in advance.
You don't need a custom formula. Just select 'date is' from the dropdown in Conditional Formatting and 'today' from the second dropdown (it is the default). Apply to A2:A.
Related
pretty new to google sheets, my question could seems awkward but i'm struggling with a sumif in google sheets.
I'm using a sumif to sum up some values with a simple condition and i struggle to find the right way to do it. Assuming the documentation i do it well but i must be missing something because the result is always : ERROR!
See the example below
The example is simple, applying exactly what the documentation says but still not working.
I tried to make the cell format number for the condition, still not working.
I tried to make the condition a string by typing "=1", still not work. I tried to use a cell value in the condition B5 for example, still not working.. I'm desperate, i don't understand why this simple example is still not working.
If someone could help it will save my time.
Chances are that your spreadsheet is using a locale that expects formula arguments to be separated with semicolons instead of commas, like this:
=sumif(B5:B10; 1; C5:C10)
You can set the locale in File > Settings > Locale.
So, I'm looking for a way to make the cell(s) highlight themselves based on todays date, nothing too fancy just so it's simpler to see the day. Pictured below is the graph I currently have.
What I've got
I know it'd be easier for the formula if I were to just format the date as mm/dd/yy or some form of that, but it works better visually for the purpose of the form if it is done this way. So is there a way I could make it work how it is now? If not then what would be best with the formatting done in a mm/dd/yy format? Thank you in advance :)
Use this custom CF formula rule-
=AND(A1=DAY(TODAY()),A$2=TEXT(TODAY(),"MMMM"))
try on range A2:Z:
=A$2&A3=TEXT(TODAY(); "mmmmd")
A few months back I used to use a conditional formatting to highlight duplicates in a column. The formula I used is: =COUNTIF(A:A, A1)>1.
It doesn't seem to be working anymore. When I try to add this as the custom formula, I get an error message: Invalid formula. I even opened a few older sheets to check, it still works on them. Any tips?
General Grievance's comment:
Change the , to a ;. I think your sheet might be in a different locale.
Haven't gotten any help through the Google Product Forums, so I'll try here. I've never had issues with this before so not sure what I'm missing now. I can't seem to make a rather simple formula work and I have no idea why.
For some reason, =COUNTIF(SCHEDULE!$C$9:$C29,">="&B$2) returns 0, when I'm expecting it to return 21.
In B2 is the date "6/25/2018", which is actually a reference to
SCHEDULE!C2.
Am I just not understanding the logic correctly? "If the dates in C9:C29 are after or equal to 6/25/2018, then count them."
When I try it as <= it doesn't work either.
I don't think there is an issue with the dates being formatted using TEXT(B2,"MM/DD/YYYY") because other formulas seem to be working fine.
Alternatively, I also tried using SUM(QUERY), but that also got hung up when using the dates.
=sum(query(SCHEDULE!A9:AB,"select count(F) where F='2004' and C >= date '"&TEXT(DATEVALUE(B2),"yyyy-mm-dd")&"'",0))
You can see a test version of the sheet HERE.
I am working from the REF sheet.
You can see what I've tried in Z6, Z7, Z8 and AA6.
Any suggestions would be appreciated. I feel like I'm missing something obvious. I'm not sure if it's the fact that some of the dates from the SCHEDULE page are rendered using TEXT, but I can't figure this out.
Ref!B2 is TEXT(SCHEDULE!$C$2,"MM/DD/YYYY"). You cannot compare text-that-looks-like-a-date to true dates.
The best option is to use =SCHEDULE!$C$2 in REF!B2 and format the cell as mm/dd/yyyy.
The bandaid (dig a hole then fill it up) is to adjust your COUNTIF to,
=COUNTIF(SCHEDULE!$C$9:$C29,">="&DateValue(B$2))
I was Hoping to be fever along before i had to ask for help but.
using Google sheets i am trying to have a range of cells(a row specificity) change there background colour based on the Sum of the 6 cells directly below it in the
I know I am happy using the basic conditional forming and i have a formula witch will return true if the Sum = what i am looking for
=IF(SUM(D6:D11)=6,true,FALSE())
and this works if i copy and past it along but if i try to put it in the Custom formula is box i get told
There was a problem while
Cannot save the rule with invalid formula.
so i take it that i am not using the box right
any help would be greatly appreciated
Conditional formatting is ... conditional. There is not normally any need for IF(). Your formula should work as:
=Sum(D6:D11)=6
but over what range and what cells to format (other then D5) I can't help you, if required, without further details.
Please though do read the [google-spreadsheet] tag wiki.