One: data extraction
Data extraction refers to retaining part of the information of some fields in the original data table and combining them into a new field.
It can be part of the information of a field-- field separation ; it can also be a combination of several fields into a new field-- field merger ; it can also be a field that does not exist in the original data table but has fields in other data tables, effective The match-up field matches .
a: column by field
1: Menu method. Data---Separation--Separation Characters Columns are separated by the same separator.
2: Functional method: left and right functions
b: field merge
Using the concatenate function and the "&" operator
eg:
in,
The formula of D13 is: =A13&"The lateness ratio is"&TEXT(B13,"0%"). If the Text function is not used, the basic data in the cell will be displayed, that is, 10% will become 0.1.
The formula of E12 is: =CONCATENATE(A12,"late",B12,"time")
c: field match
eg: Knowing the data in Table 1, get the job title in Table 2
Table 1:
Table 2:
Two: data calculation
a: Simple calculation: The field can be calculated by simple arithmetic operations such as addition, subtraction, multiplication, and division.
b: Function calculation is complex calculation relative to simple calculation
1: Average and Sum
2: Addition and subtraction of dates
Among them: the formula of C16 is: =DATE(YEAR(B16)+3,MONTH(B16)+1,DAY(B16)+5).
Date function:
3: Use the Dateif function to calculate the length of service (this function is installed in the complete installation, but not in the typical installation, but it does not affect the use, just enter the function directly)
The formula for D23 is: =DATEDIF(B23,B24,"YM").
Dateif function usage:
Three: data grouping
Four: data conversion
data table row and column interchange -- using special paste
Translates to:
Three ways to implement Paste Special:
1: Start--Clipboard--Paste--Paste Special
2: Ctrl+Alt+V, the Paste Special dialog box will also pop up, check the Transpose checkbox.
3: Paste the data directly in other areas, then a drop-down menu of "Paste" will be displayed in the lower right corner of the paste area, click the drop-down menu, and select Transpose Paste.
Paste Special Features List:
Conversion between data entry methods for multiple-choice questions
eg1 :
Among them, the formula of G41 is: =IF(ISNUMBER(HLOOKUP(2,A41:C41,1,FALSE)),1,0),
The formula for C41 is: =IF(ISNUMBER(HLOOKUP(3,A41:C41,1,FALSE)),1,0)
The formula for D42 is: =IF(ISNUMBER(HLOOKUP(4,A42:C42,1,FALSE)),1,0)
Hlookup, if the value you are looking for cannot be found, it will return "#N/A", and when judged by the isnumber function, it will be false.
eg2:
The formula of B47 is: =IF(ISNUMBER(SEARCH("2",B47)),1,0)
The formula for D47 is: =IF(ISNUMBER(SEARCH("4",B47)),1,0)
The formula for A48 is: =IF(ISNUMBER(SEARCH(1,B48)),1,0)
SEARCH function: