Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Power excel 2016 with mrexcel Master Pivot Tables, Subtotals, Charts, VLOOKUP, IF, Data Analysis in Excel 2010–2013 (Bill Jelen) (z-lib.org).pdf
Скачиваний:
4
Добавлен:
14.08.2022
Размер:
49.75 Mб
Скачать

PART 4: MAKING THINGS LOOK GOOD

469

 

 

Figure 1181 Indent numbers to move them closer to the icons.

The icons won’t respond to the horizontal alignment of the cell, unless you use Home, Conditional Format- ting, Manage Rules, Edit Rule, Show Icon Only. Ironically, when you use this setting, the icon responds to the Left, Center, and Right Align buttons in the Home ribbon!

CONTROL VALUES FOR EACH ICON

Problem: I applied an icon set. They are adding green checkmarks to cells that are not in the best quality range.

Strategy: By default, Microsoft finds the range of values in your range, divides it by the number of icons in the set (three, four, or five) and creates equal ranges.

Figure 1182 50-67 gets a red X, 84 and up gets a checkmark.

 

Excel does a quick calculation to get some icons drawn in. If you have defined limits of acceptable values,

 

4

you can override the defaults to define your own ranges.

 

Add the icon set. Select the cells that contain the icon. Go to Home, Conditional Formatting, Manage

 

Rules. Select the one rule and click Edit Rule.

 

Figure 1183 The default is by percent.

In the sample workbook for this topic, the range of data is 50 to 100. Excel split that range of values into values. Anything of 84 or above gets the green checkmark. Note that because the data is skewed high, 57% of the values in the entire data set are getting green checkmarks.

The Type dropdown in the figure above offers Percent, Percentile, Number, and Formula.

If you would use Percentile, Excel would redefine the ranges. About 40 of the 120 values would get each icon. With this data set, 80-90 gets the yellow marker. 79 and below is red, 91 and above is green.

470

POWER EXCEL WITH MR EXCEL

 

 

The Type that I use frequently is Number. When using Number, you can define it so that scores of 95 and above get green, 90-94 are yellow and everything else is failing with red.

Figure 1184 Define the ranges to use.

To use the Formula, you have to type a formula that will result in a number. For example, =AVERAGE( $B$2:$M$11)+STDEV.P($B$2:$M$11) will calculate a point that is one standard deviation greater than the mean.

ADD ICONS TO ONLY THE GOOD CELLS

Problem: I want to mark only the best (or worst) cells with an icon. Everything else should not be marked with any icon.

Strategy: Say that you want to add a gold star to all scores of 100.

First, you set up a three-icon set. Edit the Rule. In the Figure below, you make sure the Gold Star is for a Number >=100. Change the icon for the next two rules to No Cell Icon.

Figure 1185 First, choose Number from the Type dropdown.

Tip: use the Icon dropdown shown above to build your own set of icons:

Figure 1186 Only the 100’s get an icon.

Figure 1187 The 5-icon cell phone power bars morphed into this.

USE THE SIGN FUNCTION FOR UP/FLAT/DOWN ICON SET

Problem: I want to show if a value is up or down compared to the previous reading. How can I use the poorly-named Three Triangles icon set to show up, down, or flat?

Strategy: Add a helper column next to the values. Instead of using =C3-C2, wrap the calculation in the SIGN function. Any increases are shown as 1, decreases are shown as negative 1 and unchanged will ap- pear as 0.

PART 4: MAKING THINGS LOOK GOOD

471

 

 

Apply the Three Triangles icon set. Since the only values are -1, 0, and 1, the icons will correctly show up, flat, or down.

Figure 1188 Use the SIGN function to generate -1, 0, or 1.

Gotcha: You manager will complain about the 1, 0, -1 appearing in those cells. You can hide the number using (a) a white font, (b) a custom number format of ;;; or (c) use Home, Conditional Formatting, Manage Rules, Edit Rule, and check the box for Show Icon Only.

Figure 1189 Hide the results of the helper column.

DATA BARS OPTIONS

Cells that contain 0 will get no data bar.

Also, new in Excel 2010, Excel will show negative data bars. Click the Negative Value and Axis button in the Edit Formatting Rule dialog to access the dialog shown below.

The axis settings offer three settings. The values

in the figure below go from -20 to +30. The Auto- 4 matic setting will show the axis about 40% of the

way across the cell. The Midpoint setting will put the axis in the middle of the cell. The None setting seems strange. The smallest value, -17 gets no col- or. Everything from -16 to -1 will get some red color heading in a positive direction. Values from 0 to 30 will get green color.

Figure 1190 Change the color or the axis setting.

Figure 1191 Three different ways to show the negative axis.

472

POWER EXCEL WITH MR EXCEL

 

 

 

COMPARATIVE HISTOGRAM

Problem: I want to compare two populations of data.

Strategy: Use the left-to-right setting for a data bar. In the figure below, the data bars on the left use the right-to-left setting.

The right-to-left setting is in the Bar Direction dropdown

Figure 1193 Use Manage Rules, Edit Rules to access this.

Figure 1192 The data bars on the left are positive, but they go right-to-left.

SELECT EVERY KID IN LAKE WOBEGON

Problem: Sometimes I need to use condition- al formatting to choose all the cells that are above average or I need to highlight cells in the top fifth percentile.

Strategy: The Conditional Formatting menu offers a whole new range of formatting op- tions. You can choose cells that are above av- erage, below average, and so on.

Additional Details: You can actually adjust the options with “10” to show the top or bot- tom 5, 2, 20, or any number. When you choose one of the “10” options, a new Top 10 Items dialog box will appear, where you can choose how many items or what percentage to show.

Figure 1194 The top/bottom rules are new.

THERE IS A FONT OPTIMIZED FOR EXCEL

Problem: I am looking at numbers all day long. Is there a better font?