+ Reply to Thread
Results 1 to 4 of 4

Problem with Indexing a specific Row

  1. #1
    Forum Contributor
    Join Date
    09-09-2009
    Location
    Columbus. Ohio
    MS-Off Ver
    Excel 2000
    Posts
    199

    Problem with Indexing a specific Row

    In the attached file I am getting the wrong value in column "V" on sheet 1. Column V refferences the row listed in column "U". Column U is the correct row but for some reason the value returned is the row after the one displayed in column U. Where column U displayes Row 163, I am getting the value for Row 164. Any ideas where the error is?


    Jim O
    Attached Files Attached Files
    Last edited by Jogier505; 04-11-2011 at 02:28 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Problem with Indexing a specific Row

    That's because you are indexing starting at C2 and the Row part of the Index function is row within the range

    Try:

    =IF($U2="","",INDEX($C$2:$C$1000,$U2-1))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Problem with Indexing a specific Row

    You are telling it to return the 163rd row of the index but the index starts at row 2, not 1.

    So you get row 164

  4. #4
    Forum Contributor
    Join Date
    09-09-2009
    Location
    Columbus. Ohio
    MS-Off Ver
    Excel 2000
    Posts
    199

    Re: Problem with Indexing a specific Row

    Thank you both very much. I knew it had to be something obvious that I was overlooking.

    Agaion Thanks!

    Jim O

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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