This article will introduce you to several practical Excel skills

This article introduces several practical Excel skills to you, let's take a look.

Tip 1: TRIMMEAN removes the maximum and minimum values ​​and calculates the average

Case description: After removing the two values ​​with a large difference of 65 and 12, calculate the average value of all personnel

Function formula:

=TRIMMEAN(F2:F8,2/7)

Function Description:

1. The TRIMMEAN function is the average function after removing the large difference. There are mainly 2 parameters: the first parameter is the data interval, and the second parameter is the value we need to remove.

2. The value of 2/7 in the second parameter means that 2 values ​​are removed, and 7 means that there are 7 pieces of data in total. That is, take the average of 7 data and remove the maximum and minimum values.

136e596198396214d2c57a2a2e017ee9.jpeg

Skill 2: Multi-condition data query

Case description: In the case of the same name, query the corresponding sales through the job number and department.

Function formula:

LOOKUP(1,0/(A1:A7=F4)*(C1:C7=G4),D1:D7)

Case description:

The multi-condition query of the LOOKUP function is the same as the normal query. Multi-condition query only needs to use * in the second parameter to connect multiple condition values. The query area of ​​the third parameter is unchanged. It is much simpler than the VLOOKUP function.

bed14334caa20568f578ffab157cd2d7.jpeg

Tip 3: How to use the VLOOKUP function to make dynamic charts. The renderings are as follows:

d2f4c646c6557617cd7c12dc497c14d1.jpeg

As shown in the figure above, we make a histogram based on the performance appraisal results that each person does not have. When we drop down to select a different name, the chart will automatically change and update. This is easier to set up than slicers. Let's learn how to make it.

Step 1: Make data validity according to the data source, and make a drop-down menu option for the name. Select cell A11, click Data—Data Validity—Select Sequence Table, and enter Source=$A$3:$A$7. The operation is as follows:

b69100dd0dd43cc7c2ece3fb3e2a3f67.jpeg

Step 2: In row B11-G11, use the vlookup function to match the personnel data from January to June according to the changed name in cell A11. In this way, when the name changes, the corresponding personnel data will also change automatically, as shown in the following figure:

ca68d01b5ed1d4bbf266fb431e367e64.jpeg

Function formula:

=VLOOKUP($A11,$A$2:$G$7,COLUMN(B11),0)

Functional Analysis:

The method of using the VLOOKUP function and the column fetch function together is used here. According to the third parameter column, the column we need to find is automatically returned, and the data of the month we need to find is found.

Step 3: Make the chart we need based on the data area found by the VLOOKUP function. This way, if we adjust the name of the dropdown, the chart will automatically change. As follows:

8fbdcc5fa3ce095246f5d359868a1fc4.jpeg

The above are a few practical Excel tips introduced to you today, let’s go and try.

Guess you like

Origin blog.csdn.net/qq_40427481/article/details/130010956