+ Reply to Thread
Results 1 to 4 of 4

Solved: How do I get rid of #N/A with a Index Match Formula

  1. #1
    Forum Contributor
    Join Date
    11-23-2013
    Location
    La Crosse, Wi
    MS-Off Ver
    Excel 2010
    Posts
    105

    Solved: How do I get rid of #N/A with a Index Match Formula

    I am getting #N/A with the following equation

    =INDEX($C$2:$C$367,MATCH(MAX(G$2:G$367),G$2:G$367,0)

    C= List of Days
    G = Daily River Stages

    I have #N/A for one day on February 29 in the list of days. It works well when you are in a leap year when you have a value.

    How do I fix it?

    Thanks for the help!

    Jeff B
    Last edited by boynejs; 01-27-2022 at 07:25 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: How do I get rid of #N/A with a Index Match Formula

    Try

    =IFERRORr(INDEX($C$2:$C$367,MATCH(MAX(G$2:G$367),G$2:G$3679,0),"")
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    11-23-2013
    Location
    La Crosse, Wi
    MS-Off Ver
    Excel 2010
    Posts
    105

    Re: How do I get rid of #N/A with a Index Match Formula

    Hi John,

    Thanks for the response! I tried your equation and it produces a blank. I would like it to return a date.

    Jeff

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

    Re: How do I get rid of #N/A with a Index Match Formula

    What date? e.g.

    =IFERROR(INDEX($C$2:$C$367,MATCH(MAX(G$2:G$367),G$2:G$3679,0),DATE(2024,2,29))
    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.

+ 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] Index Match not cycling through entire index. Formula not updating when values change...
    By nordxnortheast in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2020, 10:44 AM
  2. Replies: 1
    Last Post: 08-17-2019, 01:11 PM
  3. Index Match formula changing my Index daily
    By vitt4300 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-31-2017, 02:19 PM
  4. [SOLVED] This formula works but I donīt understand why Index(Index) match
    By campelliann in forum Excel General
    Replies: 2
    Last Post: 01-25-2016, 05:55 PM
  5. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  6. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 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