search
HomeTopicsexcelExcel chart learning eclectic OFFSET dynamic table

It’s the beginning of winter and it’s cold! No heating in the house? Just move, stamp your feet, rub your hands, and you will feel warm. It’s the beginning of winter, and another year is coming to an end! No salary increase yet? Let your watch move differently than before, update simultaneously and display dynamically. Not only will it save you trouble, but your boss will also like to pay you...

Excel chart learning eclectic OFFSET dynamic table

##First move: Impress, impress the boss with the dynamic charts

The boss is used to seeing the plain tables you have been reporting (below), and now you suddenly show him a chart (below) that can be dynamically queried, you say Can you win over your boss's critical heart? Can you surprise your boss with a reward?

Your report now Your report tomorrow

Excel chart learning eclectic OFFSET dynamic tableExcel chart learning eclectic OFFSET dynamic table

How to achieve this change? It's very simple, just make dynamic charts.

Dynamic chart means that the boss selects different areas, and the chart displays different data. There are three steps to achieve this: one step is to make a drop-down menu for the boss to choose, one step is to make a data area that changes dynamically according to the selection, and one step is to insert a chart based on the dynamic data area.

Dynamic data areas are commonly implemented with the VLOOKUP function, but today we are not taking the usual route. We use the OFFSET function to complete the dynamic data area.

Step one: Make drop-down selection

1. Select cell J1 and click "Data Verification" under the "Data" tab.

Excel chart learning eclectic OFFSET dynamic table

2. In the "Settings" option at the bottom of the "Data Validation" window, select "Series" for "Allow" and select the cells where the five sales areas are located as the source. =$A$2:$A$6", click OK.

Excel chart learning eclectic OFFSET dynamic table

Step 2: Create a dynamically updated auxiliary data area

3. The next step is to dynamically update the chart based on the value of cell J1. J1 selects "Beijing Area". Enter "=OFFSET(B1,MATCH($J$1,$A$2:$A$6,0),0)" in cell B7. Then the formula fills to the right to cell G7. In this way, cells B7:G7 return the sales volume in Beijing area from January to June.

Excel chart learning eclectic OFFSET dynamic table

Analysis:

Use OFFSET to take "B1" as the reference system, and the number of offset rows is Use the MATCH function to get $J$1 in $A$2 :At the position of $A$6, the offset column number is 0, which means no offset. As shown in Figure J1, the value is "Beijing area", and the position of $A$2:$A$6 is 1. The value returned by OFFSET is a reference offset one row downward with "B1" as the reference system. In this way, as the selected area $J$1 continues to change, cells B7:G7 will obtain the sales data of the corresponding area.

4. Then set the average line data and enter "=AVERAGE($B$7:$G$7)" in cell B8 to get the average value of $B$7:$G$7. Then the formula fills to the right to cell G8. If the selected area $J$1 changes, then $B$7:$G$7 changes, and the average value will also change accordingly.

Excel chart learning eclectic OFFSET dynamic table公众号

Step 3: Create the chart

5. We create the chart based on the set auxiliary rows. Select the title B1:G1 and the auxiliary row B7:G8 area and click "Two-dimensional Column Chart" in the "Chart" group under the "Insert" tab.

Excel chart learning eclectic OFFSET dynamic table

#6. Enter "=J1&"Sales Data"" in cell K1.

Excel chart learning eclectic OFFSET dynamic table

Click the chart title box and enter "=Sheet2!$K$1" in the edit bar, so that the chart title and the data verification area are updated simultaneously.

Excel chart learning eclectic OFFSET dynamic table

#7. Click "Change Chart Type" under the "Design" tab under "Chart Tools".

Excel chart learning eclectic OFFSET dynamic table

8. In the "Change Chart Type" window, click "Combination" under the "All Charts" option, and change the series where the average value is located to "Line Chart".

Excel chart learning eclectic OFFSET dynamic table

#9. Finally, delete the chart legend and change the font of the auxiliary data B7:G8 and K1 cells to white and invisible, and you are done.

