Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default vlookup to copy data from another tab

I have two tabs in spreadsheet. MAIN & THIRD PARTY I'm trying to update
third party contact information from THIRD PARTY to MAIN by entering a POST
CODE (ZIP CODE) into MAIN and for the formula to search the THIRD PARTY tab
and return the name, address and contact info there.

Basic info in THIRD PARTY covers NINE columns that should be copied and
transferred to MAIN if the post code matches.

I can get it to look but not to search the columns for the variable. I have
sorted the spreadsheet into into order. Thanks in advance fro your help.

David
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default vlookup to copy data from another tab

Are you using VLOOKUP function?

Which column is the Postal Code in?

Must be first column for VLOOKUP.

Show us the formula you are using.

To return 8 columns of info based on Postal Code you will need 8 VLOOKUP
formulas per row.


Gord Dibben MS Excel MVP


On Tue, 16 Mar 2010 15:27:02 -0700, davie670
wrote:

I have two tabs in spreadsheet. MAIN & THIRD PARTY I'm trying to update
third party contact information from THIRD PARTY to MAIN by entering a POST
CODE (ZIP CODE) into MAIN and for the formula to search the THIRD PARTY tab
and return the name, address and contact info there.

Basic info in THIRD PARTY covers NINE columns that should be copied and
transferred to MAIN if the post code matches.

I can get it to look but not to search the columns for the variable. I have
sorted the spreadsheet into into order. Thanks in advance fro your help.

David


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default vlookup to copy data from another tab

Try something like this.

On sheet1 select 8 cells in the row you want the info to display.
Enter this formula and while still selected commit with Ctrl + Shift +
Enter, (Array-Enter). Excel will put curly brackets, { } around the
formula. Don't put them in yourself.


=VLOOKUP(A1,Sheet2!E1:M20,{2,3,4,5,6,7,8,9},0)

Where A1 is the zip code on sheet1 you want to lookup.
Where column E on sheet2 is a list of all the zip codes, and columns F to M
hold the information to be returned. Down 20 rows in this example.

If you need to make changes to the formula, you will need to reselect all
eight cells, make the change and Array-Enter again.

As Gord says, would be good to see what formula you are trying along with a
bit more info on the lay out.

HTH
Regards,
Howard

"davie670" wrote in message
...
I have two tabs in spreadsheet. MAIN & THIRD PARTY I'm trying to update
third party contact information from THIRD PARTY to MAIN by entering a
POST
CODE (ZIP CODE) into MAIN and for the formula to search the THIRD PARTY
tab
and return the name, address and contact info there.

Basic info in THIRD PARTY covers NINE columns that should be copied and
transferred to MAIN if the post code matches.

I can get it to look but not to search the columns for the variable. I
have
sorted the spreadsheet into into order. Thanks in advance fro your help.

David



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup copy down Davidm Excel Discussion (Misc queries) 1 February 15th 10 10:05 PM
vlookup copy down Luke M Excel Discussion (Misc queries) 0 February 15th 10 09:55 PM
How do I copy a vlookup formula without changing the data range? VickyL872 Excel Worksheet Functions 2 May 27th 08 06:45 PM
PLEASE HELP - VLOOKUP COPY I.C.E. Excel Discussion (Misc queries) 3 October 11th 06 11:41 AM
Copy VLOOKUP Formula EMarre Excel Discussion (Misc queries) 4 October 21st 05 04:05 PM


All times are GMT +1. The time now is 03:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"