+ Reply to Thread
Results 1 to 4 of 4

Add Condition to simple formula

  1. #1
    Registered User
    Join Date
    04-08-2008
    Posts
    10

    Add Condition to simple formula

    Hi. Using Excel 2003. I have a very basic SUM formula I am using to show how many forms are still in-house. Pretty simple.

    Column D is how many came in.
    Column F is how many were completed.
    Column E is what is left.

    To get the daily count I take the previous day's Column E, add to today's Column D and subtract today's Column F.

    =(E2+D3-F3)
    Puts the results in E3.

    This formula is copied on down the worksheet which results in:
    =(E3+D4-F4), with the results in E4. And so on down Column E.

    The problem is that if there is no data entered in Column D or F, the results from E are carried (copied?) as far down as the forumla. i.e., if today's column E results in 4, then that is displayed for as far down as I have copied the formula. What I'd like to do is set the formula so that if there is no data in columns E or F, then there is nothing displayed in Column E. Appreciate any direction given.

    Thanks, Ken.
    Last edited by KennyE; 03-26-2009 at 12:29 PM. Reason: Solved

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Add Condition to simple formula

    Try this in cell E4:
    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    04-08-2008
    Posts
    10

    Re: Add Condition to simple formula

    Oh Yeah!!! That works. Many Thanks. ... Ken

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Add Condition to simple formula

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

    Also, please post in the correct forum in the future
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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