ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   How do I use auto fill to add information from an existing source? (https://www.excelbanter.com/new-users-excel/212917-how-do-i-use-auto-fill-add-information-existing-source.html)

Jamie Thompson[_2_]

How do I use auto fill to add information from an existing source?
 
I am trying to figure out how to use some type of auto fill. What I have to
do is put in a customer name and then I need to have the address, city,
state, zip and phone number automatically fill in. How would I do that?

Max

How do I use auto fill to add information from an existing source?
 
Assume Sheet2's cols A to F is the existing reference, where col A contains
the names, cols B to F contain the other info, eg: address, city, state, zip
and phone number

In Sheet1,
you have the names listed in A2 down
Put in B2:
=IF($A2="","",VLOOKUP($A2,Sheet2!$A:$F,COLUMNS($A: A)+1,0))
Copy B2 across to F2, fill down as far as required
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"Jamie Thompson" wrote:
I am trying to figure out how to use some type of auto fill. What I have to
do is put in a customer name and then I need to have the address, city,
state, zip and phone number automatically fill in. How would I do that?



All times are GMT +1. The time now is 02:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com