This article describes how to go from a standard table...
...to a table where rows with specific text in their labels (e.g. Pepsi) are highlighted:
Requirements
- A table. Note that this script is not compatible with tables/charts that have row spans.
- The input text is searched for in the labels in a case-insensitive way (capitalization does not matter).
Method
- Select your table.
- Go to Data > Rules in the object inspector.
- Select the Plus (+) > Plot/Chart > Color Rows of Tables or Bars of Plots.
- Enter the label text to base the condition on.
- Select the appropriate color from the color picker.
- Press OK.