Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Georgyneedshelp
 
Posts: n/a
Default Deleting the first row of two duplicates.

I am looking at stars. All the stars are named and I am trying to delete the
ones that duplicated.

Star Name Other Star Name
1 F1
1
2
3 F3
3

It looks a bit like that.

Anyway, need to delete the ones with F1 and F3 in them as they are not as
accurate. Tried using that cpearson code but it deletes the wrong row. Tried
using an IF function - =IF(A20,0,1) and then sorting again so that it sorts
it by Star name and then descending order 1 then 0. Then tried copying this
and pasting special with values only and sorting again. None of these worked.
Please help!

Thanks.

  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default Deleting the first row of two duplicates.

Hi Georgyneedshelp

You can insert a formula like this in your data table and filter and delete the cells you want

=IF(COUNTIF($C$1:$C$13,C2)=1,"Unique",IF(COUNTIF($ C$1:$C$13,C2)=0,"Empty","Duplicate("& COUNTIF($C$1:C2,C2)&")"))

Change the range to yours

DataRefiner can do it for you if you want
http://www.rondebruin.nl/datarefiner.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Georgyneedshelp" wrote in message
...
I am looking at stars. All the stars are named and I am trying to delete the
ones that duplicated.

Star Name Other Star Name
1 F1
1
2
3 F3
3

It looks a bit like that.

Anyway, need to delete the ones with F1 and F3 in them as they are not as
accurate. Tried using that cpearson code but it deletes the wrong row. Tried
using an IF function - =IF(A20,0,1) and then sorting again so that it sorts
it by Star name and then descending order 1 then 0. Then tried copying this
and pasting special with values only and sorting again. None of these worked.
Please help!

Thanks.



  #3   Report Post  
Georgyneedshelp
 
Posts: n/a
Default Deleting the first row of two duplicates.

It still hasn't worked. Hmmmm... Anymore suggestions?

The row with the duplicate star names is in the E column and the thing that
makes me know whether I want to delete them is in the R column. If there is
writing in the R column and it is a duplicate (i.e. the star has two sets of
data for the same star given in the E column) then I want to delete the
entire row.

Thanks!

"Ron de Bruin" wrote:

Hi Georgyneedshelp

You can insert a formula like this in your data table and filter and delete the cells you want

=IF(COUNTIF($C$1:$C$13,C2)=1,"Unique",IF(COUNTIF($ C$1:$C$13,C2)=0,"Empty","Duplicate("& COUNTIF($C$1:C2,C2)&")"))

Change the range to yours

DataRefiner can do it for you if you want
http://www.rondebruin.nl/datarefiner.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Georgyneedshelp" wrote in message
...
I am looking at stars. All the stars are named and I am trying to delete the
ones that duplicated.

Star Name Other Star Name
1 F1
1
2
3 F3
3

It looks a bit like that.

Anyway, need to delete the ones with F1 and F3 in them as they are not as
accurate. Tried using that cpearson code but it deletes the wrong row. Tried
using an IF function - =IF(A20,0,1) and then sorting again so that it sorts
it by Star name and then descending order 1 then 0. Then tried copying this
and pasting special with values only and sorting again. None of these worked.
Please help!

Thanks.




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
Find duplicate rows then deleting them SSHO_99 Excel Worksheet Functions 4 May 4th 07 11:17 AM
Comparing ranges and deleting sktnggtr Excel Worksheet Functions 0 September 13th 05 04:01 PM
Duplicates - deleting to get just unique ones koncept New Users to Excel 3 August 24th 05 06:41 PM
Deleting ALL duplicates using Pearson's code [email protected] Excel Worksheet Functions 2 May 6th 05 01:50 PM
Finding and Deleting duplicates in a column Brian Excel Worksheet Functions 3 February 5th 05 02:19 PM


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

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"