Let me show you an example how to highlight the ticket numbers that have been drawn in a lottery. Let said you have 5 ticket numbers that are in cells B4:G8 and the drawn numbers are entered in cells B2:G2.
- Select cells B4:G8.
- Choose [Format] > [Conditional Formatting].
- From the first dropdown list, choose Formula Is.
- For the formula, use the CountIf function: =COUNTIF($B$2:$G$6,B4)
- Click the [Format] button.
- Select formatting options (green pattern, in this example), then click [OK] button.
- Finally, click [OK] button.
Wish you have a lucky day!
0 comments:
Post a Comment