When you create the rule, make sure it applies to cells D2:D11. Then, select cells D2:D11, and create a new conditional formatting rule that uses this formula: Type the following data table into your workbook. Here's one more example if you want to take it to the next level.
Experiment on your own and use other formulas you are familiar with. In the examples above, we used very simple formulas for conditional formatting. In the Font Style box, select Bold.Īt the top, click the Fill tab, and then for Background color, select Green. The formula tests to see if the cells in column C contain “Y” (the quotation marks around the Y tell Excel that this is text). In the next box, type the formula: =C2="Y" The matching numbers will be put next to the first column, as illustrated here: A. The duplicate numbers are displayed in column B. In the Font style box, select Bold.Ĭlick OK until the dialog boxes are closed. To do this, select File > Options > Customize Ribbon, and then select the Developer tab in the customization box on the right-side. In the Format Cells dialog box, click the Font tab. On the Format with box, click custom format. The formula uses the TODAY function to see if the dates in column A are greater than today (in the future). In the next box, type the formula: =A2>TODAY() Under the Classic box, click to select Format only top or bottom ranked values, and change it to Use a formula to determine which cells to format. On the Home tab, click Conditional Formatting > New Rule. The first rule, in column A, formats future birthdays, and the rule in column C formats cells as soon as “Y” is entered, indicating that the birthday greeting has been sent. In this worksheet, we see the information we want by using conditional formatting, driven by two rules that each contain a formula. Adding your own formula to a conditional formatting rule gives it a power boost to help you do things the built-in rules can’t do.įor example, let’s say you track your dental patients’ birthdays to see whose is coming up and then mark them as having received a Happy Birthday greeting from you.
But sometimes the built-in formatting rules don’t go quite far enough. LessĬonditional formatting quickly highlights important information in a spreadsheet.
#COMPARE TWO LISTS FOR MATCHES EXCEL 2016 MAC FOR MAC#
Excel for Microsoft 365 for Mac Excel 2021 for Mac Excel 2019 for Mac Excel 2016 for Mac More.