+ Reply to Thread
Results 1 to 7 of 7

Using IFNA in an IF Formula

  1. #1
    Registered User
    Join Date
    03-30-2013
    Location
    Oradea
    MS-Off Ver
    Excel 2010
    Posts
    10

    Using IFNA in an IF Formula

    Hello,

    I would like to do the following: deduct the values from column F from column E, but in case, a cell from
    column F contains #N/A, return the comment MISSING. I tried nesting an IFNA in an IF like it's shown in the below picture,
    but i get the error "You've entered too few arguments for this function." Could you help me out with this please?

    Thank you.


    Capture.JPG

  2. #2
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Using IFNA in an IF Formula

    this should do it.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The IFNA value_if_NA must be contained with the IFNA brackets. You simply have (F2), if you make it IFNA(F2,"Missing") Then your original IF condition would be looking to check whether something was "MISSING" or not
    Please do add reputation where you see fit, it's nice to be nice and we all enjoy a pat on the back

    Please also mark your thread as solved once it has been.

  3. #3
    Registered User
    Join Date
    03-30-2013
    Location
    Oradea
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Using IFNA in an IF Formula

    Still unclear to me, how the complete formula should look. Could you help me out with that?
    The (F2) was originally in the bracket. Tried with your formula also on the IFNA, but then it's unclear what i should input on the IF value_if_true.

  4. #4
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Using IFNA in an IF Formula

    You don't need the IF statement because you're already telling the cell what to do if the result is #N/A (which it will be if either E2 or F2 contain #N/A

    An IF statement is asking a question.

    So IF A = A, TRUE, FALSE

    Using IFNA(E2-F2,"MISSING") you're essentially asking IF THE RESULT OF E2-F2 IS #N/A, TRUE = "MISSING", FALSE = E2-F2

  5. #5
    Registered User
    Join Date
    03-30-2013
    Location
    Oradea
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Using IFNA in an IF Formula

    How simple and I did not figure it out. Thank you Dave!

  6. #6
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Using IFNA in an IF Formula

    Quote Originally Posted by Rocksteady View Post
    How simple and I did not figure it out. Thank you Dave!
    No worries, we're all learning

    If that's the thread solved please mark it as such and feel free to leave feedback if you think it's deserved.

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Using IFNA in an IF Formula

    btw.
    IFNA function
    Applies To: Excel 2016 Excel 2013 Excel 2016 for Mac Excel for Mac 2011
    Not available in 2010

+ 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] IFNA function and text into value
    By mcgleeuw in forum Excel Formulas & Functions
    Replies: 34
    Last Post: 02-09-2017, 10:21 AM
  2. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  3. How to mix an IFNA with a IFVLOOKUP
    By Weaselwithagun in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-14-2016, 07:38 AM
  4. [SOLVED] Difficulty figuring out were to put IFNA
    By TheBakerBoy in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-25-2016, 03:00 AM
  5. Applying IFNA to entire workbook
    By Bral1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-18-2014, 08:49 AM
  6. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  7. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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