+ Reply to Thread
Results 1 to 2 of 2

Suppress dates in a cell with a formula until a linked starting date is entered

  1. #1
    Registered User
    Join Date
    07-24-2011
    Location
    Monument, CO
    MS-Off Ver
    Excel 2003
    Posts
    4

    Suppress dates in a cell with a formula until a linked starting date is entered

    Good morning--
    I've built an Excel 2010 spreadsheet (in Windows 7) with columns that have a formula that adds a certain number of days for projected date of discharge to the admit date that is entered when a patient admits to hospital. Right now, a 1/13/1900 date automatically defaults and populates in all the projected discharge date cells because the date of admit hasn't been filled in yet, and the cells are formatted as dates (obviously). Is there any way to prevent those bogus dates autopopulating until an actual admit date is entered? In other words, any way to keep them showing blank until the source date is entered? There may be a very simple solution--I'm just not familiar with advanced Excel settings. My hope is that there's a setting rather than having to write something that resembles programming--I'm lost in that arena. Thanks so much for any help anyone can give me.

  2. #2
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Suppress dates in a cell with a formula until a linked starting date is entered

    Hi shrinkydink,

    Yes this is possible. Using an IF statement, say admit date is in A1 and discharge date is in B1, you could write in B1:

    =IF(A1="","", *formula to work out discharge date*)

    Does this help?
    Did I help? Click *- add to my rep.

+ 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