Managing data can be very easy if we can populate Excel cells automatically. This article will show you how we can auto populate Zip Codes in Excel.
How to Auto Populate Zip Codes in Excel: 3 Simple Ways
There are some convenient ways to extract Records on criteria from a large dataset. Some of the easy ways are shown in this article.
1. Auto Populate Zip Codes Using VLOOKUP Function
First, let us have a dataset. This dataset contains 4 columns. Using the VLOOKUP function, we will input cells from column Serial Number and populate in the other 3 columns i.e. Name, Zip Code, and State.
First, we have to create a Drop-Down list.
For the Drop-Down list, select all the cells in Serial Number. Then, select the Name Box and give a suitable name. We named it Customer.
Now, copy all the data from the Serial Number column and select Data Validation from the Data tab.
You have to allow the List option and write the below formula in the Source box.
Then, press OK.
The Drop-Down box will look like this.
After that, write the following formula in the H5 cell and press ENTER.
Thus, we will get Luke in H5 who is attributed to serial number 1.
For Zip Code,
For State, use the following formula.
Thus, Zip Codes and other fields are auto populated in Excel.
Note: in these formulas for the VLOOKUP function, we have used different column_index_numbers i.e. 2,3,4.
Read More: How to Find ZIP Code from Address in Excel
2. INDEX and MATCH Functions to Auto Populate Zip Codes
First, create a Drop-Down box as shown previously. Then follow the following procedure.
Write the following formula in H5 and press ENTER.
To get Zip Code, write the following formula in H6 and press ENTER.
To know which State the person belonged to, write the following formula in H7 and press ENTER.
Note: these three equations differ only in lookup_value. You can use it as it suits you.
- How to Format Zip Code to 5 Digits in Excel
- Sort Data by Zip Code in Excel
- How to Concatenate ZIP Codes in Excel
- Create Zip Code with Excel Formula
3. HLOOKUP to Auto Populate Zip Code
The HLOOKUP function is used to find and retrieve data from horizontal tables.
That’s why, to apply this method, we have to change the Dataset horizontally.
First, align your Dataset horizontally and create a Drop-Down list in E9.
Then, write the following formula in E10 and press ENTER to get the Name attributed to the serial number.
For Zip Code, write the following formula in E11 and press ENTER.
And, to find out the State the person belongs to, use the following formula and press ENTER.
Note: In these formulas, we used different row_index_num i.e. 2,3,4.
Read More: How to Lookup ZIP Code in Excel
Download Practice Workbook
You can download and practice from this workbook.
That’s all for the article. We’ve tried to show you ways to auto populate zip codes in Excel. If you have any queries, please do leave a comment. For other Excel articles do check our site.