Home Topics excel Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Apr 13, 2023 pm 05:27 PM
excel

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

In our daily work, we often encounter data comparison charts. Data trend charts are also charting skills that we must know. I believe many students can complete them. But recently, a classmate’s weird leader suggested: “It needs to have both a comparison effect and a trend effect, and multiple series of charts must be displayed by month throughout the year, and all of this must be done in one chart!”

So, the "difficulty" in our work lies not in lack of skills, but in the boss's imaginative thinking. So today I will give you an idea for making a "multi-series comparison/trend chart".

[Data source]

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Before we look at the following article, students can think about it themselves if such data makes If you design it, what will it look like?

【Text】

●If there is only 1 set of data

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Nothing to say, just use column chart, bar chart, donut chart, whatever you want.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Even if we need to see percentages and trend lines, we can insert an auxiliary column of percentages in column C in the data, as follows:

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

STEP1: Select the cell A1:B4 area, insert the toolbar - chart - clustered column chart;

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Then you get the first draft of a column chart.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

STEP2: Right-click anywhere in the chart area, and in the pop-up menu, left-click and select "Select Data".

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

In the pop-up setting box, click "Add" series on the left, enter data as follows or select the worksheet area to enter content;

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

STEP3:Right-click anywhere in the chart area and select "Change Chart Type";

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Change the chart type of the percentage series to Scatter with Smooth Line and Data Markers.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

This way we got the prototype of the chart for the second step.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

STEP4: Select the graph of the proportion series in the figure, right-click the mouse, and select the "Format Data Series" option in the menu;

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

In the series options, click "Secondary Axis",

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Get the chart, as follows:

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Let’s beautify the chart interface and add data labels. We won’t go into details. Let’s give an example.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

●Let’s look at today’s main data

I have to say that in actual work, the production of charts should still focus on , there is a prominent point to express a certain data. If a lot of information is crowded into one picture, it will appear confusing.

The combination of column chart and line chart (the author uses a scatter chart here) is very commonly used, and this combination has both contrast and trend, which is very convenient to watch. So can our main data today also achieve such an effect? As shown below:

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

[Initial drawing planning]

If we decide to use a column chart and a line chart to represent this table, then we need to have a rough sketch on paper or in our mind: each set of graphs corresponds to a project team’s 12-month period. data. The difficulty is that the bottom ends of each group of graphics must be aligned; the polyline must appear in the group of graphics for this project.

[Chart type selection]

Obviously, if multiple column charts are superimposed, we should choose "Stacked Column Chart", but if we use If you operate on the original data, it will be the chart below.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

The bottom ends of each item group are not aligned, which is not what we need, but if we insert a "placeholder graphic" in the middle of each series, is it okay? What about "raising" each series of graphics? Then set the color and border of the placeholder graphic to "no color" to simulate the effect of each row being a column chart and aligned at the bottom, as follows:

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Students can take a look. Here we have removed the colors of the placeholder graphics at points A and B. The green placeholder graphics at point C are still retained. Can you see that the bottom ends are aligned.

After we have space for placeholders, we can add scatter points to these spaces to mark the proportions, and finally connect these scatter points to simulate the effect of a line chart. So for the trend line, we use "scatter chart with smooth lines and data markers".

[Organizing data]

We need to insert a placeholder graphic between the two series of graphics. If considered in the data table, it is to add an auxiliary data . Let’s take a look at the data sorting stage.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

"Good charts are often not made from source data." Being good at using auxiliary data is an important sign of advanced chart making, so there is also a saying "Use of Charts" , in the end it all comes down to the use of functions.”

The "red" characters in the above picture are the data label display values ​​of the series, while the "blue" characters are the placeholder graphics of the chart and the marking points of the scatter points. Let's take a look at each data one by one. Function design idea:

● A: Data label value of item A

  • ##B8 ​​cell function: =B2

● Point A placeholder: Placeholder graphic of project A

  • B9 cell function: =MAX($B$2:$M$4)*2-B8

Explanation: B2:M4 is the source data area. We use twice the maximum value in the data as the highest proportion reference in the graph. Then the graphs made by each project will be evenly proportioned. The principle is: the number of data points The value corresponds to the placeholder point value = the maximum value in the data source * 2, so the corresponding placeholder point value = the maximum value in the data source * 2 - the data point value

● B: The data label value of project B

  • B10 cell function: =B3

● Point B placeholder: Placeholder graphic of project B

  • B11 cell function: =MAX($B$2:$M$4)*2-B10

● Point C placeholder: placeholder graphic of project C

  • B12 cell function: =B4

● Point C placeholder: placeholder graphic of project C

  • B13 cell function: =MAX($B$2:$M$4)*2-B12

● Proportions of A, B, and C: items A, B, and C Data points, respectively, account for the proportion of the total data of all projects in this month

  • B14 cell function: =B2/SUM(B$2:B$4)

  • B15 cell function: =B3/SUM(B$2:B$4)

  • B16 cell function: =B4/SUM(B$2:B$4)

● Proportion point A: The trend chart of project A, corresponding to the coordinate position of the scatter point.

  • B17 cell function: =B8 B9*1/3

Description: The scatter plot itself requires two horizontal and vertical coordinates Yes, if we do not set the The project occupies one-third of the site.”

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

● B and C proportion points: trend charts of B and C projects, corresponding to the coordinate positions of the scatter points.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contributionB18 cell function: =SUM(B8:B10) B11*1/3

    B19 cell function: =SUM(B8 :B12) B13*1/3
  • Note: Students should note that because the scattered Y-axis coordinates of each project have "height" requirements, their data sources, It is to accumulate other project data and add one-third of the corresponding proportion point, so that it is closer to the corresponding column chart.
  • 【Chart Production】

The most difficult part of data sorting has been completed. Do you still remember how we inserted the chart when we did a single set of data? Hurry up and give it a try!

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Blue area: Column chart

Select the A7:M13 area, insert "Stacked Column Chart", and add A , B, and C series add "data labels"

Yellow area: scatter plot

Follow the steps for designing charts for a single set of data at the beginning of the article, and repeat them Steps 2 and 3.

  • Select the B17:M17 area and insert "Scatter plot with smooth lines and data markers"

  • Select the B18:M18 area and insert "Scatter plot with smooth lines and data markers"

  • Select the B19:M19 area and insert "Scatter plot with smooth lines and data markers"

Add "Data Label"

Add the "Data Label" of the scatter plot, and select "Data Label". In "Set Data Label Format", set it to Press the corresponding "value in the cell" to display the content:

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

In this way, students will get the following chart "blank".

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

[Post-arrangement]

For post-arrangement work, you can refer to the author’s E diagram of “one deletion, two adjustment, three rows” ” approach to deal with it.

1. Delete the "vertical axis" and "tick marks" in the chart, as well as the legend that does not need to be displayed;

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

2. Adjust the column shape The color of the graph and the color of the smooth line, set the placeholder columns that do not need to be displayed and the mark points on the smooth line to no line and no fill.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

3. Through the above operations, the chart has been basically formed. Select a series of the column chart and adjust the gap width to 5%.

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Adjust the data label position on the column chart to the inside of the axis, and adjust the data label position on the smooth line to the center;

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Then adjust the position of each element in the chart, and change the font, font color, etc., to complete the effect of our picture above.

【Editor's Note】

Regarding the production of charts, it is recommended that you do not use all the default effects of Excel. A chart is more like a graphic design. Everyone’s aesthetics are different and the results are different. However, since “visualization” is meant to be viewed by others, it must be beautiful. Finally, let me share the color scheme used in today's graphic tutorial. Just enter the RGB value in "Other Colors - Customize".

Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution

Related learning recommendations: excel tutorial

The above is the detailed content of Practical Excel skills sharing: One chart to handle data comparison, trend and proportional contribution. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What should I do if the frame line disappears when printing in Excel? What should I do if the frame line disappears when printing in Excel? Mar 21, 2024 am 09:50 AM

If when opening a file that needs to be printed, we will find that the table frame line has disappeared for some reason in the print preview. When encountering such a situation, we must deal with it in time. If this also appears in your print file If you have questions like this, then join the editor to learn the following course: What should I do if the frame line disappears when printing a table in Excel? 1. Open a file that needs to be printed, as shown in the figure below. 2. Select all required content areas, as shown in the figure below. 3. Right-click the mouse and select the "Format Cells" option, as shown in the figure below. 4. Click the “Border” option at the top of the window, as shown in the figure below. 5. Select the thin solid line pattern in the line style on the left, as shown in the figure below. 6. Select "Outer Border"

How to filter more than 3 keywords at the same time in excel How to filter more than 3 keywords at the same time in excel Mar 21, 2024 pm 03:16 PM

Excel is often used to process data in daily office work, and it is often necessary to use the "filter" function. When we choose to perform "filtering" in Excel, we can only filter up to two conditions for the same column. So, do you know how to filter more than 3 keywords at the same time in Excel? Next, let me demonstrate it to you. The first method is to gradually add the conditions to the filter. If you want to filter out three qualifying details at the same time, you first need to filter out one of them step by step. At the beginning, you can first filter out employees with the surname "Wang" based on the conditions. Then click [OK], and then check [Add current selection to filter] in the filter results. The steps are as follows. Similarly, perform filtering separately again

How to change excel table compatibility mode to normal mode How to change excel table compatibility mode to normal mode Mar 20, 2024 pm 08:01 PM

In our daily work and study, we copy Excel files from others, open them to add content or re-edit them, and then save them. Sometimes a compatibility check dialog box will appear, which is very troublesome. I don’t know Excel software. , can it be changed to normal mode? So below, the editor will bring you detailed steps to solve this problem, let us learn together. Finally, be sure to remember to save it. 1. Open a worksheet and display an additional compatibility mode in the name of the worksheet, as shown in the figure. 2. In this worksheet, after modifying the content and saving it, the dialog box of the compatibility checker always pops up. It is very troublesome to see this page, as shown in the figure. 3. Click the Office button, click Save As, and then

How to set superscript in excel How to set superscript in excel Mar 20, 2024 pm 04:30 PM

When processing data, sometimes we encounter data that contains various symbols such as multiples, temperatures, etc. Do you know how to set superscripts in Excel? When we use Excel to process data, if we do not set superscripts, it will make it more troublesome to enter a lot of our data. Today, the editor will bring you the specific setting method of excel superscript. 1. First, let us open the Microsoft Office Excel document on the desktop and select the text that needs to be modified into superscript, as shown in the figure. 2. Then, right-click and select the "Format Cells" option in the menu that appears after clicking, as shown in the figure. 3. Next, in the “Format Cells” dialog box that pops up automatically

How to use the iif function in excel How to use the iif function in excel Mar 20, 2024 pm 06:10 PM

Most users use Excel to process table data. In fact, Excel also has a VBA program. Apart from experts, not many users have used this function. The iif function is often used when writing in VBA. It is actually the same as if The functions of the functions are similar. Let me introduce to you the usage of the iif function. There are iif functions in SQL statements and VBA code in Excel. The iif function is similar to the IF function in the excel worksheet. It performs true and false value judgment and returns different results based on the logically calculated true and false values. IF function usage is (condition, yes, no). IF statement and IIF function in VBA. The former IF statement is a control statement that can execute different statements according to conditions. The latter

How to type subscript in excel How to type subscript in excel Mar 20, 2024 am 11:31 AM

eWe often use Excel to make some data tables and the like. Sometimes when entering parameter values, we need to superscript or subscript a certain number. For example, mathematical formulas are often used. So how do you type the subscript in Excel? ?Let’s take a look at the detailed steps: 1. Superscript method: 1. First, enter a3 (3 is superscript) in Excel. 2. Select the number "3", right-click and select "Format Cells". 3. Click "Superscript" and then "OK". 4. Look, the effect is like this. 2. Subscript method: 1. Similar to the superscript setting method, enter "ln310" (3 is the subscript) in the cell, select the number "3", right-click and select "Format Cells". 2. Check "Subscript" and click "OK"

Where to set excel reading mode Where to set excel reading mode Mar 21, 2024 am 08:40 AM

In the study of software, we are accustomed to using excel, not only because it is convenient, but also because it can meet a variety of formats needed in actual work, and excel is very flexible to use, and there is a mode that is convenient for reading. Today I brought For everyone: where to set the excel reading mode. 1. Turn on the computer, then open the Excel application and find the target data. 2. There are two ways to set the reading mode in Excel. The first one: In Excel, there are a large number of convenient processing methods distributed in the Excel layout. In the lower right corner of Excel, there is a shortcut to set the reading mode. Find the pattern of the cross mark and click it to enter the reading mode. There is a small three-dimensional mark on the right side of the cross mark.

How to insert excel icons into PPT slides How to insert excel icons into PPT slides Mar 26, 2024 pm 05:40 PM

1. Open the PPT and turn the page to the page where you need to insert the excel icon. Click the Insert tab. 2. Click [Object]. 3. The following dialog box will pop up. 4. Click [Create from file] and click [Browse]. 5. Select the excel table to be inserted. 6. Click OK and the following page will pop up. 7. Check [Show as icon]. 8. Click OK.

See all articles