Combine two spreadsheets with Different column headings

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I combine two spreadsheets of contacts and make one spreadsheet
conform to the structure of the other. Both sheets have the same data type,
but I don't want to have to cut and paste and move columns around in the
sheet or delete unwanted columns in the sheet.

Is there a way that I can just bring them together and have the one format
itself to the other?
 
Angela

"Spreadsheets" are two workbooks or two worksheets in one workbook?

I, for one, would need more detail on what your layout is on each sheet before
attempting any advice.

Different column headings may pose a problem but no way to know.


Gord Dibben Excel MVP
 
OK - the one worksheet is an Outlook export of contacts. The other worksheet
in a different file is contacts that i use to just do mailing so i don't need
all of the columns that are in the Outlook sheet. In addition, I have
changed column names. So out of the 20 or so columns in the Outlook export,
I only need about 8 - so when I copy contacts from the Outlook export, I want
it to just go in to the columns as I have it set it on the second worksheet.
 
In master Outlook Contacts sheet(the one with 20 columns) hide the columns you
don't want then select visible cells only and copy those over to the smaller
sheet with the 8 columns?


Gord
 
OK - thank you so much Gord. That sounds like it will work just fine. How
do you select visible cells only?
 
Angela
Let's call one file Outlook and the other file Other. You say you want
some of the data from the Outlook sheet copied to the Other sheet. First
off, copy the sheet from Outlook file to the Other file. That's easier to
work with and you can always delete the Outlook sheet later. Now tell us
what you want with specifics. Something like :
Copy column A from Outlook to column D of Other.
Copy column E of Outlook to column B of Other.
And so forth.
And so forth.
Once we have that it is no problem to write you a macro procedure to do what
you want. HTH Otto
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top