+ Reply to Thread
Results 1 to 8 of 8

Index Match error

  1. #1
    Registered User
    Join Date
    10-11-2023
    Location
    Netherlands
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    4

    Index Match error

    Hi Guys,

    I have an excel Error with the following formula: =INDEX('Sheet1'!$E$7:$E$1025;MATCH($E64;'Sheet 2'!$G$7:$G$1025;0))

    The error is input related I think, as the cell content makes or breaks it.

    E.g. the current contents, that return a #VALUE! error are: (the XXX is just normal text, no special characters etc.)

    "XXX, e.g.:
    1. XXX,
    2. XXX,
    3. XXX,
    To (I) XXX, (II) XXX, (III) XXX, (IV) XXX, XXX / XXX, XXX"

    However, if I change the text to let's say "Apple", it does return the correct contents.

    Anyone know why this happens?

    I tried removing the Alt enters, the 1. or (I), but the same things happen - it is only when I put a simple and completely other input that it works

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: Index Match error

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    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
    80,905

    Re: Index Match error

    And please update your forum profile - there is no Excel 2023, so what do you have? Is it 365?
    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.

  4. #4
    Registered User
    Join Date
    10-11-2023
    Location
    Netherlands
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    4

    Re: Index Match error

    Done, 365 indeed, apologies

  5. #5
    Registered User
    Join Date
    10-11-2023
    Location
    Netherlands
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    4

    Re: Index Match error

    Quote Originally Posted by TMS View Post
    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Hi Trevor, apologies,
    Attached Files Attached Files

  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
    80,905

    Re: Index Match error

    C4 is over 255 characters in length - it's too long.

  7. #7
    Registered User
    Join Date
    10-11-2023
    Location
    Netherlands
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    4

    Re: Index Match error

    Awesome thank you AliGW, do you perhaps know of any workarounds?

  8. #8
    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
    80,905

    Re: Index Match error

    Only shortening the text!!!

    Or you could try this:

    =INDEX($D$4:$D$5,MATCH(LEFT(C4,255),LEFT($C$4:$C$5,255),0))

+ 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 error, data is giving me error
    By HDJD2022 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-26-2022, 10:20 AM
  2. Replies: 6
    Last Post: 05-24-2022, 04:05 AM
  3. [SOLVED] Index,Match,Match based on date Range - error in some cells
    By jmont in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-26-2019, 04:47 AM
  4. 2D Index match match & error trapping
    By Mikeyabosbht in forum Excel General
    Replies: 4
    Last Post: 08-02-2018, 03:46 PM
  5. [SOLVED] INDEX MATCH Error
    By rakotonirinas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-10-2018, 07:22 AM
  6. unable to get match property error in userform derived index match
    By alexcrofut in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-05-2015, 09:21 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 AM

Tags for this Thread

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