+ Reply to Thread
Results 1 to 2 of 2

#value!

  1. #1
    Forum Contributor
    Join Date
    07-29-2009
    Location
    Melbourne, Australia
    MS-Off Ver
    365
    Posts
    255

    #value!

    When calcualting cells, is there a way I can avoid #VALUE! popping up?

    For example if I am dividing and some cells are zero, then I can avoid #DIV/0! by typing =if(A1=0," ",B1/A1)

    Is there a similar work around?

    MQ
    Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: #value!

    Wrap your formula in IFERROR()...
    =IFERROR(your-formula,"")

    Aslo, avoide using " " (with a space), rather, use "" (no space). You can use other formulas that can be based on a "null" entry...=if(a1="","",123), but if you have a space, then you need to remember to that you added a space
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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