+ Reply to Thread
Results 1 to 7 of 7

Index function - ref error??

  1. #1
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Index function - ref error??

    Probably something very silly! But I just can't work out why I'm getting a Ref error in B7?? - should be 1.72

    Mdn
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Index function - ref error??

    Remove B6 and use:

    =INDEX(B3:W3,MATCH(B5,B2:W2,0)) or hardcoded:

    =INDEX($B$3:$W$3,MATCH($B$5,$B$2:$W$2,0))

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Index function - ref error??

    if you get rid of the column number it works fine.
    from this... =INDEX(B3:W3,B6,3)
    to this... =INDEX(B3:W3,B6)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,001

    Re: Index function - ref error??

    The syntax was incorrect:

    =INDEX(B3:W3,B6)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    01-26-2018
    Location
    London, England
    MS-Off Ver
    365
    Posts
    311

    Re: Index function - ref error??

    Lovely stuff, really appreciated all

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,001

    Re: Index function - ref error??

    No probs!

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Index function - ref error??

    You're welcome and thank you for the rep!

+ 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. Index/Match Function Returns '#VALUE!' Error
    By VirenS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-17-2016, 05:36 AM
  2. [SOLVED] Index Function Error
    By johnmahon12 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-14-2015, 08:43 AM
  3. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  4. Error in index match function
    By joshnvince in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-12-2013, 02:12 AM
  5. [SOLVED] Trying to use INDEX function in VBA Code, compile error
    By Finny in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-26-2006, 02:20 PM
  6. Index function error
    By Motty in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2005, 02:12 PM
  7. [SOLVED] Error Return Value from and INDEX(A:2,MATCH()) function
    By BJ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-26-2005, 11:06 AM

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