How to Use VLOOKUP to Copy Address Details Between Excel Sheets
Question details
The user needs to retrieve specific address details, including postal codes and suburbs, from one worksheet and populate them into another by matching a unique VIP reference number.
- Product
- Excel / WPS Spreadsheet
- Device & OS
- not provided
- Scenario
- Merging customer or VIP location data that is spread across multiple worksheets using a common identifier.
- Observed behavior
- To successfully populate the address, postal code, and suburb columns in the destination sheet automatically using a lookup formula.
Ensure that the VIP reference number exists in both sheets and is located in the very first column of your source data range, as VLOOKUP only searches the leftmost column.
Use the VLOOKUP Function to Retrieve Data Across Sheets
Apply the VLOOKUP function to look up the VIP reference number in your source sheet and pull the corresponding address fields into your target sheet.
The VLOOKUP function is designed to search for a specific value in the first column of a data range and return a value in the same row from another column. Its syntax is =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]). By referencing different column index numbers, you can pull multiple pieces of data from a single reference key.
In your destination sheet (e.g., Sheet2), identify the cell containing the VIP reference number you want to match, such as cell A2.
Select the empty address cell in Sheet2 and type =VLOOKUP(A2, Sheet1!A:D, 2, FALSE). This tells the formula to search for the value of A2 in columns A through D of Sheet1, and return the value from the 2nd column.
In the next column for the postal code, enter =VLOOKUP(A2, Sheet1!A:D, 3, FALSE). The '3' indicates it should pull data from the 3rd column of the source range.
In the suburb column, enter =VLOOKUP(A2, Sheet1!A:D, 4, FALSE) to retrieve the information from the 4th column.
Highlight the three cells containing your new formulas, click and hold the fill handle (the small square at the bottom-right corner of the selection), and drag it down to apply the formulas to the rest of your list.
Use WPS Spreadsheet to Effortlessly Merge Cross-Sheet Data
WPS Spreadsheet fully supports advanced functions like VLOOKUP, making it simple to reference and merge data across multiple worksheets. It provides intuitive formula hints and seamless compatibility with Microsoft Excel.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your cross-sheet address data.
- 2. Access the Function Wizard: Navigate to the Formulas tab, click 'Insert Function', and search for VLOOKUP.
- 3. Fill out the arguments: Use the visual dialog box to select your lookup value, specify your source table array, input the column index, and select FALSE for an exact match.

Frequently Asked Questions
Why does my VLOOKUP formula return an #N/A error?
The #N/A error typically occurs when the lookup value (VIP reference number) cannot be found in the first column of the source data. This can be caused by trailing spaces, mismatched formatting (e.g., a number formatted as text), or simply because the value doesn't exist in the source sheet.
Can I use VLOOKUP if the reference key is not in the first column?
No, VLOOKUP requires the reference key to be located in the leftmost column of your table array. If your lookup column is situated to the right of your target data, you should use a combination of the INDEX and MATCH functions or the XLOOKUP function instead.
How do I prevent my source table reference from changing when I copy the formula down?
If you are selecting a specific range instead of whole columns (e.g., A1:D100), you must make it an absolute reference by pressing the F4 key. This changes the reference to $A$1:$D$100, locking the range so it does not shift when you copy the formula to other rows.




