+ Reply to Thread
Results 1 to 9 of 9

row number of a range of values

  1. #1
    Registered User
    Join Date
    06-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    29

    row number of a range of values

    If I have a list of value ranging from 0-30 in column A sorted into order with say 150 results I want to know what row number has the first occurrence of 0.5 and then the last occurrence of 25 so i can just look at the range of values.

    Any idea if it is possible to display the row number?

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: row number of a range of values

    Hi,

    Assuming you mean that they're in ascending order:

    =MATCH(0.5,A1:A150,0)

    =MATCH(25,A1:A150)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: row number of a range of values

    1)
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    2) ARRAY formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    06-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: row number of a range of values

    is there a way if you dont have an exact 0.5 or 25 so it find the range greater than 0.5 and less than 25?

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: row number of a range of values

    You are welcome..

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    06-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: row number of a range of values

    Many thanks for your help so far

    Ive got it working to find the row number displaying the first result equal to or greater than 0.5 using =MATCH(TRUE,INDEX($B$2:$B$170>=0.5,0),0

    the problem I'm find is I want to find the last row that has the last number equal to or less than 25 any ideas?

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: row number of a range of values

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ARRAY formula.

    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.

  8. #8
    Registered User
    Join Date
    06-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: row number of a range of values

    that finds the first row with a value less than 25 not the last

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: row number of a range of values

    If you take some time to read the instructions that i give you in my previous post about ARRAY formula, you reply would be different than this.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Counting number of values within a date range equal or great to a number
    By diablo_719 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-15-2013, 02:55 PM
  2. Number range and overlapping values
    By losty in forum Excel General
    Replies: 1
    Last Post: 04-21-2012, 12:06 AM
  3. Countif (Number of values in a range)
    By braydon16 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2007, 06:19 PM
  4. Number of different values in a range
    By Lucas Lehmer in forum Excel General
    Replies: 4
    Last Post: 05-26-2006, 10:48 AM
  5. [SOLVED] Formula to count the number of different values in a range
    By PCLIVE in forum Excel General
    Replies: 2
    Last Post: 04-12-2005, 12:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1