简体   繁体   中英

conditional formatting entire row if cell contains text

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, ie 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

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM