Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
gwc gwc is offline
external usenet poster
 
Posts: 62
Default Delete rows takes forever

a1.a188000 contain values.

I type =if(a2=a1,"dupl","") in b2
I copy that formula and paste it in B2.B188000
I select col b
I do FIND ALL dupl
It finds 12000 cells.
I press the Shift key and click on the first and last cells in the box
I do DELETE rows

Why does it take HOURS to delete the 12,000 rows?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Delete rows takes forever

Hi,

Am Tue, 19 Nov 2013 11:06:15 -0800 (PST) schrieb GWC:

a1.a188000 contain values.

I type =if(a2=a1,"dupl","") in b2
I copy that formula and paste it in B2.B188000
I select col b
I do FIND ALL dupl
It finds 12000 cells.
I press the Shift key and click on the first and last cells in the box
I do DELETE rows

Why does it take HOURS to delete the 12,000 rows?


before deleting set calculation to manuell


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3   Report Post  
Posted to microsoft.public.excel.programming
gwc gwc is offline
external usenet poster
 
Posts: 62
Default Delete rows takes forever

I did what you suggested and it's taking 30 minutes and counting.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Delete rows takes forever

Hi,

Am Tue, 19 Nov 2013 11:45:56 -0800 (PST) schrieb GWC:

I did what you suggested and it's taking 30 minutes and counting.


then go another way:
Write in B2
=IF(COUNTIF($A$2:$A$188000,A2)1,"Duplicate","")
and copy down.
Then filter column B for "Duplicate" and delete contents of all visible
cells. Select column A and sort to eliminate the blank cells.


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Delete rows takes forever

Hi again,

Am Tue, 19 Nov 2013 11:45:56 -0800 (PST) schrieb GWC:

I did what you suggested and it's taking 30 minutes and counting.


if you use xl2007 or later you can also try it via Data = Remove
duplicates.
Or (with all versions) you can filter with advanced filter without
duplicates to another column.


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
Code Takes Forever to Run - Why? BJ Excel Programming 4 November 12th 08 06:05 PM
Find Replace takes forever CaroleO Excel Discussion (Misc queries) 1 March 29th 07 09:04 PM
ActiveSheet.Paste takes FOREVER!! [email protected] Excel Programming 7 March 13th 07 07:34 PM
Excel takes forever to shut down Albert Excel Programming 2 December 1st 06 03:45 PM
Calculating Time in XP takes forever Dan Excel Discussion (Misc queries) 3 December 22nd 04 10:06 PM


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