


Excel chart learning: Create a multi-series multi-condition histogram with target values
In the previous article " Sharing practical Excel skills: Do you know how to use these 5 shortcut keys? ", we learned about 5 star shortcut keys. Today we share an Excel chart tutorial, which can be said to be a very magical production method, you will never imagine it!
Forms are almost a must-have tool for every workplace person. The forms we make will be sent to leaders, employees or customers. It is especially important to create beautiful and easy-to-understand tables. Today I will teach you a stacked column chart with target horizontal lines and automatic color change.
1. Learning Objectives
The profit and growth rate of an existing product in the three years from 2015 to 2017 need to be produced as follows Bar chart. Horizontal lines are used to represent the set profit and growth rate goals, green columns represent completed goals, and red columns represent uncompleted goals. The main purpose of this bar chart is to highlight which profits and growth rates from 2015 to 2017 have achieved the target and which have not.
We need to meet the following requirements:
1. Each year needs to include two data, profit and growth rate, and they do not affect each other;
2. There is a target horizontal line for each column bar;
3. For profit and growth rate column bars, if it exceeds or just reaches the target horizontal line, it will appear green. Otherwise it is red;
The original data is as follows:
## 2. Initial approach
Basically, the initial idea is to select the A1:C4 data, insert the clustered column chart, and get the following picture, which has a certain gap with the target picture: 1. The target value is missing, It is impossible to know from the picture whether the plan has been realized; 2. The legend has been added, making the entire composition not compact enough, and readers need to scan left and right, distracting attention; 3. Profit and growth The rate does not change color depending on whether the plan is completed;3. Solution
(1) Processing of original data
In order to achieve the target histogram, the original data needs to be processed and certain auxiliary data added.=IF(C3>=E3,C3,0)
=IF(C3
=IF(D4>=H4,D4,0)
=IF(D4
The drawing steps are as follows:
Select A1:B11 and E1:J11 as the drawing data. First select A1:B11, hold down the Ctrl key and then select E1:J11 on the Windows system, hold down the Command key on the Mac system and then select E1:J11. Insert a column chart and select stacked column chart;(2) Processing objectives Profit and target growth rate data
Select the "Planned Profit" legend on the right side of the chart, right-click and select "Change Chart Type", change the chart type to XY (scatter chart);What we need is a horizontal line, and the vertical error bars need to be deleted. Select the vertical error bars, right-click and select "Format Error Bars", click and set the vertical error bars to no lines.
Select the horizontal error bar, set the direction of the horizontal error bar to "Both", the wireless end, the error amount is fixed at 0.5, the color is blue, and the width is 1.5 pound.
Follow the above steps and perform the same operations on the planned growth rate data (change to scatter plot, delete vertical error bars, change Horizontal error bar format), the final effect is as shown in the chart below.
(3) Beautify the chart
Further beautify the obtained chart, mainly including:
Change data a in placeholder rows 2, 5, 8, and 11 to a space (delete a and enter a space). Be careful not to clear the data, otherwise the abscissa will not be centered;
Select the right Side legend "Planned Profit", right-click, select Format Data Series, select , click Mark, select "Data Marking Options", select "None", operate similarly for "Planned Growth Rate";
Select the "Growth Rate Red" legend, right-click, and select "Format Data Series" in the pop-up window. Set the gap width in the data series format of the column chart to 50%. This will be applied to all column bars in the chart, making the width of all column bars wider;
Click , click the "Fill" option, fill the growth rate (green) and profit (green) with green, the growth rate (red) and profit (red) is red. This needs to be set once for each series;
Select the legend and press delete to delete the legend; select the column bar, right-click and select Add Data Label for each Add data labels to each series;
#Because in our auxiliary data, there are several useless "0"s that are also regarded as cartographic data. After adding data labels, it is displayed Out. So we can delete them manually. Click twice on the "0" tag that needs to be deleted. When the selected state shown below appears, click "delete" to delete it.
Click on the vertical axis, after selecting it, press "delete" to delete the vertical axis;
Select the horizontal axis, single Right-click and select "Format Axis". Click , in the line, select the no line option, so that the vertical lines between the years on the horizontal axis can be removed;
IV. Key Points Review
A qualified chart can reflect the professionalism of the producer. Allow readers to quickly grasp the key points. The target profit and target growth rate horizontal lines have been added to the column chart created this time, so you can see at a glance whether the plan has been completed. There are also some difficult points in this article that require everyone to think carefully before they can draw inferences and apply them to their daily work.1. Original data is not equal to cartographic data. In most cases, mapping data needs to be obtained after processing the original data, sometimes splitting the data, and sometimes adding auxiliary data. Because the colors of profit and growth rate here are different, and the target data shows horizontal lines, they must be separated;
2. How to make error bars.
5. Follow-up Thoughts
Although the final bar chart is not bad, if the annual profits can be put together, the annual profits Growth rates, taken together, can better show changes over time. Please think about how to process the original data and create the following column chart.
Related learning recommendations: excel tutorial
The above is the detailed content of Excel chart learning: Create a multi-series multi-condition histogram with target values. For more information, please follow other related articles on the PHP Chinese website!

This tutorial explains how to calculate the median of numerical data in Excel using the MEDIAN function. The median, a key measure of central tendency, identifies the middle value in a dataset, offering a more robust representation of central tenden

Master Google Sheets COUNTIF: A Comprehensive Guide This guide explores the versatile COUNTIF function in Google Sheets, demonstrating its applications beyond simple cell counting. We'll cover various scenarios, from exact and partial matches to han

This tutorial provides a comprehensive guide to sharing Excel workbooks, covering various methods, access control, and conflict resolution. Modern Excel versions (2010, 2013, 2016, and later) simplify collaborative editing, eliminating the need to m

This tutorial explores various methods for converting .xls files to .jpg images, encompassing both built-in Windows tools and free online converters. Need to create a presentation, share spreadsheet data securely, or design a document? Converting yo

This tutorial clarifies the function of Excel names and demonstrates how to define names for cells, ranges, constants, or formulas. It also covers editing, filtering, and deleting defined names. Excel names, while incredibly useful, are often overlo

This tutorial clarifies the distinction between standard deviation and standard error of the mean, guiding you on the optimal Excel functions for standard deviation calculations. In descriptive statistics, the mean and standard deviation are intrinsi

This Excel tutorial demonstrates how to calculate square roots and nth roots. Finding the square root is a common mathematical operation, and Excel offers several methods. Methods for Calculating Square Roots in Excel: Using the SQRT Function: The

Unlock the Power of Google Sheets: A Beginner's Guide This tutorial introduces the fundamentals of Google Sheets, a powerful and versatile alternative to MS Excel. Learn how to effortlessly manage spreadsheets, leverage key features, and collaborate


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 English version
Recommended: Win version, supports code prompts!

SublimeText3 Chinese version
Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool