+ Reply to Thread
Results 1 to 4 of 4

Combining IF and IFERROR functions

  1. #1
    Registered User
    Join Date
    01-29-2014
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    2

    Combining IF and IFERROR functions

    Here is my formula:

    =IF(I12="yes", " ", ((O12/N12)*P12))

    It works great, except for the fact that when no data is in N12, the formula gives a #DIV/0! error. Is there a way to insert an IFERROR function into this so the error does not come up if there is no data (or a zero) in N12?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Combining IF and IFERROR functions

    =IFERROR(IF(I12="yes", " ", O12/N12*P12), "whatever you want here")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-29-2014
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Combining IF and IFERROR functions

    Perfect! Thanks for your help! I had it backwards when attempting to do it on my own. I was trying to put the IF first, then the IFERROR. Thank you!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Combining IF and IFERROR functions

    You're welcome.

+ 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] Combining IFERROR and IF formulas
    By cesarmontoya in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-29-2013, 03:51 PM
  2. Using IFERROR and FREQUENCY functions in an array
    By mcmassok in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-30-2013, 08:39 AM
  3. Combining multiple functions>lookup/sum functions
    By mush106 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2013, 07:47 AM
  4. Use of nested IFERROR or other suitable functions
    By kyjae in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-20-2013, 08:26 AM
  5. Combining iferror, vlookup and min possible?
    By dominoes in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 07-22-2012, 07:00 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