Google Sheets Conditional formatting based on multiple conditions

北战南征 提交于 2020-01-06 06:17:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!