Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default trying to merge historical and current data using a common id fiel

I need helping merging historical data with current data. The data in the
two workbooks is similar but not identical but both have a common id field.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default trying to merge historical and current data using a common id fiel

Look in excel help at the vlookup function or the lookup function.

--
Regards,
Tom Ogilvy

"leedelee" wrote in message
...
I need helping merging historical data with current data. The data in the
two workbooks is similar but not identical but both have a common id

field.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default trying to merge historical and current data using a common id fiel

Hi,
Maybe you can post the format of both workbooks? When you say two workbooks,
is this just two worksheets is there only two worksheets involved? Maybe the
headers would be enough to work with from the worksheets?

Thanks,

"leedelee" wrote:

I need helping merging historical data with current data. The data in the
two workbooks is similar but not identical but both have a common id field.

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default trying to merge historical and current data using a common id

The historical data contains multiple rows I need to merge which doesn't seem
to work well with Vlookup. When I try it I only get data from the first
occurance.

Thanks
leedelee

"Tom Ogilvy" wrote:

Look in excel help at the vlookup function or the lookup function.

--
Regards,
Tom Ogilvy

"leedelee" wrote in message
...
I need helping merging historical data with current data. The data in the
two workbooks is similar but not identical but both have a common id

field.

Thanks




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default trying to merge historical and current data using a common id

Question... Do you have instances where one ID will exist many times in both
the historical data and in the current data? That is can ID# 1234 exist more
than once in the historical sheet and more than once in the current sheet? If
not then you can use Vlookup. You are just doing it in the wrong direction.
Where you have multiple instances of the ID you want to look up the unique
instances of the ID in the other sheet... If it is a many to many
relationship then this gets really ugly...

HTH

"leedelee" wrote:

The historical data contains multiple rows I need to merge which doesn't seem
to work well with Vlookup. When I try it I only get data from the first
occurance.

Thanks
leedelee

"Tom Ogilvy" wrote:

Look in excel help at the vlookup function or the lookup function.

--
Regards,
Tom Ogilvy

"leedelee" wrote in message
...
I need helping merging historical data with current data. The data in the
two workbooks is similar but not identical but both have a common id

field.

Thanks




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
In Excel 07, how do I merge two sprdshts with a common column? aleve21 Excel Worksheet Functions 1 May 6th 09 05:32 PM
how can I check the current owner of the file stored in a common D INRIDisciples Excel Discussion (Misc queries) 0 November 28th 07 02:07 PM
How do I merge 2 excel spreadsheets containing some common info? SOS Excel Worksheet Functions 1 November 7th 05 05:02 AM
Excel: how to merge data from 2 workbooks with 1 col. in common? Cesare Excel Discussion (Misc queries) 2 June 24th 05 11:14 PM
Auto Importing of text fiel data Mike Nettleingham Excel Programming 0 September 16th 03 12:19 AM


All times are GMT +1. The time now is 09:24 AM.

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

About Us

"It's about Microsoft Excel"