Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
vmv
 
Posts: n/a
Default How can I find the row nr of the first number lower/ higher then a



For example
col1 col2 col3
row1
row2 3
row3 14
row4
row5 25
row6 36
row7
row8 47


For example I want to find the row of the firt number 35
The result must be row6.
Row1, row4, row7 are empty.

  #2   Report Post  
Max
 
Posts: n/a
Default

One way

Assuming the numbers are in col A and sorted in ascending order

Enter the target number in B1: 36 (say)
Put in B2: =IF(B1="","",MATCH(B1,A:A,1))
B2 will return the desired row #
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"vmv" wrote in message
...


For example
col1 col2 col3
row1
row2 3
row3 14
row4
row5 25
row6 36
row7
row8 47


For example I want to find the row of the firt number 35
The result must be row6.
Row1, row4, row7 are empty.



  #3   Report Post  
vmv
 
Posts: n/a
Default

10x
  #4   Report Post  
Max
 
Posts: n/a
Default

You are welcome !
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"vmv" wrote in message
...
10x



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 all text instances in a sheet and add one number from each row Greg Excel Discussion (Misc queries) 1 January 31st 05 11:45 PM
Find all cells with a number and mulitply Jim Excel Discussion (Misc queries) 3 January 21st 05 02:28 PM
How do I change z-axis value from zero to a higher number (eg 4)? cscharl Charts and Charting in Excel 1 January 19th 05 06:36 PM
How do I find highest number in a row and change color? pamstolen Excel Worksheet Functions 3 January 18th 05 12:35 AM
How do I find the first value in a column less than a number? redeucer Excel Worksheet Functions 6 November 4th 04 09:59 PM


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