Excel chart learning eclectic OFFSET dynamic table

Second action: linkage, so that the pivot table and the data source can be updated synchronously

If the pivot table wants to be updated synchronously with the data source, I have introduced to you the super table before accomplish. In addition, we can also use OFFSET. As shown in the figure, the pivot table on the right is inserted based on the data source on the left.

Excel chart learning eclectic OFFSET dynamic table

Now we need the pivot table to be updated synchronously after the data source is updated, as follows:

Excel chart learning eclectic OFFSET dynamic table

Step 1: Define the name

1. Click "Define Name" in the "Defined Name" option group under the "Formula" tab.

Excel chart learning eclectic OFFSET dynamic table

2. In the "New Name" window, enter "Data" in the "Name" column and the following formula in the "Reference Position"

=OFFSET(Sheet1 !$A$1,,,COUNTA(Sheet1!$A:$A),COUNTA(Sheet1!$1:$1))

Excel chart learning eclectic OFFSET dynamic table

##Analysis:

"Sheet1" is the worksheet where the data is located. The function takes "Sheet1!$A$1" as the reference system, does not offset (offset rows and columns are empty), and dynamically returns the entire table data. COUNTA(Sheet1!$A:$A) is used to get the number of rows of table data, and COUNTA(Sheet1!$1:$1) is used to get the number of columns of table data. The results they obtain are dynamic and change as the number of rows and columns in the table increases or decreases.

Excel chart learning eclectic OFFSET dynamic table

Step 2: Change the data source

3. Click any cell on the pivot table, and "Pivot Table" will appear. tool". Then click "Change Data Source" in the "Analysis" tab under "PivotTable Tools".

Excel chart learning eclectic OFFSET dynamic table

#4. In the "Change PivotTable Data Source" window, change "Table/Range" to the just-defined name "Data" and click OK.

Excel chart learning eclectic OFFSET dynamic table

Step 3: Refresh synchronization

5. Next, add data in the last row of data.

Excel chart learning eclectic OFFSET dynamic table

#6. Right-click the pivot table and select the "Refresh" command. The pivot table will be updated.

Excel chart learning eclectic OFFSET dynamic table

Using the Offset function, we have implemented two "actions". The first action is to use dynamic charts to impress the boss so that the "salary" can be easily opened. The second action is to link the pivot table with the data source. Save yourself more trouble. Ok, hurry up and get your form moving! Winter is coming, although cold hands and feet cannot be avoided, but a salary increase will warm your heart!

Related learning recommendations:

excel tutorial

The above is the detailed content of Excel chart learning eclectic OFFSET dynamic table. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:部落窝教育. If there is any infringement, please contact admin@php.cn delete
MEDIAN formula in Excel - practical examplesMEDIAN formula in Excel - practical examplesApr 11, 2025 pm 12:08 PM

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

Google Spreadsheet COUNTIF function with formula examplesGoogle Spreadsheet COUNTIF function with formula examplesApr 11, 2025 pm 12:03 PM

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

Excel shared workbook: How to share Excel file for multiple usersExcel shared workbook: How to share Excel file for multiple usersApr 11, 2025 am 11:58 AM

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

How to convert Excel to JPG - save .xls or .xlsx as image fileHow to convert Excel to JPG - save .xls or .xlsx as image fileApr 11, 2025 am 11:31 AM

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

Excel names and named ranges: how to define and use in formulasExcel names and named ranges: how to define and use in formulasApr 11, 2025 am 11:13 AM

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

Standard deviation Excel: functions and formula examplesStandard deviation Excel: functions and formula examplesApr 11, 2025 am 11:01 AM

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

Square root in Excel: SQRT function and other waysSquare root in Excel: SQRT function and other waysApr 11, 2025 am 10:34 AM

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

Google Sheets basics: Learn how to work with Google SpreadsheetsGoogle Sheets basics: Learn how to work with Google SpreadsheetsApr 11, 2025 am 10:23 AM

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

See all articles

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools