A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
You can use the VLOOKUP function to match cells in another sheet. Here's how you can do it:
VLOOKUP function - Microsoft Support
- In Sheet2, select the cell where you want to display the matching data.
- Type the following formula: =VLOOKUP(A2,Sheet1!A:B,2,FALSE)
- Replace "A2" with the cell reference of the first name in Sheet2.
- Replace "Sheet1!A:B" with the range of cells in Sheet1 that contains the names and information. Make sure to include all columns that you want to display.
- Replace "2" with the column number of the information you want to display. For example, if the information is in the second column, use "2".
- Press Enter to display the matching data.
The VLOOKUP function will search for the name in Sheet1 and return the corresponding information. If the name is not found, it will return an error. You can copy the formula to other cells in Sheet2 to match all the names.