Create Coloured Shapes
You can use Excel conditional formatting and the Wingding font to create
coloured shapes in a cell. In this example, coloured shapes will appear
in cells C3:C7, depending on the value in the adjacent cell in column
B. If the value is less than 10, a red circle will appear, if the value
is greater than 30, a green square will appear. Otherwise, a yellow
diamond will appear.
- In cell C3 enter the formula:
=IF(B3="","",IF(B3<10,"l",IF(B3>30,"n","t")))
- Copy the formula down to cell C7
- Format cells C3:C7 with Wingding font, and yellow font color
- Select cells C3:C7
- Choose Format|Conditional Formatting
- From the first dropdown, choose Formula Is
- For the formula, enter: =$B3<10
- Click the Format button, and select Red as the font colour, then
click OK.
- Click the Add button, and for Condition 2, choose Format|Conditional
Formatting
- From the first dropdown, choose Formula Is
- For the formula,enter: =$B3>30
- Click the Format button, and select Green as the font colour, then
click OK.
- Click OK
|
0 komentar:
Posting Komentar