Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default combining data with a common cell value

I don't know what this is called but I have two worksheets, column A in
worksheet a is a subset of column A in worksheet b. I want to find all of
the values in common in column A and move the row with common A values from
worksheet b to that matching row in worksheet a. Or end up with a third
worksheet with this effect. Any help?

--
Terry
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default combining data with a common cell value

I don't know what this is called but I have two worksheets, column A
in worksheet a is a subset of column A in worksheet b. I want to find
all of the values in common in column A and move the row with common A
values from worksheet b to that matching row in worksheet a. Or end
up with a third worksheet with this effect. Any help?


To get started, you might consider something like this...

Create a new worksheet. In A1 of the new worksheet, put (all in one line):
=IF(COUNTIF(b!$A:$A,a!$A1)0,
VLOOKUP(a!$A1,b!$A:$Z,COLUMN(),FALSE),a!A1)

Select A1 and use
Edit Copy

Select the entire range of data on the new sheet and use
Edit Paste

Modify to suit.
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
formula locates common data in a cell and drops them in other shee Barry Walker Excel Discussion (Misc queries) 9 August 14th 07 04:32 PM
Combining worksheets with common column but different number of ro Tony Excel Worksheet Functions 3 July 28th 07 04:38 AM
Combining data from multiple cells into one cell. Steelsilk Excel Worksheet Functions 4 May 17th 07 06:54 PM
combining excel worksheets with common columns robertlewis Excel Discussion (Misc queries) 6 October 9th 06 01:57 AM
Combining rows of data that have one cell in common J. Gutierrez Excel Discussion (Misc queries) 0 November 22nd 05 03:20 PM


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