+ Reply to Thread
Results 1 to 2 of 2

Count days based on 3 dates

  1. #1
    Registered User
    Join Date
    03-27-2012
    Location
    Glasgow
    MS-Off Ver
    Excel 2013
    Posts
    0

    Count days based on 3 dates

    Hi, I am looking to count the value of dates based on certain criteria.

    I have todays date in cell A1. I want to count how many nights stay (Cells I7-9) from Admission date (E7-9) to current date (A1), however it needs to only calculate if there is an admission date (E7-9) and stop calculation if we have a demission date (G7-9). If no admission date, the cell stay blank.

    I have worked out the formula to calculate this and it works if there is a demission date and stays blank if no admission date, however I am not getting a current number of days if there is an admission, but no demission yet.

    The formula I have in is =IF(ISBLANK($E9),"",($A$1-$E9)-($A$1-$G9)) HELP!!!

    TIA
    Angie
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello aange35,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Late count based on number of days between two dates for a list of dates
    By Keats713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-03-2017, 11:03 PM
  2. Late count based on number of days between two dates for a list of dates
    By Keats713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-03-2017, 06:35 PM
  3. Late count based on number of days between two dates for a list of dates
    By Keats713 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-03-2017, 02:19 PM
  4. Creating a count based on days and dates
    By distortthecode in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-26-2014, 11:39 AM
  5. Count days between dates based on criteria
    By efernandes67 in forum Excel General
    Replies: 9
    Last Post: 06-23-2012, 04:29 PM
  6. Completed and remaining days count based on the dates range
    By krjoshi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-21-2011, 01:59 PM
  7. Remaining days count based on the dates range
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2011, 11:47 AM

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