PC Review


Reply
Thread Tools Rate Thread

Delete unwanted row after merging duplicating cells

 
 
tarone@gmail.com
Guest
Posts: n/a
 
      7th Dec 2006
I merge cell in col b and now I want to delete duplicate records.


What is the formula if i want to delete unwanted rows e.g

Available file

COL A COLB
1 John Kim, Capcano Rd , 92821
1 Capcano Rd
1 92821
2 Peter, Mike
3 Mason Ko, 898934, california, Excellent, Yes
3 898934
3 california
3 Excellent
3 Yes
4 Tomorow
5 Welcome, Michael
5 Micael
6 Jonny, Based
6 based

Want to make it like this

COL A COLB
1 John Kim, Capcano Rd , 92821
2 Peter, Mike
3 Mason Ko, 898934, california, Excellent, Yes
4 Tomorow
5 Welcome, Michael
6 Jonny, Based

Help will be highly appreciated

 
Reply With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      7th Dec 2006
Assuming source data in cols A and B from row1 down

Put in C1:
=IF(A1="","",IF(COUNTIF($A$1:A1,A1)>1,"",ROW()))

Put in D1:
=IF(ROW()>COUNT($C:$C),"",INDEX(A:A,SMALL($C:$C,ROW())))
Copy D1 to E1

Then select C1:E1, copy down to the last row of data in cols A and B.
Cols D and E will return the required results, all neatly bunched at the
top.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I merge cell in col b and now I want to delete duplicate records.
>
>
> What is the formula if i want to delete unwanted rows e.g
>
> Available file
>
> COL A COLB
> 1 John Kim, Capcano Rd , 92821
> 1 Capcano Rd
> 1 92821
> 2 Peter, Mike
> 3 Mason Ko, 898934, california, Excellent, Yes
> 3 898934
> 3 california
> 3 Excellent
> 3 Yes
> 4 Tomorow
> 5 Welcome, Michael
> 5 Micael
> 6 Jonny, Based
> 6 based
>
> Want to make it like this
>
> COL A COLB
> 1 John Kim, Capcano Rd , 92821
> 2 Peter, Mike
> 3 Mason Ko, 898934, california, Excellent, Yes
> 4 Tomorow
> 5 Welcome, Michael
> 6 Jonny, Based
>
> Help will be highly appreciated
>



 
Reply With Quote
 
Max
Guest
Posts: n/a
 
      15th Dec 2006
Email received from OP
-------
Date: Fri, 8 Dec 2006 17:22:37 -0800
From: "tarone" ..
To: "Max" <(E-Mail Removed)>
Subject: Re: Delete unwanted row after merging duplicating cells
thanks for your help.
it saved lot of time
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicating cells with formula's Storm_21_924 Microsoft Excel Discussion 3 13th Aug 2009 10:31 PM
Duplicating Cells across worksheets Ted K Microsoft Excel Misc 2 11th Aug 2008 11:36 PM
Self Duplicating Desktop Icons and Unwanted search engine =?Utf-8?B?QWxsZW4=?= Windows XP General 9 17th Jan 2007 08:52 PM
Duplicating data in cells erusk Microsoft Excel Worksheet Functions 1 27th Aug 2004 01:10 AM
Merging Cells and Merging Data =?Utf-8?B?SmZlcmd5?= Microsoft Excel Misc 2 12th Mar 2004 06:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:11 PM.