Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default merging or cancantinating worksheets

I'd create a new worksheet.
Copy both date columns to column A of that new worksheet
(but only one header row)

Then I'd use data|filter|advanced filter to get a list of unique dates
(eliminating duplicates)
Debra Dalgleish has a nice instruction page at:
http://www.contextures.com/xladvfilter01.html#FilterUR

Then use a bunch of =vlookup()'s to retrieve the values from the first sheet and
the second sheet.

Again, Debra Dalgleish's site:
http://www.contextures.com/xlFunctions02.html



"J.B. Bobbitt" wrote:

Hi all;

I need help merging worksheets, as follows:

I've got two workseets: Sheet1, Sheet2
Sheet1 ColA are dates; ColB through ColD are filed with numerical data
Sheet2 ColA are dates; ColB through COlD are filed with numerical data
The date values in Sheet1 and Sheet2 may or may not be the same; some
entries will be different
The data values in ColB through COlD in Sheet1 are different that the data
in COlB though ColD in Sheet2

I want to end up with ONE worksheet with ONE date column and 6 data columns,
with the data columns having no entries where necessary.

I believe this is called "cancantination" (?). In SAS, it went:

proc merge;
by date;

Is there an Excel function or easy way to this in VBA?

Once again, thanks a heap.

-jbb

--
J.B.Bobbitt


--

Dave Peterson
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
merging worksheets rsjmk Excel Discussion (Misc queries) 1 October 31st 07 07:43 PM
Merging worksheets pheasnt plucker Excel Discussion (Misc queries) 1 March 17th 06 10:58 AM
Merging Worksheets Michael Ryle Excel Discussion (Misc queries) 1 March 10th 06 05:30 AM
Merging of Worksheets David Smithz Excel Discussion (Misc queries) 1 March 6th 06 06:51 PM
Merging Different worksheets John Excel Discussion (Misc queries) 0 February 10th 05 03:15 PM


All times are GMT +1. The time now is 07:13 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"