Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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...tions/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
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Return Single Instance of Numeric Values from a Column Sam via OfficeKB.com Excel Worksheet Functions 4 August 26th 05 03:10 AM
how to combine several columns into a single column jims Excel Discussion (Misc queries) 9 August 15th 05 12:00 PM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


All times are GMT +1. The time now is 08:12 PM.

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"