Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 196
Default More efficient than copying and pasting

Yep. Your suggestion would work, too... the efficiency
lies in how many outliers there are.

Personally, I just have a 'del_rows' subroutine in my
callable utilities module... just call the subroutine with
whatever the current Boolean formula is, and the
subroutine goes through deleting any rows that meet that
criteria.

Because of the way Excel sorts work, most often, the data
comes back in the same sort order as it was originally,
just missing the deleted data, as desired.

Sometimes, if there's something else involved, I put in an
index as you mentioned... and yes, that would be a good
way to identify which line in the original sample that the
row came from.


-----Original Message-----
Good point. Might be worth considering sorting the data

from highest to
lowest values and then reading and copying the data until

the value falls
below the limit, then sort in reverse order (low to high)

and do the same
reading and copying until the value exceeds the lower

limit.

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
Copying and Pasting Kokomo Excel Discussion (Misc queries) 1 November 20th 07 02:14 PM
Copying and Pasting davew21 Excel Discussion (Misc queries) 1 March 31st 06 03:40 PM
Copying and pasting ??? NorcalTruck Excel Discussion (Misc queries) 3 December 27th 05 08:31 PM
Copying and Pasting Tia Excel Discussion (Misc queries) 4 June 6th 05 08:54 PM
Copying & Pasting Michael[_10_] Excel Programming 1 August 28th 03 11:00 AM


All times are GMT +1. The time now is 07:43 AM.

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"