LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default MATCH in reverse direction?

I have a column which contains vales of 0 and above. The values are
mixed, with 0 occurring at the top of the column (before a device
switches on), at the bottom of the column (as it switches off for that
session), and in varying cells inbetween (when it stops temporarily and
then will restart within the session).

I have a line in a macro:
Evaluate("=INDEX(K81:K151,MATCH(TRUE,L81:L151=0,0) )")
to find the zero value when it switches off for that session.

Unfortunately, because it searches from top to bottom, it finds the zero
after the 0.006, rather than the zero after the 0.008 in the example below.

Is it possible to reverse the MATCH order to catch the zero after the 0.008?

A section of the column is reproduced below with the first entry, 1.044,
being line 81.

1.044
1.248
1.224
0.768
0.132
0.318
0.48
0.216
0.006
0
0.054
0.054
0.036
0.048
0.072
0.108
0.162
0.024
0.21
0.084
0.114
0.09
0.042
0.03
0.012
0.008
0
0
0

TIA
--
F

 
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
reverse cursor/text direction within cell [email protected] Excel Discussion (Misc queries) 4 August 24th 08 06:12 AM
vlookup in reverse search direction Curious[_6_] Excel Programming 2 July 12th 07 06:05 AM
How do I reverse the direction of the tab key Nathan Crump New Users to Excel 2 July 11th 06 02:21 AM
Reverse MATCH Function BillCPA Excel Discussion (Misc queries) 2 March 9th 05 02:32 AM
Reverse Direction of For-Each-Next? FuzzyDove[_2_] Excel Programming 2 November 23rd 04 11:18 PM


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