Home Computer Tutorials Computer Knowledge Create a dynamic production guide that updates row and column data in real time

Create a dynamic production guide that updates row and column data in real time

Jan 20, 2024 am 08:27 AM

Help how to create a dynamic that allows row data and column data to change automatically

1. Data source name definition

Open the data table with Excel 2013, click "Formula → Define Name", enter "Category Axis" in the name of the pop-up window, and enter "=OFFSET($A$2,,,COUNTA($A:$) in the reference position A)-1,1)"; define another name called "Value Axis" in the same way, and enter "=OFFSET($B$2,,,COUNTA($A:$A)-1," at the reference position) 1)” (Figure 2).

2. Chart data source modification

After the data source name is defined, it is time to modify the two data sources of the column chart.

Right-click the column chart, select "Select Data", and click the "Edit" button under "Legend Item (Series)" in the pop-up window. Enter "Sheet1! Value axis" in the series value of the pop-up window (Sheet1 is based on the name of the data table). Then click the "Edit" button under "Horizontal (Category) Axis Label" and enter "=Sheet1!Category Axis" in the pop-up window (Figure 3).

After clicking "OK", return to the Excel worksheet, add data in columns A and B, and the chart will automatically change and add columns.

Extension Tips:

The above only uses personal sales performance as an example, but in fact any table items that involve dynamic additions, such as student re-examination scores, family spare-time income statistics, etc., can be implemented using similar methods. This method is described in detail in the WPS tutorial.

How to use 2013excel to make charts

Method/Step

Start Excel2013, for example, there is a table as shown below.

Select all or part of the columns of the table, here we take all columns as an example, and then click "Recommended Chart" in the "Insert" tab.

Note: If you know what chart to use, you can click the corresponding chart in the "Chart" group under the "Insert" tab.

At this time, the "Insert Chart" dialog box opens. The recommended charts are displayed on the left. Select the chart you need, and then click "OK".

Results as shown below.

Set chart elements: Select the chart and click the plus sign to select chart elements (select as needed).

Select the data to be displayed in the chart: Click "Province" below the chart, select the province you want to display in the interface that opens, and then click "OK".

Modify the title of the chart: Click the chart title to enter the editing state and re-enter the title.

Set the chart format: Double-click the corresponding part of the chart (such as grid lines), the format setting interface will be displayed on the right, and you can set it.

Note: The settings for other parts of the chart are similar.

How to use wps table excel table to make dynamic chart

Making dynamic charts requires the following three knowledge points: using controls, defining names, and creating charts.

Create a dynamic production guide that updates row and column data in real time

1: Using controls

1. Right-click anywhere on the menu bar or toolbar to bring up the "Control Toolbox" dialog box (you must have a VBA environment to use the "Control Toolbox").

2. Select "Numerical Adjustment Button" (icon: ) in the "Control Toolbox" and drag to draw an adjustment button in the blank area of ​​the WPS table.

3. Right-click the "Adjustment Button", select "Properties" from the menu, and set the Linkedcell attribute to "E1", as shown in the figure. It is designed to associate cells and controls. When the user clicks the "Adjustment Button", the value of the "E1" cell will change accordingly.

Create a dynamic production guide that updates row and column data in real time

4. Close the "Properties" dialog box and click the "Exit Design Mode" button (icon:) in the "Control Toolbox".

2: Define the name

In order to obtain the compliance rate of the actual production progress, it is now necessary to define a name.

1. Select Insert\Name\Definition in the menu, enter the Define Name dialog box, and enter:

in the "Reference Location" field.

=SUM(OFFSET($C$3,0,0,$E$2,1))/$B$9

2. Enter "Compliance Rate" in the name box above, and click the "Add" button on the right toolbar to complete the name definition. As shown in Figure 3.

Create a dynamic production guide that updates row and column data in real time

Formula explanation: The function of the OFFSET function is to use the specified reference as a reference and obtain a new reference through the given offset. Here, it takes the value of cell C3 as a reference, an offset of 0 rows and columns, a height of the value of E2, and a width of 1. For example, the number in cell E2 is 3, then the new reference area address generated by OFFSET is C3:C5, and then the SUM function is used to calculate the percentage of it and the target gross production value. It must be noted here that absolute references need to be used in C3, E1, and B9.

3: Generate chart

1. Click on the blank area, select Insert\Chart in the menu, open the chart dialog box, and click "Next" directly.

