问题
I had a spreadsheet in google sheets in my last company which highlighted all my rows based on my qualifying conditions. I can't remember what conditional formatting I used.
I have tried the =IFAND
and =AND
functions along with others.
This is what I am trying to do:
If column B says DTC and the dates are between two ranges I want it highlighted. Then I will have multiple rules that vary in dates and words.
This is the last formula I tried.
=AND($B2="DTC",$E2>="10/1/2017",$E2<="10/6/2018")
回答1:
If you enconclose dates between quotations marks they will be treated as strings, not as dates. Used DATE(year,month,day) instead.
来源:https://stackoverflow.com/questions/48099563/google-sheets-conditional-formatting-based-on-multiple-conditions