+ Reply to Thread
Results 1 to 4 of 4

IF Formula Returning with the #VALUE! Error

  1. #1
    Forum Contributor garrett.grillo's Avatar
    Join Date
    06-19-2011
    Location
    San Francisco, California
    MS-Off Ver
    Excel 2010
    Posts
    188

    IF Formula Returning with the #VALUE! Error

    Hi Gang,

    I’m creating a new project cash flow report for my company and I’m having trouble in cell S13 (see attached/linked excel workbook below) with an IF formula returning with the #VALUE! error and I believe the error is partially due to the IF formula trying to read a cell with another formula.

    I need cell S13 and actually that whole S column to look at the related cells K13, N13, and U13 to when K13 is blank the S13 IF formula returns with a blank, so I do have that working perfectly.

    But, when K13 contains a number at the same time when P13 does not, S13 returns with #VALUE!

    What I need S13 to do is return with the sum (addition) between N13 and U13. If U13 contains a number and N13 is blank, then S13 adds the two cells together to return the numeric answer. If U13 does not contain a number and N13 is blank, then S13 again adds the two cells together which in this case would equal zero (0) and if the answer is zero (0), the formula will return with a blank cell and not the number zero (0).

    Please, I need the help as it’s already 2:30am here in the office, lol.

    #5 NG Line Replacement - Project Schedule and Cash Flow Forecast.xlsx

    Thank you,

    Garrett

  2. #2
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: IF Formula Returning with the #VALUE! Error

    It is throwing an error trying to add blank cells. If you want the blanks to come through as zero you can either put an if statement to say if "" then 0.

    For cell S13:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    to
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    A simpler way, but prone to showing 0 when there is ANY error not just one from the blank cell addition is changing
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    to
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Personally I would use the first approach.
    Last edited by Hawkeye16; 07-18-2014 at 05:43 AM. Reason: added formula tags
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

  3. #3
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: IF Formula Returning with the #VALUE! Error

    For colored cells from K7 onwards, use
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy this to other colored cells

    For other uncolored cells from K12 onwards, use
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy this to other uncolored cells.

    Refer attached workbook with corrected formulas.
    Attached Files Attached Files
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: IF Formula Returning with the #VALUE! Error

    Your formulas in R13 and S13 can actually be condensed to =IFERROR(S13/$K13,"") And =IFERROR(N13+U13,"") respectively. The IFERROR function will work for any instances.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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] formula is returning a value error
    By jboser in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-19-2014, 09:01 AM
  2. Formula returning a Value Error
    By Bailey031285 in forum Excel General
    Replies: 5
    Last Post: 09-16-2011, 11:22 PM
  3. Formula returning value error
    By keith6292 in forum Excel General
    Replies: 2
    Last Post: 08-07-2011, 03:10 PM
  4. formula returning value error
    By keith6292 in forum Excel General
    Replies: 4
    Last Post: 03-12-2010, 06:35 PM
  5. Formula returning #N/A Error---why???
    By Excel User in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-26-2005, 10:05 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