2. Enter the "Source Data" tab, click the "Add" button, enter "Actual Compliance Rate" in the "Name" edit box, enter "= Compliance Rate" in the "Value" edit box, and click " Confirm button.

3. Select the chart, the "Chart" toolbar will appear in the toolbar, select "Series" Standard Compliance Rate" in the "Chart Object" selection box, right-click and select "Data Series Format" from the menu. Check "Secondary Axis" on the "Coordinate Axis" tab.

4. Enter the "Data Flag" tab and check "Value" to display detailed data in the chart.

Create a dynamic production guide that updates row and column data in real time

5. Right-click the secondary axis, select "Axis Format", enter the Number tab, set the number format to "Percent", and set the minimum value of the scale to 0 in the "Scale" tab. Set the maximum value to 1.

6. In the same way, set the minimum value of the main axis scale to 0 and the maximum value to 55000.

7. Chart beautification. This step can be based on personal preferences, such as setting borders, shading, filling effects, etc.

8. "Combination" of charts and adjustment buttons. Adjust the size of the chart and "Adjustment Button" appropriately to coordinate them. Select the chart, right-click and select "Send to Back". The final effect is as shown in Figure 5.

Give it a try, the chart data will also change when you click the "Adjustment Button".

Create a dynamic production guide that updates row and column data in real time

The above is the detailed content of Create a dynamic production guide that updates row and column data in real time. 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)

How to Fix the Steam Cloud Error? Try These Methods How to Fix the Steam Cloud Error? Try These Methods Apr 04, 2025 am 01:51 AM

The Steam Cloud error can be caused by many reasons. To play a game smoothly, you need to take some measures to remove this error before you launch the game. php.cn Software introduces some best ways as well as more useful information in this post.

Windows Metadata and Internet Services Problem: How to Fix It? Windows Metadata and Internet Services Problem: How to Fix It? Apr 02, 2025 pm 03:57 PM

You may see the “A connection to the Windows Metadata and Internet Services (WMIS) could not be established.” error on Event Viewer. This post from php.cn introduces how to remove the Windows Metadata and Internet Services problem.

How to Resolve the KB5035942 Update Issues – Crashing System How to Resolve the KB5035942 Update Issues – Crashing System Apr 02, 2025 pm 04:16 PM

KB5035942 update issues - crashing system commonly happens to users. Inflicted people hope to find a way out of the kind of trouble, such as crashing system, installation, or sound issues. Targeting these situations, this post published by php.cn wil

Fixed – OneDrive Not Uploading Photos on PC Fixed – OneDrive Not Uploading Photos on PC Apr 02, 2025 pm 04:04 PM

OneDrive is an online cloud storage service from Microsoft. At times, you might find OneDrive fail to upload photos to the cloud. If you are on the same boat, keep reading this post from php.cn Software to get effective solutions now!

Remove PC App Store Malware - A Full Guide for You! Remove PC App Store Malware - A Full Guide for You! Apr 04, 2025 am 01:41 AM

If you have a program called PC App Store on your computer and did not purposely install it, then your PC may be infected with the malware. This post from php.cn introduces how to remove PC App Store malware.

Fix: Brothers: A Tale of Two Sons Remake Not Launching/Loading Fix: Brothers: A Tale of Two Sons Remake Not Launching/Loading Apr 02, 2025 am 02:40 AM

Is Brothers: A Tale of Two Sons Remake not launching? Encountering Brothers: A Tale of Two Sons Remake black screen? Here this post on php.cn offers you tested solutions to assist you in addressing this problem.

How to Use Chris Titus Tool to Create a Debloated Win11/10 ISO How to Use Chris Titus Tool to Create a Debloated Win11/10 ISO Apr 01, 2025 am 03:15 AM

Chris Titus Tech has a tool called Windows Utility that can help you easily create a debloated Windows 11/10 ISO to install a clean system. php.cn offers a full guide on how to do this thing using the Chris Titus tool.

MSConfig Keeps Reverting to Selective Startup? 2 Solutions Here MSConfig Keeps Reverting to Selective Startup? 2 Solutions Here Mar 28, 2025 pm 12:06 PM

Are you questioned about an issue that MSConfig keeps reverting to selective startup on your Windows? How to switch to normal startup if you require it? Try the methods explained in this php.cn post to find one that works for you.

See all articles