+ Reply to Thread
Results 1 to 3 of 3

Formula (SUM & IF) to ignore a blank cell?

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2013 (beta)
    Posts
    2

    Formula (SUM & IF) to ignore a blank cell?

    Hi,

    I'm trying to make a weight loss spreadsheet (it is January after all!), where you enter your weight in the cells on a weekly basis. Depending on weight compared to target, using an IF formula, you get a message (well done etc).

    However, due to the SUM formula in the 'Actual Loss' column, the next week thinks you have lost ALL your weight - as there is nothing in the cell.

    So, is there a way to keep the formula, but get the cell to ignore a blank (the message shows well done for the rest of the comment boxes).

    (I'm possibly struggling to explain properly, i've attached a copy of sheet to let you se what I mean).

    Ideally I want the remaining (future) weeks to be blank and the SUM & IF formula cells to remain blank until a weight is entered...

    Thanks.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Formula (SUM & IF) to ignore a blank cell?

    Put the following formula in J11 and drag down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    You can apply this same change to any other formula: =if(f11="","",xxxxxx)
    Please click the * icon below if I have helped.

  3. #3
    Registered User
    Join Date
    01-24-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2013 (beta)
    Posts
    2
    Thanks. I will try this!

+ 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