+ Reply to Thread
Results 1 to 3 of 3

Thread: Change #n/a value to 0 when using INDEX and MATCH fonction

  1. #1
    Registered User
    Join Date
    01-24-2012
    Location
    Montreal,Quebec,Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Exclamation Change #n/a value to 0 when using INDEX and MATCH fonction

    Hello Everyone ,

    I have been trying to figure out how to get rid of this evil #n/a value, in my formula,

    Here is the formula I am using : =INDEX(Automate_Pricing!C4:G13,MATCH(PLAN.ECO!R10,Automate_Pricing!B4:B13,0),MATCH(PLAN.ECO!V10,Auto mate_Pricing!C3:G3,0))

    to be a little bit more specific

    R10 is a model
    V10 is a code number going from 1 to 5

    So let's say I have 3 models :

    Model A
    Model B
    Model C

    And also 3 different codes :

    Code 1
    Code 2
    Code 3

    This formula is use to determine the price of a model depending on it's code .

    Model A - Code 1 = 10$
    Model A - Code 2 = 20$

    Etc...

    This formula is used for a rental project , my problem is that we offer several different models although only part of them are up for rental,
    so when you choose a model that is available on our inventory , but not available for rent , I get the error #n/a and then it won't let me SUM up .

    Can someone help me !

    Thank you very much
    Last edited by mattthieu27; 01-24-2012 at 04:57 PM. Reason: Solved

  2. #2
    Valued Forum Contributor Haseeb A's Avatar
    Join Date
    05-24-2011
    Location
    India | Kwt
    MS-Off Ver
    2007
    Posts
    1,453

    Re: Change #n/a value to 0 when using INDEX and MATCH fonction

    Hello,

    Use IFERROR

    =IFERROR(YourFormula,0)

    Will show as 0 if the output is error, otherwise it's value.
    HTH; Haseeb

    If your problem is solved, please say so clearly, and mark your thread as Solved:
    Forum Rules & How to Mark a thread as SOLVED

  3. #3
    Registered User
    Join Date
    01-24-2012
    Location
    Montreal,Quebec,Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Change #n/a value to 0 when using INDEX and MATCH fonction

    Thank you very much Haseeb,
    Works like a charm !!

+ 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.2.0