+ Reply to Thread
Results 1 to 12 of 12

How to avoid #value! error

Hybrid View

  1. #1
    Registered User
    Join Date
    09-01-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    19

    How to avoid #value! error

    This is my equation, i'm unable to complete it

    =IF(X2="CANCELLED", 0, IFERROR(AA2*AJ2, 0

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,333

    Re: How to avoid #value! error

    Can you expalin what you want it to do?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    09-01-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    19

    Re: How to avoid #value! error

    Quote Originally Posted by Glenn Kennedy View Post
    Can you expalin what you want it to do?
    Hi,

    I have to add up Value Added Tax (VAT) with the Order Cost for all the orders which have been processed. For orders cancelled, this formula should return a value of 0. The VAT is zero for Orders which are not managed by me (offline orders). So when I use the above formula, for all the blank VAT cells, the value returns as #Value! which I want to replace with 0 or a blank.

    please help.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,435

    Re: How to avoid #value! error

    It would help if you can post a file showing the expected outcome(s). The formula you posted is incomplete.

  5. #5
    Registered User
    Join Date
    09-01-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    19

    Re: How to avoid #value! error

    Quote Originally Posted by JohnTopley View Post
    It would help if you can post a file showing the expected outcome(s). The formula you posted is incomplete.
    Please find the file attached. I'm refering to AG2
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    09-14-2012
    Location
    mumbai,india
    MS-Off Ver
    Excel 2003
    Posts
    367

    Re: How to avoid #value! error

    try This formulas
    =IFERROR(Your Formula),"")

  7. #7
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: How to avoid #value! error

    EF.png
    It looks perfect, no error messages shows in your list.

    Use any of the below formula:

    =IF(X2="CANCELLED","",AA2*AJ2)
    =IFERROR(IF(X2="CANCELLED",0, AA2*AJ2,""))

  8. #8
    Forum Contributor
    Join Date
    09-14-2012
    Location
    mumbai,india
    MS-Off Ver
    Excel 2003
    Posts
    367

    Re: How to avoid #value! error

    Shareez Saleem, =IFERROR(IF(X2="CANCELLED",0, AA2*AJ2,"")) this formula is incorrect
    Right answer is =IFERROR(IF(X2="CANCELLED", 0, AA2*AJ2),"")

  9. #9
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: How to avoid #value! error

    Sorry, it was a typo error.

    Thanks Sanju.

  10. #10
    Forum Contributor
    Join Date
    09-14-2012
    Location
    mumbai,india
    MS-Off Ver
    Excel 2003
    Posts
    367

    Re: How to avoid #value! error

    cndu,
    Is the wrong from your original request.I would suggest to mark "solved" this thread, accepting the solution, if you think that your original request was answered, and start a new thread with your last request. It's also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

  11. #11
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: How to avoid #value! error

    Why you are getting #value error?As per checking your sheet it seems all the If function giving you a numeric value and #value error only came if any numeric will involve any math operation with text.

    Your formula is perfectly okay in the mean time, however if you wanna avoid any error like #vaue,#N/A and all that you can simple use Iferror formula. As suggest by Mr.Sanju in #5.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  12. #12
    Registered User
    Join Date
    09-01-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    19

    Re: How to avoid #value! error

    In that excel sheet.. Can anyone tell me dhow to derive the Profit

+ 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] Need error handler code to avoid pivot table refreshing error if no data is available
    By adelkam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-04-2015, 12:37 PM
  2. Replies: 1
    Last Post: 04-30-2012, 12:07 PM
  3. How to avoid #REF!, #VALUE! error
    By Tanza in forum Excel General
    Replies: 2
    Last Post: 03-05-2011, 01:59 PM
  4. Avoid #N/A error
    By bunzo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-22-2010, 01:27 PM
  5. Avoid #DIV/0! error
    By NKRA in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-28-2010, 05:29 PM
  6. Excel 2007 : Avoid the #div/0 error
    By berk21 in forum Excel General
    Replies: 3
    Last Post: 01-24-2009, 06:31 PM
  7. Avoid Value error
    By martins in forum Excel General
    Replies: 2
    Last Post: 05-10-2008, 10:27 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