2.7 Data Bars, Color Scales and Icon Sets
1. Choose whether the person needs a magnitude, pattern or status
A student club is preparing a report after a campus merchandise sale. A volunteer wants to compare the gross receipts at each counter. Another wants to spot busy pickup times across a grid. The coordinator needs to see which stores of supplies met a packing target. A single red fill cannot tell readers all three answers. Use a bar for magnitude, a colour scale for a pattern across a grid, and icons for specific status bands.
This practice uses fictional stall data. It borrows a familiar situation from looking at an app such as Blinkit and noticing that some areas are busier than others. The figures and targets apply to our imagined college event only. The goal is to learn how a visual rule maps the worksheet value to the cue you see. Keep the original number, then explain what the cue means.
Know what the visual compares. A relative mark changes when the comparison range changes. A fixed business threshold reads the same number against the same target even when other rows change.
Keep a number near its visual guide
Receipts of 960 and 1200 rupees can be easy to scan with bars. A label showing the actual amount makes the detail available for a head count or payment check. If you enable Show Bar Only or Show Icon Only on a supporting desktop edition, the source number still exists, but the reader cannot see it in that cell. Put the number in a separate readable display or leave it visible. Test the print draft and a narrow worksheet view before relying on icons.
These controls change the presentation. They do not create a graph axis with always-present labels, transform a cell's numeric type or classify records for a formula to sum. Add an explicit helper if the status is used to make a decision. A worksheet can offer a useful chart-like cue and a reliable text classification at the same time.
2. Compare values using data bars
Read the bar together with its selected range
In a desktop Excel edition with the feature available, select comparable numeric values and choose Home > Conditional Formatting > Data Bars. A longer bar generally indicates a higher value within the same rule and compatible scale. Read the labels alongside the bars. The extent reflects the rule's numeric minimum and maximum or another set of endpoints it computes. A short bar does not prove an amount is literally zero.
- Relative comparison. Choose a rule using lowest and highest values to compare observations in one period. This helps identify the largest and smallest lines within that range.
- Consistent comparison. If two weekly blocks must have the same meaning, use the same numeric minimum and maximum in both or apply one deliberate common rule across comparable data.
- Overflow. Include a large example when testing a preset. An outlier can compress relative bars for all ordinary lines. Under a bounded fixed view, values at or above the maximum can look similarly long. Keep the visible number to show the actual difference.
- Signs. Negative values can extend from the zero axis in the opposite direction. Configure the sign style and axis where available, and check the label. A refund of minus 180 and a positive 180 affect the report differently even if their magnitudes match.
Consider two tables where one lists a small stall's daily receipts and another lists the entire festival. A bar that fills almost all of a small table's cell could correspond to 600 rupees. A similar bar in the whole festival table could represent 6000 rupees. If both reports use their own relative endpoints, those lengths should not be compared like a common chart scale. Put the unit and scale context near the report.
Think through an outlier before picking a fixed maximum
Suppose you choose an upper reference of 2400 rupees for two comparable weeks. A normal value of 1200 is half of that scale, even on a week with no higher amount. A very large value can reach the visually capped end. In a report where comparison among the largest values matters, either revise the upper bound openly or keep a separate numeric comparison. A fixed maximum supports comparability, and it can limit visual detail outside the chosen interval.
For signed net changes, test two opposite signs and a true zero. A return of minus 180 is a decrease, a zero is no recorded net change, and positive 420 is an increase. A display with an axis makes those facts easier to read. If someone asks whether net sales were high, check the underlying definition of net first. A return can partly offset a sale without implying the item was never sold.
3. Make a colour scale answer a question across a grid
Compare cells in like units
A grid of pickup counts may place time windows across columns and counters down rows. Apply a two- or three-colour scale if readers need to spot busy clusters. A three-colour scale can use one colour at a low point, another at a middle point and a third at a higher point, with shading between those points. Keep the counts visible. The colour is a guide to intensity. Its middle shade does not automatically mean someone met a service target.
Keep count values together. Putting rupees, minutes and counts into the same scale invites comparisons that do not have a sensible unit. A high count might mean a busy counter, while a high wait is a problem to review. Use colors deliberately. Consider a blue gradient for ordinary activity and a separate status word for a policy exception. The actual numbers remain readable for someone who cannot distinguish a set of colours.
Choose a deliberate middle point
When the meaning is relative within one dataset, a default style can be useful. Consider the consequences of a change in the low or high observation. For comparison across days, use fixed anchors under Number type. Example anchors for the practice grid are 0, 15 and 30 pickups. A value of 15 receives the midpoint colour under that numeric rule whether yesterday's actual maximum was 18 or 50. If the report later adds a separate range, use the same documented anchors when the audience should compare them.
Percent, Percentile and Number are different endpoint settings, even though the interface can put them next to each other. Number is the raw numeric cutoff. Percent is a relative position setting offered by the format rule. Percentile makes the cutoff depend on the current distribution of observations. This lesson uses Number for all business targets. Choose a percentile when the question is about comparatively high or low observations and verify how the group was selected. The visual alone cannot tell a reader which type the author chose.
A blank in a heat map can mean a counter did not report. A confirmed zero means the count was measured and found to be zero. Put a note in the data source or pair the grid with a report of missing cells. Replacing every missing count with zero gives the display a misleading sense of completeness. Check one real zero and one empty input before using a shade as a reason to change staffing.
4. Make an icon's meaning explicit
Start with an actual-to-target ratio
Suppose a counter needs to pack 100 kits and reports 90 packed. Its achievement is 90 divided by 100, or 0.9. A Percentage number format displays 90%. The green completion threshold in our fictional practice is stored number 1.0, which represents 100%. A middle threshold is 0.9, which represents 90%. The choice of Number in an icon threshold tells Excel to compare against these raw ratios.
An icon set can group progress into Complete, Watch or Behind. A red circle is not self-explanatory. Give each category a plain label and threshold. Keep the visible achievement value next to it. The person staging the next batch needs to see whether a team is almost finished or far behind. A single category can contain a wide range of values.
Handle missing targets without calling them failures
If the target is zero or missing, dividing by it cannot produce a meaningful percentage for this report. Decide whether the team is outside the comparison or needs the target supplied. Use a guard formula to return an empty display or an explicit unavailable result for the ratio, and a separate textual status such as No basis. Turning every error into zero can make a missing target look like confirmed zero fulfillment. Reserve zero for an actual zero against a valid positive target.
Supported desktop Excel menus offer options such as Reverse Icon Order, comparison operators and Show Icon Only. Verify that the top icon and lower thresholds align with your meaning. For a metric where low is desirable, such as total wait time, a visually preferred icon may need to belong to a low range or a different computed measure. Test with a known good value and a known bad value to ensure the symbol matches the intended decision.
5. Lab. Compare two weeks without moving the baseline
Goal. Change one large amount and see whether it makes unrelated bars appear different. Open an empty practice sheet and type the headers and data below in A1:C6. The entries are numeric fictional INR totals, with one deliberately higher week-2 amount. The first four counters report identical amounts in both periods. That makes their bars a useful control.
| Counter | Week 1 (INR) | Week 2 (INR) |
|---|---|---|
| Main Hall | 720 | 720 |
| Library | 360 | 360 |
| Sports Block | 960 | 960 |
| Arts Block | 660 | 660 |
| Festival Gate | 1200 | 2400 |
Before any formatting, the first week's amounts total 3900 and the second week's total 5100. All the change comes from Festival Gate. Keep those numbers as the control for the lab.
Apply, compare and fix the scale
Make a separate relative rule per week
Select B2:B6 and choose a Data Bars style. If your edition has full criteria editing, make this rule explicitly use Lowest Value and Highest Value in the manager. Repeat the same setup for C2:C6 as a separate rule. Each rule should see the values in just one week. Set similar visual colours so you are comparing length rather than a different colour scheme.
Inspect an unchanged number in both charts
Look at the 720s on Main Hall's row. The second week's maximum is higher, so the same amount can occupy less of its own comparison range. The underlying number has not moved. Also compare the maximum in each range. Each can get the longest bar in its week though its amount is different.
Set a shared numeric scale
In a desktop edition with the full manager, edit the two rules to Minimum type Number, value 0, and Maximum type Number, value 2400. Keep the bar style, direction and widths comparable. Alternatively use one documented shared rule across both compatible numeric columns. The equal 720 values should now be presented equivalently. The 1200 and 2400 maximum amounts should no longer both receive the maximum length. Equal width lends meaning to the comparison.
Read the original numbers and verify the change
Keep Show Bar Only unselected; the actual INR amounts should still be visible. Use
=SUM(B2:B6)and=SUM(C2:C6)to recheck 3900 and 5100. The data bars did not change either total. If the experiment shows identical bars even when values differ, inspect whether they are clipped by the chosen endpoints.See a limit on a practice value
In a duplicate change C6 to 3000 without changing the fixed upper reference of 2400. The displayed number should still show 3000. The bar cannot extend beyond the available cell, so do not rely on length alone to distinguish values at or beyond the chosen scale maximum. Restore the original sample after comparing the two views.
For a signed bar exercise, put the three net adjustments -180, 0 and 420 in H2:H4. Apply a data bar rule and inspect the negative value and axis controls on desktop. Expect a negative mark on the opposite side of the axis under an ordinary left-to-right setup, with the exact lengths depending on the selected scale and axis settings. Give the 0 a plain label if it needs easier recognition. The total is 240, which you can verify even if the signed bar styles change.
Explain what the fixed bar display can and cannot show
The agreed scale between 0 and 2400 bounds the comparison. Calling 1200 half of the reference range means it is halfway between those numeric anchors. The exact artwork inside a cell can also account for minimal display lengths, borders, cell widths and other settings. Do not measure a screenshot's pixels as though they were the actual amount. The number in the cell remains the record.
When choosing a live maximum, ask how report users want an outlier to appear. Changing the upper number frequently makes comparisons between report copies harder. Keeping a fixed maximum can clip the visual distinction between the largest rows. Keep a short written note about the current scale and display the exact values. An alternate sorted view can help when you have to review just the largest cases, while the consistent bar scales give a reader an overall comparison.
6. Lab. Keep achievement thresholds tied to the real target
Goal. Create a ratio column and icons with a practical policy that can be explained without referring to colours. Use a new sheet. Put the source labels and numbers in A1:C8. The last row is a deliberate precision boundary. It reflects fictitious large numbers to demonstrate rounding, not a real target.
| Counter | Target | Actual | Expected status |
|---|---|---|---|
| Pune West | 250 | 271 | Complete |
| Pune East | 150 | 142 | Watch |
| Nashik | 120 | 104 | Behind |
| Nagpur | 100 | 90 | Watch |
| Solapur | 80 | 80 | Complete |
| Closed | 0 | 0 | No basis |
| Boundary test | 10000 | 8995 | Behind |
- Compute the ratios. In D1 type Achievement and in E1 type Review status. Add the two formulas below in D2 and E2, then fill them through row 8. Format D2:D8 as Percentage. Pune West displays about 108.4%, Pune East about 94.7% and Nashik about 86.7% at one decimal. Nagpur is exactly 90%, Solapur exactly 100%. Closed has no valid percentage because its target is zero.
- Apply an icon rule with a purpose. Select the ratio cells D2:D8 and choose a three-icon set from Home > Conditional Formatting. In the manager, edit the rule on a desktop edition that allows full criteria editing. Set the top entry to >= Number 1 and the middle entry to >= Number 0.9. The third icon covers lower numeric values. Leave the ratio visible near the icon. If your edition cannot edit these settings, use the checked status column and verify the ratio results.
- Compare the boundaries with explicit words. Check that the 90% row shows Watch and the 100% row shows Complete. Match the icon against E's labels, including the zero target row which should have no numeric achievement category. In a workbook that shows a cue for a cell returning empty text, keep No basis explicit and apply the icons only within the numeric rows intended for comparison.
- Test a hidden decimal difference. The Boundary test is 89.95%. With a display of zero decimals, it can read 90%. It remains below the numeric 0.9 cutoff and should say Behind. Increase the displayed decimals and read it again. If your actual policy rounds before classification, explicitly round the ratio to the desired precision at the comparison stage. Apply the same policy to both the helper and the icons.
D2 =IF(AND(ISNUMBER(B2),ISNUMBER(C2)),IF(AND(B2>0,C2>=0),C2/B2,""),"")
E2 =IF(ISNUMBER(D2),IF(D2>=1,"Complete",IF(D2>=0.9,"Watch","Behind")),"No basis")
The first IF checks that both inputs are numeric. The next condition avoids division by zero and rejects a negative actual count for the practice workflow. A valid actual count of zero with a positive target is allowed. The ratio then equals zero and the status legitimately becomes Behind. Returning empty text for a missing basis keeps it distinguishable from that case. The second formula applies the highest band first and then the middle one.
Try a positive target of 100 and actual of 0 on a copy. The actual count is confirmed zero, so the text status should say Behind. Clear the target and it should say No basis. Then put the target back and the actual to 100. That is Complete. This small set checks the separation between no work, an unmeasurable ratio and enough work.
Compare an overall ratio with the average of row ratios
For the five ordinary open counters only, total actual packed is 687 and total target is 700. The ratio of those totals is about 98.14%. The simple average of their five achievement values is about 95.95%. Each counter has equal weight in the second calculation, while a counter with a larger target contributes more to the ratio of totals. Describing one as all packed against all targeted and the other as average counter achievement makes their different purposes clear.
Exclude Closed and the deliberate precision row for this check. Use =SUM(C2:C6)/SUM(B2:B6) for the combined achievement and =AVERAGE(D2:D6) for the average counter achievement. A report with a positive target but missing actual needs a clear missing-data policy before computing a combined ratio. Simply summing all reported actuals against all potential targets might punish a nonreporting counter as though it reported zero.
7. Apply the same visual meaning to two pickup grids
For a smaller visual exercise, type the following numeric grid in A1:D4 of another sheet. The time windows are literals used as column labels. Each data cell holds a count. The three windows can be thought of as pickup volumes near the same booths, recorded by the club's volunteers.
| Desk | 11:00 | 12:00 | 13:00 |
|---|---|---|---|
| Library | 0 | 8 | 15 |
| Sports Block | 5 | 15 | 24 |
| Main Hall | 12 | 20 | 30 |
- Apply a three-colour scale only to B2:D4. Check that the header labels and desk names are not part of the numeric context.
- In a desktop build with full editing, set the Min, Mid and Max types to Number and their values to 0, 15 and 30. Choose contrasting readable shade anchors. The two 15s should use the midpoint colour, even though they occur at different desks.
- Compare the confirmed zero with a deliberately blank cell in another copy. Label which is a zero and which still needs a report. Keep blank and zero meanings clear in any summary.
- To compare a second day, use the same fixed anchors across the same unit and layout. Change the biggest value in the new day to 45 while keeping one 15. The old 15 and new 15 should receive the same midpoint reference, and the numeric 45 should remain visible even beyond the maximum colour anchor.
For a simple load summary, add the three columns independently. Totals for the sample windows are 17, 43 and 69. The heat map can point the coordinator to Main Hall at 13:00, while the sums answer how many pickups each window recorded across all desks. A colour applied to each cell does not provide a column total. Both views can help decide where to review staffing, depending on the question.
Give the legend the unit and the known references, such as Shown from 0 to 30 pickups, midpoint 15. Avoid a legend that says only Low and high with no meaning, especially when charts are compared across copies. Place a written Needs follow-up label in a separate conditional rule if the busy volume indicates a business requirement. The heat map itself should show data distribution, including busy times that meet the planned capacity.
8. Audit a rule when the visual stops making sense
- Bars with different meanings. Read each rule's Applies To, minimum and maximum. The same amount can look different under different relative scales. Confirm the comparable blocks share fixed numeric anchors when the report needs it.
- Icon changes on a row whose value stayed the same. Check whether its thresholds were defined using a relative Type. If the business says 90% and 100%, compare the actual numeric threshold settings against 0.9 and 1.
- Same colour for a very different amount. Check whether both exceed the scale's chosen high anchor. Read the numbers. Switch to a separate ranking view if you need extra detail among large items.
- No icon or bar on a populated row. Check its number type, calculation errors, scope and whether the cell contains a nonnumeric result. Inspect the text status and the actual inputs too.
- Conflicting cues. Read the other formatting rules in the manager. Microsoft documents that the Stop If True box cannot be selected or cleared for data bars, colour scales or icon sets. If you want one calculation to govern a review, keep an explicit helper status and use a single intelligible display rule for it.
Compare a distribution midpoint and a numerical midpoint
Look back at the first week's five receipt values. In ascending order they are 360, 660, 720, 960 and 1200. The middle observed value is 720. The point halfway between the minimum and maximum numbers is 780, obtained by adding 360 and 1200 and dividing by two. Those are different definitions. If you select a midpoint based on the distribution, you are describing where observations fall. If you choose a number such as 780, you are describing a stated numeric scale.
In a spare workbook cell, compare =MEDIAN(B2:B6) with =(MIN(B2:B6)+MAX(B2:B6))/2. Use the first week's source from the bar lab. Expect 720 and 780. If you edit the last receipt to 2400, the median remains 720 for this example, but the numeric midpoint between minimum and maximum rises to 1380. A large observation can move some summaries and leave another unchanged. This is why “mid” is not enough information in a legend.
The heat map example uses fixed Number settings at 0, 15 and 30. A report with a relative rule should explain the reference group when it is published. For a fixed rule use the stated unit and boundary. For a relative rule use a description such as Shading compares this session's desks. If readers need to compare the two sessions directly, a single scale with a shared basis may be easier to understand. Check an unchanged numeric value in both charts before rewriting the captions.
Read trends without losing local explanations
A report that uses darker blue for busier time slots may make a dark cell easy to find. Ask what the larger value means. A count of 30 could be suitable for a large desk and overwhelming for a small temporary stand. The common count scale still tells you the count. It does not tell the coordinator whether a particular desk met its capacity standard. Depending on the decision, a separate report can compare each count with its named capacity and then show a ratio strip.
For a small example, suppose one desk planned to process 40 pickups and another planned to process 12. They both recorded 15. Their heat-map shade under the same 15 midpoint is equal. Their shares of capacity are 37.5% and 125%. In a worksheet designed to show capacity use, the latter deserves a different category. Check the policy before treating a high percentage as good. In a packing-target calculation over 100% can mean ahead of plan. In a capacity calculation over 100% can mean an overload.
Try the same cues without colour
Imagine the festival supervisor gets a grayscale printout or views the sheet under bright outdoor light. If the only difference between busier and quieter times is red versus green, they may not see the intended meaning. Keep enough visual contrast, but also keep the readable quantities. For statuses, label the result with Complete, Watch or Behind. Replace or supplement any style that requires a person to remember an unstated mapping between colour and action.
Check the narrow result cell as well as the legend. An icon can compete for the space where the number is displayed. Widen the cell or place a readable percentage in an adjacent column. Evidence should fit in the report people will use. The full bar in an editing window tells you little if the emailed screenshot cuts off its amount. A numeric guide must travel with the view that the recipient opens.
Keep a small set of test records outside the report
- Test the two ordinary weekly cells with the same stored amount, then change a different value to make the relative rule's maximum move.
- Test the highest reference and a value above it side by side, while preserving the underlying labels.
- Check ratios exactly 0.9 and 1 together with 0.8995, a confirmed zero against a positive target and a missing target.
- Compare a reported 0 count with a filled cell deliberately cleared in a second grid. Do not assume they belong in the same calculation.
- Test one data row added below your original selection, then inspect the rule's new scope and verify the number remains correctly typed.
Write down the results a teammate should expect and keep the test data fictional. When a new report doesn't match, compare how far its criteria moved before considering changes to input records. Often the difference is a range, a number format or a relative endpoint.
If the target changes after observations are recorded, save the confirmed target used for the issued report. Recalculating a ratio from an edited target can move the category while the count remains the same. Try changing Nagpur's target from 100 to 120 in a copy. Its actual remains 90, and its ratio becomes 0.75, or 75%. The status becomes Behind under the same thresholds. Explain that the denominator changed before attributing the new icon to the team packing fewer kits.
When the plan and the report have different owners, display the target source and whether the report uses the current plan or the original one. This keeps a small visual status from creating a false story about a change in the work.
For a brief hand-off, report the observed dataset, comparison range and thresholds in one place. A teammate should be able to identify a high-campus entry, the middle policy boundary and the missing-data policy without opening the workbook settings. If a case is displayed with an unusual shade, the original number and the rule should explain it independently. Try these examples alongside the existing Excel Task Hub using the prompt's own unit and thresholds.
9. Interview questions with practical answers
How do you make two weeks of receipts visually comparable?
Use the same units, data bar settings and reference limits. Verify with two unchanged amounts and two changed ones. Keep the numeric amounts visible because fixed maximum clipping and cell widths can obscure differences.
Why does a large outlier shorten ordinary relative data bars?
The comparison endpoints can change when the maximum increases. The old amounts occupy a smaller fraction of the new comparison range. Their stored values did not change. Use a shared fixed scale if the two reports need direct comparison.
How would you show 90% and 100% target categories with icons?
Compute actual divided by a positive target. Set inclusive Type Number thresholds 0.9 and 1 for the appropriate middle and top categories. Test exact boundaries plus a value just below and give each class a plain text meaning.
Why would you keep the numeric value beside a heat map?
The shading helps point out a pattern, while the count answers how big the difference is. A fixed anchor can also saturate the shade at high values. The number and the scale description make the report readable without colour.
Would you turn an empty target into zero achievement?
For this policy I would label it No basis. Zero achievement is meaningful when a positive target and a measured actual of zero both exist. Missing or zero target goes to a separate review.
10. Predict the display and the evidence
Can both 1200 and 2400 receive the longest bar in separate weeks?
Answer and reasoning
Yes, if each is the maximum of its own relative rule. Compare the actual amounts or use the same fixed endpoints.
What type and value give a business threshold of 90% from a ratio?
Answer and reasoning
Type Number, value 0.9. The worksheet's percent format displays the fraction as 90%. The Percent threshold option represents a different relative setting.
Why can a displayed 90% still be tagged Behind?
Answer and reasoning
The stored ratio can be slightly below 0.9 while the visible display rounds to 90%. Inspect more decimals and use the documented comparison policy.
What does a fixed midpoint of 15 show for both locations with 15 pickups?
Answer and reasoning
Both receive the midpoint colour under the same Number settings. Another day's maximum does not move the chosen fixed middle anchor.
Which is a useful explicit label when neither a valid target nor a usable ratio exists?
Answer and reasoning
No basis. This distinguishes an unmeasurable result from a confirmed count of zero against a real target.
11. Six visual decisions worth remembering
- Bars show magnitude in context
Compare relative lengths only under a common scale. Keep actual numbers available.
- Use a grid of like units
A colour scale helps see highs and lows in one field. Counts and currency belong in separate contexts.
- Give the legend meaning
Tell the reader what low, middle and high numbers represent. Shade alone does not state a policy.
- Number for fixed ratios
Use 1 for 100% and 0.9 for 90% when icon thresholds compare raw ratios.
- Test exact cutoffs
Check 90%, 100% and one near the boundary. The display can round while the rule uses the stored figure.
- Leave missing values identifiable
A verified zero and a missing basis have different meanings. Use text beside the visual cue for each exception.