
That way, you can change the text whenever you like without editing the rule. Its not as simple as 'equals' - because the value might be for example. Simply want to take a spreadsheet with data - and highlight using conditional formatting - the entire row IF one cell has specific text. You can dynamically change text formatting using the 'text that contains' formatting option. I am fairly certain Im going to be told this is very simple - but after a couple of hours of trying various formulas, looking online, not so easy for me.
#Openoffice conditional formatting text contains how to#
In a future lesson, we'll look at how to move the text your looking for out of the conditional rule and onto the worksheet. When youre not working with numbers, you might need to perform conditional formatting based on text values stored in a cell. Now the conditional format only highlights cells that begin with Ann. We can change the rule to test for specific values, dates, blanks, and errors.Īnd for this specific rule, we have four options - containing, not containing, begins with, and ends with. Like many conditional formatting presets, this one creates a more general rule with a number of configurable options. Let's use Manage Rules to edit this rule, and see what sort of options we have.

When we click OK, the format is applied and we see all the cells that contain "ann" highlighted in yellow. Let's change the value to Ann, and then set a custom format consisting of a light yellow fill. The default value comes from the active cell in the selection, in this case Aaron.

When we choose this option, Excel will display a small window that allows you to enter the value for the text and set the formatting to apply. I have dates in column B that include weekdays in the following format: DDD, MMM DD, YYY (For example, Sat, Jan 19, 2019). EXAMPLE 2: STEPS TO HIGHLIGHT THE TEXT MATCHING THE GIVEN TEXT EXACT MATCH In this example, let us find out the way to highlight the cells which contains the text same as some specified text exactly with the same content and with the same case. In the conditional formatting menu, in the Highlight Cells Rules category, you'll find an item called "Text that contains". For the concept OF CONDITIONAL FORMATTING CLICK HERE. Let's use this table to explore how to use conditional formatting to highlight text values.įirst let's select all values in the table. If you regularly need to search a big list for different values, this conditional formatting option can be a great way to build a custom highlighting feature in your worksheet. Another useful conditional formatting option is the ability to highlight cells that contain certain text.
