Forum Discussion

anahernandez22's avatar
anahernandez22
Copper Contributor
Aug 28, 2023

Formula Update Help

I need help with a formula on counting days. I currently have this formula on my Cell E to count the amount of days from a person's date of entry to today: =IF([@[Date of Entry]]="","",TODAY()-[@[Date of Entry]]).

 

I need help updating it to stop counting days when a date is placed in column Q labeled discharge date. The formula should count the amount of days from the date of entry to today and stop counting when a discharge date is added.

2 Replies

  • anahernandez22's avatar
    anahernandez22
    Copper Contributor
    I updated to protect personal information but this is the jist of it, I need for the column LOS to stop counting days once a date is entered under Discharge Date, for example the first one should be 11 not 112.
    Date of Entry LOS Discharge Date
    5/8/2023 112 5/19/2023
    5/8/2023 112 5/20/2023
    5/11/2023 109 5/22/2023
    5/12/2023 108 5/21/2023
    5/12/2023 108 5/14/2023
    5/13/2023 107 7/20/2023
    5/13/2023 107 6/24/2023
    5/13/2023 107 5/22/2023
    5/13/2023 107 7/2/2023
    5/17/2023 103 6/8/2023
    5/19/2023 101 6/5/2023
    5/19/2023 101 6/2/2023
    5/19/2023 101 6/10/2023
    5/29/2023 91 6/17/2023
    6/1/2023 88 6/10/2023
    6/2/2023 87 6/22/2023
    6/7/2023 82 7/5/2023
    6/8/2023 81 6/20/2023
    6/12/2023 77 6/24/2023
    6/12/2023 77 7/8/2023
    6/18/2023 71 7/8/2023
    6/20/2023 69 7/1/2023
    6/29/2023 60 8/6/2023
    6/30/2023 59 7/17/2023
    7/9/2023 50 8/3/2023
    7/21/2023 38
    7/30/2023 29 8/25/2023
    8/6/2023 22 8/18/2023
    8/12/2023 16
    8/22/2023 6
    8/22/2023 6
    8/26/2023 2
    8/28/2023 0
    8/28/2023 0
    8/28/2023 0
    8/28/2023 0
    8/28/2023 0
    8/28/2023 0
    8/28/2023 0






























Resources