+ Reply to Thread
Results 1 to 4 of 4

how do I create or add to a formula . . .

  1. #1
    Steph
    Guest

    how do I create or add to a formula . . .

    Using the admission date in a spreadsheet, I have added a column that counts
    the number of days a patient is on service [=today()-B2+1]. Information
    regarding the patient stays on the spreadsheet for several days, even if the
    patient is discharged. I would like to know if it is possible to add to the
    formula, or create another that would stop counting if there is a date
    entered in the discharge column.

  2. #2
    Bob Phillips
    Guest

    Re: how do I create or add to a formula . . .

    =IF(C2<>"",C2-B2-1,TODAY()-B2-1)

    --
    HTH

    Bob Phillips

    "Steph" <[email protected]> wrote in message
    news:[email protected]...
    > Using the admission date in a spreadsheet, I have added a column that

    counts
    > the number of days a patient is on service [=today()-B2+1]. Information
    > regarding the patient stays on the spreadsheet for several days, even if

    the
    > patient is discharged. I would like to know if it is possible to add to

    the
    > formula, or create another that would stop counting if there is a date
    > entered in the discharge column.




  3. #3
    Steph
    Guest

    Re: how do I create or add to a formula . . .

    Thanks, Bob. The only change I had to make was a +1 instead of a -1, as we
    need to count the day of admission as 1 full day.
    Steph

    "Bob Phillips" wrote:

    > =IF(C2<>"",C2-B2-1,TODAY()-B2-1)
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > "Steph" <[email protected]> wrote in message
    > news:[email protected]...
    > > Using the admission date in a spreadsheet, I have added a column that

    > counts
    > > the number of days a patient is on service [=today()-B2+1]. Information
    > > regarding the patient stays on the spreadsheet for several days, even if

    > the
    > > patient is discharged. I would like to know if it is possible to add to

    > the
    > > formula, or create another that would stop counting if there is a date
    > > entered in the discharge column.

    >
    >
    >


  4. #4
    Bob Phillips
    Guest

    Re: how do I create or add to a formula . . .

    Doh! You actually said that in your original post.

    Bob

    "Steph" <[email protected]> wrote in message
    news:[email protected]...
    > Thanks, Bob. The only change I had to make was a +1 instead of a -1, as

    we
    > need to count the day of admission as 1 full day.
    > Steph
    >
    > "Bob Phillips" wrote:
    >
    > > =IF(C2<>"",C2-B2-1,TODAY()-B2-1)
    > >
    > > --
    > > HTH
    > >
    > > Bob Phillips
    > >
    > > "Steph" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > Using the admission date in a spreadsheet, I have added a column that

    > > counts
    > > > the number of days a patient is on service [=today()-B2+1].

    Information
    > > > regarding the patient stays on the spreadsheet for several days, even

    if
    > > the
    > > > patient is discharged. I would like to know if it is possible to add

    to
    > > the
    > > > formula, or create another that would stop counting if there is a date
    > > > entered in the discharge column.

    > >
    > >
    > >




+ 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