1. Extract the province, city and county codes from the ID number
Formula: LEFT (ID card number, extract a few numbers)
Extract province code
Extract city code
Extract county code
2. Find function
Formula: VLOOKUP(H4,$O:$P,2)
3. Hometown
Formula: VLOOKUP(LEFT(G8,6)*1,D:E,2,FALSE)
4. Calculation time interval
Calculate Interval Years/Months/Days
Calculate Interval Hours/Minutes/Seconds
Calculate time intervals within 24 hours
Formula: MOD(end time-start time,1)
5. Merge two columns of data into one column
Formula: Parameter 1 & Parameter 2
6. Combine two columns of data into one cell
Formula: PHONETIC(range)
7. Remove the decimal point
Formula: ROUND (parameter, retain several decimal places)
8. Find duplicate values in a set of data
Formula: IF(COUNTIF(A:A,A4&"*")>1,"repeat","no")
9. Scoring function, remove the highest score and the lowest score and calculate the average
Formula: TRIMMEAN(B4:B14,2/11)
10. String replacement hides some characters
Formula: REPLACE(A5,7,8,"********")