conditional formatting entire row if cell contains text

时间秒杀一切 提交于 2019-12-23 20:36:13

问题


I have an excel sheet where I'm trying to use conditional formatting but it doesn't seem to work as I would like it to.

It seems as though any formula won't work as I don't want the cell to match TBC, but contain it.

In short, I am looking for this:

If D2 Contains "TBC" then highlight the whole row

I've tried around 10 suggestions through Google and also Stack Overflow but it seems as thou

Note: Each cell will have different values, i.e. D2 has "1 screenshot TBC" and D3 has "5 screenshots TBC". As they will all have different values but all contain the abbreviation "TBC" I am trying to search for that word.

Any help or advice that could be offered will be greatly appreciated.

Thank you in advance for your time! :)

Amandip


回答1:


Select your entire sheet and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::

=FIND("TBC",$D1)

Format..., select colour Fill (highlight) of your choice, OK, OK.

Change FIND to SEARCH if you want this case insensitive.

This will trigger for the likes of ATBCX.



来源:https://stackoverflow.com/questions/38878106/conditional-formatting-entire-row-if-cell-contains-text

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