A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Merging Workbook Table data Based upon Value comparisons



 
 
Thread Tools Display Modes
  #1  
Old January 7th, 2006, 10:01 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default Merging Workbook Table data Based upon Value comparisons

I have two workbook tables (Two different workbooks) with two matching column
names. What I wish to do is to merge values from one table to another, but
ONLY for those records inwhich these two columns have matching values. Would
this be possible?

Jay
  #2  
Old January 7th, 2006, 11:55 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default Merging Workbook Table data Based upon Value comparisons

Are you saying you have two workbooks, or are the tables within one
workbook?

"jayceejay" wrote in message
...
I have two workbook tables (Two different workbooks) with two matching
column
names. What I wish to do is to merge values from one table to another,
but
ONLY for those records inwhich these two columns have matching values.
Would
this be possible?

Jay



  #3  
Old January 8th, 2006, 12:09 AM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default Merging Workbook Table data Based upon Value comparisons

They are in separate workbooks.

"Barb Reinhardt" wrote:

Are you saying you have two workbooks, or are the tables within one
workbook?

"jayceejay" wrote in message
...
I have two workbook tables (Two different workbooks) with two matching
column
names. What I wish to do is to merge values from one table to another,
but
ONLY for those records inwhich these two columns have matching values.
Would
this be possible?

Jay




  #4  
Old January 8th, 2006, 08:49 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default Merging Workbook Table data Based upon Value comparisons

I never did get much of an answer. Is there no one who could shed some light
on this?

Pretty please?

"jayceejay" wrote:

They are in separate workbooks.

"Barb Reinhardt" wrote:

Are you saying you have two workbooks, or are the tables within one
workbook?

"jayceejay" wrote in message
...
I have two workbook tables (Two different workbooks) with two matching
column
names. What I wish to do is to merge values from one table to another,
but
ONLY for those records inwhich these two columns have matching values.
Would
this be possible?

Jay




  #5  
Old January 8th, 2006, 09:32 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default Merging Workbook Table data Based upon Value comparisons

If this example describes your situation....

You have 2 workbooks: Book1 and Book2.
Each workbook contains a sheet, ListSheet, with a list of names.
You want to create a 3rd list which only contains the names common to boths
lists that are in Book1 and Book2.

-------------------------------
Then, you could try this:

Assumptions:
1)Each list has a heading, I'll assume "Names"
2)Each list starts in Cell A1 of the ListSheet
3)Each list has 10 names

The method:
For each list in Book1 and Book2,
B1: Num
B2:B11 (Enter a zero in of those cells)

Select A1:B11
InsertNameDefine
Names in Workbook: NameList
Refers to: (already selected)
Click the [OK] button
Save each workbook

Next:
Open a new workbook
Select cell A1 on any sheet
DataConsolidate
Function: Count
Use Labels in:
--Check: Top Row
--Check: Left Column
Browse to Book1.xls.
Reference : (will display the path to the workbook...Append NameList to that
path)
Click the [Add] button
Repeat for Book2.xls
Uncheck: Create Links to source data
Click the [OK] button

Excel will create a list of all names used in either list along with the
count of those names.
Names with a count of 2 are in both lists.

Something you could use?


***********
Regards,
Ron

XL2002, WinXP-Pro


"jayceejay" wrote:

I never did get much of an answer. Is there no one who could shed some light
on this?

Pretty please?

"jayceejay" wrote:

They are in separate workbooks.

"Barb Reinhardt" wrote:

Are you saying you have two workbooks, or are the tables within one
workbook?

"jayceejay" wrote in message
...
I have two workbook tables (Two different workbooks) with two matching
column
names. What I wish to do is to merge values from one table to another,
but
ONLY for those records inwhich these two columns have matching values.
Would
this be possible?

Jay



  #6  
Old January 8th, 2006, 11:28 PM posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: n/a
Default Merging Workbook Table data Based upon Value comparisons

Ron:

Thank you so much for your efforts. This isn't PRECISELY what I had in mind
but it is close enough for me to fashion a solution. I APPRECIATE what you
have done for me!

Jay

"Ron Coderre" wrote:

If this example describes your situation....

You have 2 workbooks: Book1 and Book2.
Each workbook contains a sheet, ListSheet, with a list of names.
You want to create a 3rd list which only contains the names common to boths
lists that are in Book1 and Book2.

-------------------------------
Then, you could try this:

Assumptions:
1)Each list has a heading, I'll assume "Names"
2)Each list starts in Cell A1 of the ListSheet
3)Each list has 10 names

The method:
For each list in Book1 and Book2,
B1: Num
B2:B11 (Enter a zero in of those cells)

Select A1:B11
InsertNameDefine
Names in Workbook: NameList
Refers to: (already selected)
Click the [OK] button
Save each workbook

Next:
Open a new workbook
Select cell A1 on any sheet
DataConsolidate
Function: Count
Use Labels in:
--Check: Top Row
--Check: Left Column
Browse to Book1.xls.
Reference : (will display the path to the workbook...Append NameList to that
path)
Click the [Add] button
Repeat for Book2.xls
Uncheck: Create Links to source data
Click the [OK] button

Excel will create a list of all names used in either list along with the
count of those names.
Names with a count of 2 are in both lists.

Something you could use?


***********
Regards,
Ron

XL2002, WinXP-Pro


"jayceejay" wrote:

I never did get much of an answer. Is there no one who could shed some light
on this?

Pretty please?

"jayceejay" wrote:

They are in separate workbooks.

"Barb Reinhardt" wrote:

Are you saying you have two workbooks, or are the tables within one
workbook?

"jayceejay" wrote in message
...
I have two workbook tables (Two different workbooks) with two matching
column
names. What I wish to do is to merge values from one table to another,
but
ONLY for those records inwhich these two columns have matching values.
Would
this be possible?

Jay



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to Improve Code Copying/Pasting Between Workbooks David General Discussion 1 January 6th, 2006 03:56 AM
PST file has reached maximum size Jeff C General Discussion 2 October 6th, 2005 01:35 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Worksheet Functions 7 September 3rd, 2005 03:47 PM
Help again from Ken Snell (Query) Randy Running & Setting Up Queries 22 August 29th, 2005 08:15 PM
Multiple Options Group Patty Stoddard Using Forms 19 August 4th, 2005 02:30 PM


All times are GMT +1. The time now is 10:06 PM.


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