Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Mar 2006
    Location
    Princeton, New Jersey, USA
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Find Row Number (Excel 2003)

    Hi All, I think this may be easy and I'm just struggling ...

    I use a vlookup up to find a value ...

    =VLOOKUP(StudyNum,'Examine DataPool.xls'!StudyNumbers,4,FALSE)

    Is there a way to determine the Row number where the value is found?

    Thanks,
    --cat

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: Find Row Number (Excel 2003)

    You would need to specify the first column of the StudyNumbers range, or create a named range corresponding to the first column of StudyNumbers.

    The formula
    <code>
    =MATCH(StudyNumber,'Examine DataPool.xls'!B3:B100,0)
    </code>
    will return the row number within B3:B100 where StudyNumber is found. If you want the absolute row number, you can use
    <code>
    =MATCH(StudyNumber,'Examine DataPool.xls'!B3:B100,0)+ROW('Examine DataPool.xls'!B3:B100)-1
    </code>
    You can replace B3:B100 with a name if available.

  3. #3
    Star Lounger
    Join Date
    Mar 2006
    Location
    Princeton, New Jersey, USA
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Find Row Number (Excel 2003)

    Thanks, Hans that's what I needed.

Posting Permissions

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