+ Reply to Thread
Results 1 to 2 of 2

[Solved] Using if function with #N/A Result from Index function

Hybrid View

  1. #1
    Registered User
    Join Date
    06-06-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    Office 2010
    Posts
    13

    [Solved] Using if function with #N/A Result from Index function

    I have a spreadsheet in which I am trying to find the difference of two sets of values. To create the two value sets, I am using an index/match formula, which properly returns the error #N/A if there is no value to return.

    In a scenario where this happens, I would like to be able to treat the #N/A as a 0. My thought was to do so using an if function, but I cannot seem to figure it out.

    How would I write a formula to treat #N/A as 0?

    Edit: Today I learned the IfError function exists. Thanks everyone.
    Last edited by scohn14; 06-09-2014 at 07:17 PM. Reason: Solved

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,792

    Re: [Solved] Using if function with #N/A Result from Index function

    You edited your title manually to make it say Solved, but there is a built-in way so that the Forum actually recognizes it is solved.

    Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. More than one result from INDEX Function
    By RNeel55 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 04-01-2013, 04:22 PM
  2. [SOLVED] Formatting result of Index function
    By ExcelFred in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  3. Formatting result of Index function
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 11:05 AM
  4. Formatting result of Index function
    By ExcelFred in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. Formatting result of Index function
    By ExcelFred in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-26-2005, 09:05 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