Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 247
Default Search /Filter vertical Numeric pattern (down single column)

Hi All,

Can anyone provide a Formula or VBA solution for the following:

I would like to SEARCH/ Filter numerous and varying numeric values in a
Dynamic Named Range called "Data":- one column and many rows.

The Numeric values to be Searched/ Filtered will be one or two digits and
will span from 1 to 10 numeric values in a single search/ Filter sequence.
That is, search/ filter numeric values in this example sequence/ pattern
(down the Dynamic Named Range "Data"): 70 45 30 75 1. The numeric search
pattern will NOT be in any particular order. Once all instances of the
numeric sequence/ pattern: 70 45 30 75 1 have been found, I would like to
know the NEXT numeric value for each instance of that particular sequence/
pattern.

Example Search:
70 45 30 75 1

Found 3 instances
70
45
30
75
1
NEXT?

70
45
30
75
1
NEXT?

70
45
30
75
1
NEXT?

Required Result:
In each of the 3 instances of the above numeric sequence/ pattern show or
return what came AFTER the numeric value of 1.

The above numeric search pattern is only a sample. The numeric values of the
search pattern will vary and so will the number of numeric values being
searched - sometimes 2, 3, 4, 5 etc.

Example - Searching for 2 numeric values:
30 50

Found 3 instances
30
50
NEXT?

30
50
NEXT?

30
50
NEXT?

Example - Searching for 3 numeric values:
50 30 42

Found 2 instances
50
30
42
NEXT?

50
30
42
NEXT?

Example - Searching for 4 numeric values:
50 50 20 42

Found 2 instances
50
50
20
42
NEXT?

50
50
20
42
NEXT?

Thanks
Sam

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200607/1
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
Return Numeric Value to their Matched Value Position in Single Column Sam via OfficeKB.com Excel Worksheet Functions 3 March 6th 07 05:18 PM
Search /Filter vertical Numeric pattern (down single column) Sam via OfficeKB.com Excel Worksheet Functions 0 July 7th 06 06:25 PM
Return Single Row of Numeric Data to Single Column Sam via OfficeKB.com Excel Worksheet Functions 4 December 17th 05 12:31 AM
Creating a single vertical array from multiple column arrays Bryan Excel Worksheet Functions 2 December 10th 05 07:12 PM
Return Single Instance of Numeric Values from a Column Sam via OfficeKB.com Excel Worksheet Functions 4 August 26th 05 03:10 AM


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