+ Reply to Thread
Results 1 to 7 of 7

If statement with INDEX MATCH

  1. #1
    Forum Contributor
    Join Date
    08-23-2013
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 365
    Posts
    166

    If statement with INDEX MATCH

    Trying to incorporate ="NA","", in this formula, having no luck. I want it so when the match-index retrieves a text "NA" it leaves the cell blank. But still wanting to leave the ERROR.TYPE function in there.

    =IF(page!$C$10>=$G1158,(INDEX(page!$1:$1048576, MATCH($G1158,page!$A:$A,0), MATCH(X$1155,page!$1:$1,0))), ERROR.TYPE(7))

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: If statement with INDEX MATCH

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Contributor
    Join Date
    08-23-2013
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 365
    Posts
    166

    Re: If statement with INDEX MATCH

    Keep retrieving #N/A's for everything now

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: If statement with INDEX MATCH

    Please Login or Register  to view this content.
    Sorry, it was a new function for me. The test for the value goes in the function.

  5. #5
    Forum Contributor
    Join Date
    08-23-2013
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 365
    Posts
    166

    Re: If statement with INDEX MATCH

    daff, thanks for your help but...
    Still retrieves #N/A for every cell.
    The formula tests for the data to not fill in past a certain date (page!$C$10>=$G1158). So all future dates come in as #N/A which is fine, but when a certain past date matches an NA in my data set - I need it to go blank. I am hoping to make this NA's blank. Because it's graph data and keeps picking them up as zeros.

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: If statement with INDEX MATCH

    This would be considerably faster and efficiently if you could create small example on a worksheet.

    Just copy and paste.

  7. #7
    Forum Contributor
    Join Date
    08-23-2013
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 365
    Posts
    166

    Re: If statement with INDEX MATCH

    =IF(INDEX(page!$1:$1048576,MATCH($G1158,page!$A:$A,0),MATCH($X$1155,page!$1:$1,0))="NA" OR(Key!$C$10>=$G1158),"",INDEX(page!$1:$1048576,MATCH($G1158,page!$A:$A,0),MATCH($X$1155,page!$1:$1,0)))
    Now I am trying this, still not working

+ 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 with If statement
    By geliedee in forum Excel General
    Replies: 1
    Last Post: 04-14-2015, 07:49 AM
  2. [SOLVED] Index/Match formula with If statement
    By protechds in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-31-2015, 10:22 PM
  3. [SOLVED] If Statement (Match/Index)
    By usmanfarok in forum Excel General
    Replies: 12
    Last Post: 09-26-2012, 04:42 AM
  4. Index & Match with IF statement
    By reggie1000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-20-2007, 01:49 PM
  5. Index() & Match() or just an if() Statement?
    By JustMe602 in forum Excel General
    Replies: 6
    Last Post: 12-12-2006, 04:24 PM

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