Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Fastest find method for number interval

Place this formula
=CELL("address",A1) - change A1 to where your list starts-
in the first row of a free column (say B1)
Autofill it down to your 500 or more cells.
Now use the autofilter, filter through what you need.
THEN: copy this column with the formula ( which tells you where the filtered
numbers reside) and paste them in another sheet or so.....

HTH

Driftwood



"Reinhard Thomann" wrote:

When using AutoFilter:
Is this correct, that i have to go through all 5000 rows to find out which
ones are hidden or not (I need the row numers in an array),
or is it possible to get immediately the results of the filtered list.
Otherwise i'm not sure if there i a time advantage in comparison to directly
check cell by cell value (5000 times).

Thanks
Reinhard


"OssieMac" schrieb im Newsbeitrag
...
You say the values are numerical so you should be able to use AutoFilter
and
set a custom filter greater than or equal to 3 and is less than 4.

--
Regards,

OssieMac


"Reinhard Thomann" wrote:

Hi
what's the fastest method to find all worksheet rows which start with the
same number e.g 3.
The spreadsheet list is unsorted and extends up to 5000 rows. The values
are
numerical.
Sample below: The routine should find for value 3 the rows with 3.1, 3.2
and
3.3 {3,4,7}.

1 Text
2 Text
3.1 Text
3.2 Text
5 Text
3.2 Text
8 Text
3.3 Text
7.2 Text
.....

TIA
Reinhard




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Fastest find method for number interval

Clever idea!

Thanks
Reinhard

"Driftwood" schrieb im Newsbeitrag
...
Place this formula
=CELL("address",A1) - change A1 to where your list starts-
in the first row of a free column (say B1)
Autofill it down to your 500 or more cells.
Now use the autofilter, filter through what you need.
THEN: copy this column with the formula ( which tells you where the
filtered
numbers reside) and paste them in another sheet or so.....

HTH

Driftwood



"Reinhard Thomann" wrote:

When using AutoFilter:
Is this correct, that i have to go through all 5000 rows to find out
which
ones are hidden or not (I need the row numers in an array),
or is it possible to get immediately the results of the filtered list.
Otherwise i'm not sure if there i a time advantage in comparison to
directly
check cell by cell value (5000 times).

Thanks
Reinhard


"OssieMac" schrieb im Newsbeitrag
...
You say the values are numerical so you should be able to use
AutoFilter
and
set a custom filter greater than or equal to 3 and is less than 4.

--
Regards,

OssieMac


"Reinhard Thomann" wrote:

Hi
what's the fastest method to find all worksheet rows which start with
the
same number e.g 3.
The spreadsheet list is unsorted and extends up to 5000 rows. The
values
are
numerical.
Sample below: The routine should find for value 3 the rows with 3.1,
3.2
and
3.3 {3,4,7}.

1 Text
2 Text
3.1 Text
3.2 Text
5 Text
3.2 Text
8 Text
3.3 Text
7.2 Text
.....

TIA
Reinhard





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 number of particular values over an interval CarterTC Excel Discussion (Misc queries) 3 February 7th 12 08:44 PM
How to find maximum non-blank row number without brute force method? Chet Excel Programming 2 April 4th 08 08:28 AM
Fastest way to find item in an array. WhytheQ Excel Programming 7 May 24th 06 11:12 PM
Bulk Row Deletion - Fastest method quartz[_2_] Excel Programming 11 November 11th 04 12:07 PM
Find fastest way to do lookups Fred Smith Excel Programming 7 April 18th 04 07:44 AM


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