+ Reply to Thread
Results 1 to 8 of 8

Complex Formula Involving Dates & Times -

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: Complex Formula Involving Dates & Times -

    The formula to give 1 for first and last appointment and 0 otherwise (Assuming this formula is in column O):

    Formula: copy to clipboard
    =IF(OR(COUNTIFS(B:B,"<"&B2,B:B,">"&INT(B2))=0,COUNTIFS(B:B,">"&B2,B:B,"<"&INT(B2)+1)=0),1,0)


    The formula to give 0 for first and last appointment and 1 otherwise:

    Formula: copy to clipboard
    =1-O2


    You can add an additional filter to see if the appointment has been canceled.
    Last edited by SlipEternal; 07-26-2017 at 11:02 AM.

+ 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. Indirect formula involving dates
    By hasters in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2016, 11:49 PM
  2. Tutoring: Complex Formula Structure Involving the IF Function
    By lila12 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-12-2015, 11:31 AM
  3. [SOLVED] Confusion and frustration with complex formula involving ROW, INDEX & SMALL
    By JC_LA_1979 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-29-2014, 09:46 AM
  4. [SOLVED] Formula involving times not working for specific hours, e.g. 22:00
    By kenle11 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-07-2013, 11:51 PM
  5. [SOLVED] Need IF Formula involving Dates and Accumulators
    By jrosko1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-29-2012, 08:53 AM
  6. Need help with formula involving dates
    By dataslinger in forum Excel General
    Replies: 2
    Last Post: 03-16-2010, 11:57 AM
  7. Complex manipulation of aggregated dates and times ?
    By fuzioneer in forum Excel General
    Replies: 7
    Last Post: 06-13-2007, 01:15 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