Business data analysis from entry to entry (2) Excel basis

1. Introduction to Excel

1. Introduction to Excel

Excel is not only a tool for storing data, but its functions are particularly powerful, and it can even make beautiful dashboards, as follows:
Excel dashboard

You can even use Excel to draw, you can click https://pasokonga.com/index.htm to view, as follows:
Excel drawing

There are many versions of Excel, such as 2003, 2007, 2010, 2016, 2019, etc., which are generally backward compatible, and there may be problems with the compatibility of different systems.
File types mainly include xls, xlsxetc.

The names and locations of the parts of an Excel table are as follows:
Excel overview

Among them, the entire Excel file is a workbook , a worksheet label corresponds to a worksheet , and each grid is called a cell , and data can be input.
One of the common uses of Excel is data storage, but it is not suitable for handling large amounts of data, but the advantage is that it is convenient and fast .

2. Excel basic operation

A very important operation goal of Excel is to reduce repetitive operations .

Suppose there is an order data as follows:
Order data
one row is one piece of data, one column is one attribute, and the unit price of the sale is calculated from the previous data.
General records are arranged in rows and analysis is arranged in columns.

If you need to obtain data for testing and learning, you can directly click Add QQ group Python Geek Tribe963624318 , and download it in the group folder business data analysis from entry to entry .

The summary pivot table based on the order data is as follows:
Order pivot table

You can also visualize the data as follows:
Order data visualization

The basic selection operations for table rows, columns, ranges and cells are as follows:
excel row column select

You can select the desired cell.

The basic input is as follows:
excel basic input

As you can see, the sequence can be filled in automatically;
you can also enter in the same cell to wrap the line, the shortcut key is ALT+Enter.

Generally, data is selected when entering data. Once a table is selected and entered, the previous data will be overwritten;
you can also double-click the cell to switch to the editing state, and you can add, delete, or modify data as needed.
as follows:
excel basic select edit

As you can see, in the editing state, you can also edit in the edit bar.

Common operations of the worksheet are as follows:
excel basic sheet

As you can see, you can add, delete, and edit worksheets. At the same time, you can use the CTRLkeys to achieve multiple selections, and the Shiftkeys to achieve continuous multiple selections, thereby achieving batch additions and deletions.

Two, Excel ranks and data types

1. Ranks and regions

Common drag operations are as follows: As
excel basic drag
you can see, you can move and copy cells, regions, or entire rows and entire columns.
Among them, you do not need to hold the CTRLkey to move , and you need to hold the CTRLkey to copy .

You can also exchange two columns or two rows of data, as follows:
excel basic exchange

Interaction requires holding down the Shiftkey.

It can be filled quickly, and there are multiple filling methods, as follows:
excel fill

Obviously, it can be seen that there are multiple filling methods, which can be selected according to needs;
you can customize the filling sequence, click 文件 → 选项and add according to the instructions.

You can also fill in areas as follows:
excel fill area

There are two filling methods. Obviously the second is faster, press after entering the data CTRL+Enter.

Areas can also define names to facilitate positioning and formulas. The operations are as follows:
excel name area

You can add or delete area naming.

If you need to compare multiple tables, you can add a new window. The window layout and freezing are demonstrated as follows:
excel window

After the new window is created, it is not a new workbook, but a new window that is convenient for viewing multiple tables at the same time for comparison and analysis.

Beautifying the cells can not only make the cells more beautiful, but also highlight the key points, as follows:
excel cell beautify

You can also insert sparklines to display data trends.

2. Data and data types

Excel includes data types such as numeric value, text, date, and time, and various operations can be performed.

The basic operations of numeric data are as follows:
excel datatype num

The operations related to the text are as follows:
excel datatype text

Columns are generally used to read segmented data, but can also be used for data conversion. If the date is of text type, it can be converted to date type.
Date operations are as follows:
excel datatype date

Press CTRL+;to generate the current date.

You can also fill in the date in a variety of ways, as follows:
excel datatype date fill

Three, Excel basic operation

1. Find and Replace

If there is data that needs to be replaced, it needs to be searched based on keywords first, and then replaced.

Ordinary string replacement is as follows:
excel replace normal

Non-string replacements such as style are as follows:
excel replace format

Wildcard replacement is as follows:
excel replace regex

Obviously, you can choose cell matching (only the replaced string is the content of the entire cell will be replaced) and wildcards, which *represent multiple characters and ?represent 1 character , as needed .

You can also search based on comments , as follows:
excel replace comment

Null values ​​can also be found, and all the blank parts can be filled according to this function. For example, the two central regions are the central regions, as follows:
ba excel replace none

As you can see, the blank part can be filled in, and the blank part can be filled in by merging cells.

2. Sort

Many times you need to sort the data.
There are two ways to sort:
(1) Select a column to sort, and there are two ways:
expand the selected area and sort by the currently selected area. The first one should be selected, otherwise the data will be messed up.
(2) Select any cell in a certain column and sort directly.

Sort by single column as follows:
excel order single column

In addition to sorting by a single column, you can also sort by multiple columns. The sorted column is the basis for the later sorting. The latter sorting will not completely disrupt the previous sorting. At the same time, it also supports custom sorting, that is, specify multiple columns for sorting at the same time. When the data in the first column is the same, it is sorted by the second column, and the second column is the same and then sorted by the third column, and so on.
as follows:
excel order multi column

You can also sort according to styles such as color, as follows:
excel order style

As you can see, you can sort according to a custom sequence.

3. Sort insert

A very common application scenario for sort insertion is to print payroll. A header corresponds to the information of an employee, and it is impossible to manually copy it.

The schematic is as follows:
excel order insert

Obviously, it is very technical.

4. Screening

Sometimes we will filter the data according to some conditions and get the data we need.
You can filter by one or more columns, as follows:
Insert picture description here

You can also filter based on other conditions, for example, the sales volume is greater than 2000, and multiple filter conditions can be used in combination, as follows:
excel filter compare

You can also save the filter results to other locations, as follows:
excel filter copy position

It can be seen that by copying unique product categories to the designated area through advanced options, the number of product categories can be clearly obtained.

You can also place filter conditions in the table, and filter out the data that meet the conditions through advanced filters, as follows:
excel filter condition and

At this time, two conditions are used to perform and operation by default , that is, two conditions are met at the same time. If there are multiple rows of filtering conditions, it is an OR operation , and only one row is satisfied, as follows:
excel filter condition or

Guess you like

Origin blog.csdn.net/CUFEECR/article/details/108551790