Results 1 to 8 of 8
  1. #1
    3 Star Lounger
    Join Date
    Jun 2005
    Posts
    348
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Getting rid of the #VALUE error

    How do you show an empty cell for column P and U ?

    Thanks.
    Attached Files Attached Files

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    6,058
    Thanks
    196
    Thanked 766 Times in 700 Posts
    MNN, Since you are already evaluating Col W in Col I try this in Col P { =IF(ISNUMBER(I6),I6-H6,W6)} and see if it is what you're after?
    May the Forces of good computing be with you!

    RG

    VBA Rules!

    My Systems: Desktop Specs
    Laptop Specs


  4. #3
    3 Star Lounger
    Join Date
    Jun 2005
    Posts
    348
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Retired Geek, Thanks for the try but the formula doesn't record the increment or decrement if a % amount is used instead of the increase or decrease amount. Any other IDEAS.

    Thanks again.

  5. #4
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    6,058
    Thanks
    196
    Thanked 766 Times in 700 Posts
    MNN,

    Could you please explain in words exactly how you want P6 Calculated?
    May the Forces of good computing be with you!

    RG

    VBA Rules!

    My Systems: Desktop Specs
    Laptop Specs


  6. #5
    3 Star Lounger
    Join Date
    Jun 2005
    Posts
    348
    Thanks
    3
    Thanked 0 Times in 0 Posts
    The current formula works but with no input amount ( number or percent) it show a #VALUE!. It should show an empty cell or an amount when the input is entered.

    Thanks

  7. #6
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    6,058
    Thanks
    196
    Thanked 766 Times in 700 Posts
    MNN,

    Please note my formula (second set) returns the same as yours see below:
    MNN.JPG
    To get rid of the 0's use Tools->Options->View Tab and uncheck Zero Values in 2003 or equivalent in 2007/10.

    Also I noted that you have not used the Round function in the formulas but merely formatted the cells to show no decimal points. This can be very dangerous. When I first looked at my formula vs yours I got 8.75 vs your 9. This can cause calculation errors later as it will always use 8.75 to calculate and if you add enough numbers you'll start coming up short or long depending in your totals and/or other formulas.

    I hope this helps.
    Attached Files Attached Files
    May the Forces of good computing be with you!

    RG

    VBA Rules!

    My Systems: Desktop Specs
    Laptop Specs


  8. The Following User Says Thank You to RetiredGeek For This Useful Post:

    MNN (2012-06-23)

  9. #7
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,212
    Thanks
    14
    Thanked 338 Times in 331 Posts
    How about this for P6:

    =IF(COUNT(H6:I6)<>2,"",IF(ISNUMBER(W6),W6,I6-H6))

    And for W6:
    =IF(P6&W6="","",IF(ISNUMBER(Y6),Y6,MAX(P6,W6)/H6))

    Steve

  10. The Following User Says Thank You to sdckapr For This Useful Post:

    MNN (2012-06-23)

  11. #8
    3 Star Lounger
    Join Date
    Jun 2005
    Posts
    348
    Thanks
    3
    Thanked 0 Times in 0 Posts
    It takes a villages. Thank you both.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •