


How to extract surnames using common functions in excel_How to extract surnames using common functions in excel
Extracting surnames from Excel sheets efficiently is a common challenge for many office workers who need to process large amounts of data. PHP editor Baicao will introduce to you how to easily extract surnames using common functions in Excel. This article will explain in detail how to use the LEFT, MID and RIGHT functions and guide you step by step to complete the operation, allowing you to easily handle surname-related work and improve office efficiency.
1. In China, surnames always come before the given name, and most of the surnames are one Chinese character. There are fewer compound surnames (such as Shangguan, Ouyang, etc.). The surnames in our data table this time are all non-complex surnames. We will explain in detail how to extract compound and non-complex surnames later.
2. For data with names, it is very simple to get his last name. The first character on the left is. You only need to tell the computer to cut out the first character of the name field and place it in the last name field.
The interception string function LEFT has this ability.
2. Use LEFT to extract the last name
First we understand the LEFT function.
LEFT(text,[num_chars]) The function has two parameters. text is the data to be intercepted. In the function [[]] indicates optional parameters, which means that this parameter can be entered or If not entered, one character will be intercepted by default.
That is, LEFT (text) is equivalent to left (text,1).
In this example, our text is the name of a certain person. First, we enter [=LEFT(]
in the cell and then click the mouse to select the cell of the name. Since only one character is taken, we do not fill in the second parameter, but you can also fill it in. [,1]
After a function ends, you need to add [)]
Then comes the filling. Place the mouse in the lower right corner of the cell, double-click the filling, and then All surnames were taken out.
The above is the detailed content of How to extract surnames using common functions in excel_How to extract surnames using common functions in excel. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Ditch the Calculator: Why and How to Use Excel for All Your Calculations I haven't touched a calculator in ages. Why? Because Microsoft Excel handles all my calculations with ease, and it can do the same for you. Why Excel Trumps a Calculator While

Creating tables in Word, although improved, is still cumbersome and sometimes brings more problems. This is why you should always create tables in Microsoft Excel. Why is it better to create tables in Excel? In short, Word is a word processor, while Excel is a data processor. So Word is not built for the best table creation, but its similar product, Excel. Here are just some of the reasons why creating tables in Excel is better than using Microsoft Word: Although it is surprising that you can use many Excel-like features in Microsoft Word tables, in Excel you

Excel web version features enhancements to improve efficiency! While Excel desktop version is more powerful, the web version has also been significantly improved over the past year. This article will focus on five key improvements: Easily insert rows and columns: In Excel web, just hover over the row or column header and click the " " sign that appears to insert a new row or column. There is no need to use the confusing right-click menu "insert" function anymore. This method is faster, and newly inserted rows or columns inherit the format of adjacent cells. Export as CSV files: Excel now supports exporting worksheets as CSV files for easy data transfer and compatibility with other software. Click "File" > "Export"

Enhance Your Excel Charts: Reducing Gaps Between Bars and Columns Presenting data visually in charts significantly improves spreadsheet readability. Excel excels at chart creation, but its extensive menus can obscure simple yet powerful features, suc

Quick View of AVERAGEIF and AVERAGEIFS Functions in Excel Excel's AVERAGEIF and AVERAGEIFS functions can be used to calculate the average value of a dataset. However, unlike simpler AVERAGE functions, they are able to include or exclude specific values in the calculation. How to use the AVERAGEIF function in Excel Excel's AVERAGEIF function allows you to calculate the average value of a filtered dataset based on a single condition set. AVERAGEIF function syntax The AVERAGEIF function contains three parameters: =AVERAGEIF(x,y,z)

Excel's LAMBDA Functions: An easy guide to creating custom functions Before Excel introduced the LAMBDA function, creating a custom function requires VBA or macro. Now, with LAMBDA, you can easily implement it using the familiar Excel syntax. This guide will guide you step by step how to use the LAMBDA function. It is recommended that you read the parts of this guide in order, first understand the grammar and simple examples, and then learn practical applications. The LAMBDA function is available for Microsoft 365 (Windows and Mac), Excel 2024 (Windows and Mac), and Excel for the web. E

Master Microsoft Excel with these essential keyboard shortcuts! This cheat sheet provides quick access to the most frequently used commands, saving you valuable time and effort. It covers essential key combinations, Paste Special functions, workboo

Quick Links Why Use the Camera Tool?
