+ Reply to Thread
Results 1 to 7 of 7

Use IFERROR function to display a blank cell instead of a error value

  1. #1
    Registered User
    Join Date
    12-09-2012
    Location
    Mesa, AZ
    MS-Off Ver
    Excel 2010
    Posts
    34

    Use IFERROR function to display a blank cell instead of a error value

    I think I wrote this wrong because I needed to enter a formula calculate the break-even point C18, which is determined by the fixed monthly expense C17 divided by the difference between the price per unit C15 and the number of units G15:G43. Then to Use the IFERROR function to display a blank cell.
    I changed the function to this one below but the cell is not blank it has a 0.
    Is this the correct way to write the function?

    =IFERROR(VLOOKUP(C18,C17/C15/G15:G43,2,FALSE),"")

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Use IFERROR function to display a blank cell instead of a error value

    The VLOOKUP part of the formula is not right. The second element in a VLOOKUP should be a range of cells. I suggest you upload the workbook and add some manually calculated result examples with a note as to how you calculate the result. No doubt we can then advise the correct formula.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    12-09-2012
    Location
    Mesa, AZ
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Use IFERROR function to display a blank cell instead of a error value

    Attached is the form I am working with and I have tried the VLOOKUP and without the VLOOKUP.

    I have tried this one also =IFERROR(C18,C17/C15/G15:G43)
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Use IFERROR function to display a blank cell instead of a error value

    susiesc, some members of the forum use the "search" facility to look for an answer to their query before posting it, which is part of the reason that rule # 1 of the forum exists:

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title. - http://www.excelforum.com/forum-rule...rum-rules.html

    This thread has exactly the same title as your thread here: http://www.excelforum.com/excel-form...ror-value.html. When I suggested you start a new thread with your new question, I didn't mean for you to give it the same title as the one you have already posted.

    Could you please give this thread an appropriate title.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Use IFERROR function to display a blank cell instead of a error value

    Hi,

    You have a circular reference with your current approach, which is not usually to be recommended. But surely your Break Even units in C18 is simply
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and the Revenue at Break Even is simply
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Not sure why you need to worry about VLOOKUPs since the table is only there to generate the chart data.

  6. #6
    Registered User
    Join Date
    12-09-2012
    Location
    Mesa, AZ
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Use IFERROR function to display a blank cell instead of a error value

    Thank You for your assistance

  7. #7
    Registered User
    Join Date
    12-09-2012
    Location
    Mesa, AZ
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Use IFERROR function to display a blank cell instead of a error value

    I am sorry I thought that I had to re enter

+ 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.6.0 RC 1