+ Reply to Thread
Results 1 to 3 of 3

How to return the row number of an table of values?

  1. #1
    Registered User
    Join Date
    06-26-2008
    Location
    Asia
    Posts
    53

    How to return the row number of an table of values?

    Hi.

    If I have the following values (in the range A6:A10), and would like to return the row number (in this case the answer = 3) from the first row of "table" of the first non-zero value (from the top), is there a formula to do that?


    A
    6 0
    7 0
    8 233412
    9 198349
    10 2309458076

    Thanks.

  2. #2
    Forum Contributor
    Join Date
    08-21-2006
    Location
    Ossett, West Yorkshire
    MS-Off Ver
    2003
    Posts
    150

    Smile

    Hi,
    Use the formula:

    =COUNTIF(A6:A10,">0")

    and that will return the answer 3
    Sorry it returns because there are 3 numbers that are more than 0

    Regards Howard
    Last edited by Gearcutter; 10-11-2008 at 04:59 PM. Reason: Incorrect answer

  3. #3
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    I think this is what you need


    Please Login or Register  to view this content.
    *Press Ctrl + Shift + Enter.
    I need your support to add reputations if my solution works.


+ 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. [SOLVED] vlookup: search for value in SECOND column of table array and return value from FIRST
    By matt_pl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-28-2014, 06:02 AM
  2. Return 2 values from vlookup
    By adsxvii in forum Excel General
    Replies: 4
    Last Post: 08-28-2008, 09:27 AM
  3. Find if values are between ranges and return code and values
    By ozzbaldo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2007, 09:52 AM
  4. Arranging Values in a Table
    By estacio in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2007, 07:08 AM
  5. Trying to return month for pivot table
    By facmess1 in forum Excel General
    Replies: 5
    Last Post: 12-06-2006, 02:55 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