Last week we saw a really cool holiday request form made by Theodor.
This week, we will learn how to combine conditional formatting and data validation to create an awesome data entry form.
First see a demo to understand what I mean:

How to create such a data entry form?
Very simple, just grab a cup of coffee (or your favorite fried-nuts-crushed-and-brewed-with-hot-water) and follow my lead.
Step 1: Set up Data Validation
Assuming you need to gather some inputs, like shown above. First thing to do would be setting up data validation rules in a cell so that your users can specify the type of data they are entering. For eg. they can choose card or paypal or other as payment mode and depending on that, enter further details.
To do this, just select the cell and go to Data > Validation. Choose “List” as the rule and give values.

Step 2: Add conditional formatting rules.
Now, based on the selected value, we need to highlight a set of cells.
Assuming all the data to be gathered in cells C4:G4,
Select first two cells (C4:D4), go to Home > Conditional Formatting > New Rule
Here, we need to tell Excel to highlight the C4 and D4 if the type of payment is Card.
So choose the CF rule type as “Use a formula to determine which cells to format” and the check if $B4 is “card”.

Step 3: Add Conditional Formatting rules to other cells (E4:F4, G4)
Using the same logic.
Step 4: Bask in glory!
That is all. There is no step 4. We are done. Finish the coffee or whatever you mixed with hot water. Just save the file and send it to your customer, vendor or boss. Bask in glory as there will be fewer data entry mistakes and more awesome.
Home work: Get Creative and do more
You can use some creativity and make the data entry form even more awesome. For example, you could show a tick mark when the data entry is complete. Also you could highlight only when the cell is blank (ie if the data is already entered, there is no point highlighting)
See what I came up with:

I am not going to tell you how to do the above. That is for you to figure out.
Download Excel Files
Click here to download the excel file with the data entry form example. Play with it to understand how to make similar forms. Become awesome!
And if you can not solve the homework problem, download this file and examine it.
How do you make your data entry forms awesome?
I love data validation. It makes the whole process of gathering valid data dead simple. Also, it is an excellent way to change month or other settings in dashboards. (example 1, 2, 3)
What about you? How do you use Data Validation and other excel features to make your input forms both simple and awesome? Please share your experiences and ideas using comments. Go!
Learn More About Data Validation & Conditional Formatting:
As I said earlier, I really love data validation, conditional formatting features of Excel. They are quite powerful and very useful when working with lots of data. We have very good information about these features on chandoo.org. Start with the below articles to learn more.
- What is Conditional Formatting and how to use it? [Video]
- How to create a simple data validation list?
- 5 tips to become conditional formatting rock star
- More tutorials & tips on conditional formatting, data validation
- Recommended: Join Excel School if you work with data often. You will save a ton of time.

















18 Responses to “Best Charts to Compare Actual Values with Targets – What is your take?”
Great post. I can't vote, though, because the answer I want to put down is "it depends". As with all visualisations, you've got to take into account your audience, your purpose, technical skills, where it will be viewed, etc.
I'm with Andy: It depends. Some I would use, some I might use, some I won't touch with a barge pole.
Naturally I have comments 🙂
The dial gauge, though familiar, is less easy to read than a linear type of chart (thermometer or bullet). It's really no better than the traffic lights, because all it can really tell you is which category the point falls in: red, yellow, or green.
By the same token, pie charts are so familiar, people don't know they can't read them. Remember how long it takes kids to learn to read an analog clock?
Bullet charts don't show trends.
With any of the charts that have a filled component and a marker or ine component, it makes more sense to use the filled component (area/ column) for target, and the lines or markers for actual.
[...] Best Charts to Compare Actual values with Targets (or Budgets … [...]
I voted for #6 even though I agree with the other comments that it depends.
The majority of the votes are for the #2, thermometer chart. I still have yet to understand what happens when you are above plan/goal, which was brought up in yesterday's post.
Also, I agree with Jon in that it would be better to flip the series and make the filled part the target or goal and the line or marker the actual.
I am also a fan of using text when appropriate if the data is among other metrics in a type of dashboard. Calling it out by saying actual and % achievement is a good option.
Another "it depends" vote. Are you just looking at one or are you comparing a number of targets with actuals? You didn't include a text box. The problem with sentences is that they can get lost in a page of gray text. A text box can call attention to the numbers and line them up effectively.
I'm with Jon: "Some I would use, some I might use, some I won’t touch with a barge pole" and I'm surprised that some of your readers voted for the last group.
Jon says:
With any of the charts that have a filled component and a marker or line component, it makes more sense to use the filled component (area/ column) for target, and the lines or markers for actual.
Why does this make more sense? I like 6 the way it is, although I would use a heavy dash for the plan/target marker.
"It depends" is also my take. What I usually try to drill into my clients dashboard design is the fu ndamental difference between spot results (am I on target for this month) and long term trends.. I always try to create 3 different set of graphs to represent real perormance:
- spot results vs objectives
- cumulative results vs objectives
- long-term trend (moving average) mostly) to see where we're going
[...] Best Charts to Compare Actual Values with Targets – What is your take? (tags: excel charts) [...]
[...] Related: Charting Principles, How to compare actual values with budgets [...]
[...] Excel Charting Alternatives to compare values [...]
Jon says:
With any of the charts that have a filled component and a marker or line component, it makes more sense to use the filled component (area/ column) for target, and the lines or markers for actual.
Why does this make more sense? I like 6 the way it is, although I would use a heavy dash for the plan/target marker.
I totally agree, Bob. I would normally favour a line for the target and a column for the actual, you can see quite easily then which columns break through the line, then.
[...] best charts to compare actual values with targets — den Status mal anders zeigen, z. B. als Tacho [...]
Thermometer charts: "Not appropriate when actual values exceed targets" - this is easily solved by making the "mercury" portion a different color from the border, then you can clearly see where the expected range ends and the actual values keep going.
People seem to knock gauges quite a bit in dashboarding, but trying to show comparison of realtime data between operating sites and targets for each site can easily be done with a bank of gauges that have the optimal operating points at 12 o'clock.
The human eye is great at pattern stripping, and any deviation of a gauge from the expected 12 position will quickly register with an operator and attract his attention. Using a colour background, or meter edge, will also indicate the sensitivity of a particular site.
[…] Best charts to compare actual with target values […]
[…] Best charts to compare actual with target values […]
[…] work laptop I have a favorites folder just dedicated to Excel charts. Its got things like “Best Charts to Compare Actuals vs Targets” and “Best charts to show progress“. I love me some charts […]
I am wondering how will the plotting work, for some of the targets which may have been achieved before time. E.g. for the month of Jul the target was 226 and the actual was 219. So the chart will show a deficit in meeting the target by 7 points but what if this 7 may have been completed earlier in month of June. So ideally it not a deficit.