Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 113
Default joining worksheets

I see all these very complicated explanations and procedures for combining
worksheets, but I still can't figure out what to do!
I exported 2 separate contact lists from Outlook into Excel. I want to
combine them and eliminate duplicte entries so that I have one master list to
work from, to update, and then to email to people in my organization to get
more/updated contact information.
I pasted each contact list onto a separate sheet in one worksheet. Please
help from here.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default joining worksheets

Hi Jessica,
Put both list together and run the macro as follow

Dim LastRow2 As Long
Dim TestColumn As String
Dim RowNdx As Long
Dim TopRow As Long
Dim WS As Worksheet
Dim DeleteThese As Range



Set WS = ActiveSheet
TestColumn = "B" '<<<< column to test for duplicates
TopRow = 6 '<<<< top-most row of data to test.

With WS
LastRow2 = .Cells(.Rows.Count, TestColumn).End(xlUp).Row
For RowNdx = LastRow2 To TopRow Step -1
If Application.CountIf(.Range(.Cells(TopRow, TestColumn), _
.Cells(RowNdx, TestColumn)), _
.Cells(RowNdx, TestColumn)) 1 Then
If DeleteThese Is Nothing Then
Set DeleteThese = .Rows(RowNdx)
Else
Set DeleteThese = _
Application.Union(DeleteThese, .Rows(RowNdx))
End If
End If
Next RowNdx
End With
If Not DeleteThese Is Nothing Then
DeleteThese.Delete
End If

End Sub


"Jessica" wrote:

I see all these very complicated explanations and procedures for combining
worksheets, but I still can't figure out what to do!
I exported 2 separate contact lists from Outlook into Excel. I want to
combine them and eliminate duplicte entries so that I have one master list to
work from, to update, and then to email to people in my organization to get
more/updated contact information.
I pasted each contact list onto a separate sheet in one worksheet. Please
help from here.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default joining worksheets

Hi Jessica

If both list have the same layout format, put both list together
and try this formula in C2. Assume that Col A is the name, Col B is the
contact
=COUNTIF($A$2:$A$10,A2)1

this will return TRUE if there are duplicates, then filter for TRUE and
delete the duplicates. Use this if your list is small.

Better still, try Advance Filter via
Select all the data in the list
Go to Data in the menu bar
select Filter Advance Filter
Excel would have select the range for you which is equal to your dataset, if
not
use your mouse to select all the data
Under Action, check Copy to Another location
In Copy to, select a blank cell outside your dataset
check the Unique records only
click OK

This will give you unique entries in the new location, copy this to
where you want it to be.


--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you.


Thank You

cheers, francis










"Jessica" wrote:

I see all these very complicated explanations and procedures for combining
worksheets, but I still can't figure out what to do!
I exported 2 separate contact lists from Outlook into Excel. I want to
combine them and eliminate duplicte entries so that I have one master list to
work from, to update, and then to email to people in my organization to get
more/updated contact information.
I pasted each contact list onto a separate sheet in one worksheet. Please
help from here.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 113
Default joining worksheets

Both you and eduardo write to put the lists together - do you mean just copy
and past ALL the data from both worksheets into one??

Thank you both!

"xlmate" wrote:

Hi Jessica

If both list have the same layout format, put both list together
and try this formula in C2. Assume that Col A is the name, Col B is the
contact
=COUNTIF($A$2:$A$10,A2)1

this will return TRUE if there are duplicates, then filter for TRUE and
delete the duplicates. Use this if your list is small.

Better still, try Advance Filter via
Select all the data in the list
Go to Data in the menu bar
select Filter Advance Filter
Excel would have select the range for you which is equal to your dataset, if
not
use your mouse to select all the data
Under Action, check Copy to Another location
In Copy to, select a blank cell outside your dataset
check the Unique records only
click OK

This will give you unique entries in the new location, copy this to
where you want it to be.


--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you.


Thank You

cheers, francis










"Jessica" wrote:

I see all these very complicated explanations and procedures for combining
worksheets, but I still can't figure out what to do!
I exported 2 separate contact lists from Outlook into Excel. I want to
combine them and eliminate duplicte entries so that I have one master list to
work from, to update, and then to email to people in my organization to get
more/updated contact information.
I pasted each contact list onto a separate sheet in one worksheet. Please
help from here.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default joining worksheets

Hi Jessica

Yes, you are right...copy and paste either one of the sheet onto another.

--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you.


Thank You

cheers, francis










"Jessica" wrote:

Both you and eduardo write to put the lists together - do you mean just copy
and past ALL the data from both worksheets into one??

Thank you both!

"xlmate" wrote:

Hi Jessica

If both list have the same layout format, put both list together
and try this formula in C2. Assume that Col A is the name, Col B is the
contact
=COUNTIF($A$2:$A$10,A2)1

this will return TRUE if there are duplicates, then filter for TRUE and
delete the duplicates. Use this if your list is small.

Better still, try Advance Filter via
Select all the data in the list
Go to Data in the menu bar
select Filter Advance Filter
Excel would have select the range for you which is equal to your dataset, if
not
use your mouse to select all the data
Under Action, check Copy to Another location
In Copy to, select a blank cell outside your dataset
check the Unique records only
click OK

This will give you unique entries in the new location, copy this to
where you want it to be.


--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you.


Thank You

cheers, francis










"Jessica" wrote:

I see all these very complicated explanations and procedures for combining
worksheets, but I still can't figure out what to do!
I exported 2 separate contact lists from Outlook into Excel. I want to
combine them and eliminate duplicte entries so that I have one master list to
work from, to update, and then to email to people in my organization to get
more/updated contact information.
I pasted each contact list onto a separate sheet in one worksheet. Please
help from here.

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
Joining worksheets Khurum Excel Worksheet Functions 3 April 16th 07 03:32 PM
Joining Worksheets Naomi Excel Worksheet Functions 2 July 16th 06 12:18 AM
joining worksheets Brion Excel Worksheet Functions 1 February 3rd 06 02:52 PM
Joining 2 SUMIF's ??? AC-H Excel Discussion (Misc queries) 5 December 3rd 05 05:50 PM
joining to worksheets or filtering not sure of correct terminology MG New Users to Excel 3 January 23rd 05 10:11 PM


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