+ Reply to Thread
Results 1 to 6 of 6

Formula for counting if someone dates expired and no future date booked in

  1. #1
    Registered User
    Join Date
    01-04-2017
    Location
    Sheffield
    MS-Off Ver
    2010
    Posts
    42

    Formula for counting if someone dates expired and no future date booked in

    Hi thanks in advance for help.

    I have two columns of data one with the date of expiry for training and the one next to it with future dates booked in.

    I would like a formula to look at the first column and if the date is less than today's date and in the corresponding cell there is no date booked in or no writing (emailed, pending etc)

    I am expecting the following table to give me a count of 2 - cells C4 and C6 (see attachment)

    Name Training
    Expiry Date Future Enrolled Date
    Staff 1 06/05/19 06/05/18
    Staff 2
    Staff 3 13/01/20
    Staff 4 15/01/17
    Staff 5 20/02/17 04/05/17
    Staff 6 20/02/17 Emailed
    Staff 6 20/02/17 Pending
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Formula for counting if someone dates expired and no future date booked in

    "I would like a formula to look at the first column and if the date is less than today's date..."
    You mean the second column, the first column has staff numbers in it, there are no dates in the first column.

    "...and in the corresponding cell..."
    corresponding to what?

    "I am expecting the following table to give me a count of 2 - cells C4 and C6 (see attachment)"
    C4 and C6 are blank

    You need to explain more thoroughly.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    01-04-2017
    Location
    Sheffield
    MS-Off Ver
    2010
    Posts
    42

    Re: Formula for counting if someone dates expired and no future date booked in

    sorry - it was unclear ...i'll try again ...

    1 A B C
    2 Name Expiry Date Future Enrolled Date
    3 Staff 1 06/05/19 06/05/18
    4 Staff 2
    5 Staff 3 13/01/20
    6 Staff 4 15/01/17
    7 Staff 5 20/02/17 04/05/17
    8 Staff 6 20/02/17 Emailed
    9 Staff 6 20/02/17 Pending

    In the expiry date column (B) I would like the formula to look and see if the date is previous than today's date.

    Then I would like the formula to look at column C - which has dates and text and to see if anything is in those cells (ie not blank)

    I would like the formula to count up the number of times there is an out of date in B and a blank in C

    so in the example I am expecting to get a count of 2

    Please let me know if it is still unclear

    many thanks

  4. #4
    Registered User
    Join Date
    01-04-2017
    Location
    Sheffield
    MS-Off Ver
    2010
    Posts
    42

    Re: Formula for counting if someone dates expired and no future date booked in

    the attachment shows the example better as its in excel

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Formula for counting if someone dates expired and no future date booked in

    Try

    =SUMPRODUCT((B3:B9 < TODAY())*(C3:C9=""))

    I tried this

    =COUNTIFS(B3:B9,"<"&TODAY(),C3:C9,"")

    but am getting a result of 1.

    Looks like SUMPRODUCT() counts null cells but COUNTIFS() doesn't

  6. #6
    Registered User
    Join Date
    01-04-2017
    Location
    Sheffield
    MS-Off Ver
    2010
    Posts
    42

    Re: Formula for counting if someone dates expired and no future date booked in

    excellent thanks - i'll give that a try

+ 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. [SOLVED] If and Date formula notification for future dates
    By Wikster7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-10-2015, 05:30 PM
  2. [SOLVED] Formula needed for future date using variable text from 1 column and dates from another.
    By KennySJT in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-09-2014, 08:14 AM
  3. [SOLVED] formula that can count number of orders booked on a Date ignoring duplicates
    By Frankmed in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-20-2013, 05:26 PM
  4. Compare expired dates to a required date and sum available inventory
    By emiliekatherine in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2012, 02:02 PM
  5. Counting number of expired dates
    By cloudstrife123456 in forum Excel General
    Replies: 3
    Last Post: 07-29-2011, 05:55 AM
  6. Counting down from future date/time to NOW()
    By pol141 in forum Excel General
    Replies: 3
    Last Post: 04-05-2011, 10:35 PM
  7. [SOLVED] Counting dates for a the present month but not future months
    By BrianInCalifornia in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-06-2005, 10:15 PM

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