Leverage Excel conditional formatting to prominently label specific criteria cells

Source: Internet
Author: User

For the different data in the Excel table, we can set the format of its display according to different conditions and requirements, so that the different data is displayed more prominently, which is the application of conditional formatting in Excel cells. That is, we can format cells differently based on the different conditions that the data in the cell satisfies. So what if we want the format of a cell to be set according to the conditions that the other cell data satisfies? Of course, in Excel 2007, conditional formatting can also make this hope a reality.

As shown in Figure 1 of the worksheet, the examination number in column A, the total score in G, the graduation school in H column, the results of each section in the C to f column, now we specify the criteria for the corresponding cell formatting.

One, according to a single condition set

Now we want to fill in the color with the exam numbers for all the students in the Graduate school, and set the font bold. Of course, can not be sorted and other operations.

To select the A2 cell, click the small triangle under the Conditional Formatting button in the Style feature group on the Start tab of the Ribbon, click New Rule in the pop-up menu, and open the New Formatting Rule dialog box.

Select the "Use formulas to determine which cells to format" item in the Select Rule Type list. Enter the formula in the input box below "format values for this formula" = $H 2 = "Industrial Professional" (note: does not include outside double quotes). Then click the Format button in the lower-right corner of the dialog box to open the Format Cells dialog box.

In the newly opened dialog box, click the Font tab and set Glyph to bold. Click on the "Fill" tab, click the color you want in the color list, and make sure that you close all the dialog boxes.

Computer Tutorials

Finally, select the A2 cell, click the Format Painter command button in the Clipboard feature group on the Ribbon's Start tab, and then brush all cells below A3 to the last line. As you can see now, all of the "Graduation schools" for the "industrial career" of column a cells are implemented in the specified format (Figure 2).

Second, according to the multiple conditions set

Sometimes the conditions used to format them are more complex and may have to be set according to multiple criteria. For example, set the "Graduation School" for "industrial Professional", g column "Total score" is greater than or equal to 580 of the test number in the cell fill color and set the font bold. So how do you set it?

In fact, use the previous method to enter the formula in the Formula entry box in the New Formatting Rule dialog box =and ($H 2 = "Industrial Professional", $G 2>580) "(Note: Do not include outside double quotes), and then set the appropriate format. Do not forget to use the format to brush the list of the other cells in the column, all OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.