How to automatically display names when entering code in Excel
When working with Excel name list tables, how many people in a table will be very much and what if you want to find that person's information? It is not feasible to search manually for each name. The method using Ctr + F key and entering the name of the employee who wants to find information is also chosen by many people. But this case only applies to tables that do not have the same name. So how to find the quick information of anyone in the name table on Excel?
In this case, we can combine the IF function and the Vlookup function. Then we will assign each person in the table a separate code. And when entering any code, the person's information will automatically appear. So managing employees, or students on Excel, will be much easier.
- How to combine Sumif and Vlookup functions in Excel
- How to use the SUMIF function in Excel
- How to use Vlookup function in Excel
How to automatically display names when entering code in Excel
We will work with student tables as shown below. The requirement is to have a student code in Table 2, entering the code in Table 1 will automatically show the student name with that code.
Step 1:
In the Name column in Table 1, we will enter the formula below and press Enter = IF (B4 = '' '', '' '', VLOOKUP (B4, $ F $ 4: $ G $ 7.2,0 )) .
Inside:
- B4 is the student code column in Table 1.
- F4 is the student code column in Table 2.
- G7 is the last name column in Table 2.
- $ Character to fix column or row in Excel table.
When pressing Enter, we will get the function symbol in the table as shown below.
Step 2:
Next, you highlight the Code and column columns. They are named in Table 2 for reference data for the formula. Then, place the mouse pointer in the formula entered in Table 1, and then drag it down to the lower cell to match the number of students to copy the Excel formula .
Thus, the formula for combining IF and Vlookup has been applied to all cells in the Last Name column in Table 1.
Step 3:
Now in Table 1, press the M1 code in the Code column and press Enter , immediately the student name associated with that code will be displayed in the Last name column in Table 1.
Finally, you just need to enter the code again, or drag the results to the remaining cells to complete the name table. Student codes and names will also be automatically displayed.
By combining such IF and VLupup functions, displaying information in Excel data tables is much faster and simpler. We also do not need to manually detect, or find again with the case of the same name. The student name will automatically be displayed according to the student code assigned.
See more:
- How to use AVERAGEIF function in Excel
- This is a simple way to find and delete Hyperlink in Excel
- How to use the LEN function in Excel
I wish you all success!
You should read it
- How to use Lookup function in Excel
- How to combine Vlookup function with If function in Excel
- How to use Hlookup function on Excel
- LOOKUP function searches in Excel
- How to combine Vlookup function with Left function
- How to use the LOOKUP function in excel?
- Basic Excel functions that anyone must know
- Look up data in Excel tables: Replace VLOOKUP with INDEX and MATCH
May be interested
- Instructions on how to automatically open a Workbook when you open Excelif you are an office worker, your daily work requires regular use of excel. suppose in the case if you often use a spreadsheet. instead of spending every day opening excel and opening the excel spreadsheet, you can set up automatically opening the excel spreadsheet you want to use every time you open excel.
- How to arrange names in alphabetical order in Excela complete and correct excel table if you have a product name or a full name is added to the alphabetical order. so how to name in alphabetical order on excel?
- Latest Ro Ghoul Code 2021 and how to entercode ro ghoul allows players to get yen and rc just by entering for free in the game. these codes work by simply entering them into the chat table in the game to be able to receive the gift corresponding to the code.
- How to separate first and last name in excelhow to separate names in excel? this may seem simple but not everyone knows?
- How to limit the value entered by Data Validation Exceldata validation on excel is a feature that will help users create data entry limits on excel. when entering that limit number you will receive a notification.
- Details on how to fix Display entering sleep Mode errorif you want to fix the display entering sleep mode error, don't ignore tipsmake's information!
- How to split first and last names into 2 columns in Excelhow to split first and last names into 2 columns in excel. in the process of compiling data, sometimes you need to split the first name column into two first and last column columns to serve different purposes, for example, to sort the list by alpha b. thuthuatphanmem.vn will be directed.
- How to Change from Lowercase to Uppercase in Excelmicrosoft's excel spreadsheet program has several functions to make your text type-case consistent. if you have a series of names that is in the lowercase, you can use 'flash fill' function to capitalize names in excel 2013. if you need...
- How to delete smart tags in Excelsmart tags can be very useful in excel to quickly change the actions a spreadsheet performs on data. it appears automatically when working in excel but you can delete each of these smart tags if not used.
- How to automatically calculate and copy formulas in Excelautomatically copy formulas when adding rows in excel to help users calculate more easily.