+ Reply to Thread
Results 1 to 4 of 4

Formula for Concurrent Services

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    266

    Formula for Concurrent Services

    I am looking for a formula to identify concurrent services within a date range for a specific person and provider (different columns)

    See attached spreadsheet with a "before" and "after" sheet (column "E" is where formula would go in "After" sheet). Basically, for each person in column C with visits with prov ID 55555, it identifies if there any other services by other providers (not 55555) for same person during same timeframe.

    Any ideas? Assume some type of array formula. Thanks.

    Test.xlsx

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Formula for Concurrent Services

    This will sort of give you what you want (It indicates YES in the correct "pair")...
    =IF(COUNTIFS($C$2:$C$7,C2,$D$2:$D$7,"<>5555",$A$2:$A$7,">="&A2,$B$2:$B$7,"<="&B2)>1,"Yes","No")

    I am working on returning blank spaces for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Formula for Concurrent Services

    deleted my duplicate post
    Last edited by FDibbins; 04-23-2015 at 12:38 AM.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,707

    Re: Formula for Concurrent Services

    This is one way; this in E2 and filled down.
    Formula: copy to clipboard
    =IF(COUNTIF($C$2:$C2,C2)>1,"",IF(IFERROR(COUNTIFS($A2:$A$7,"<="&$A2,$B2:$B$7,">="&$B2,$D$2:$D$7,$D2),0),"Yes","No"))

+ 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. Generating a macro or a formula to Count different date of services
    By sulbaran in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-23-2015, 02:09 PM
  2. Concurrent Calls Formula
    By djfatboyfats in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-12-2015, 07:44 AM
  3. Need formula to sum all missing items in concurrent events.
    By amdoc in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-08-2013, 04:03 AM
  4. Excel Formula - Calculating concurrent phone calls in a call center
    By achooi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2013, 05:03 AM
  5. Formula for Continuous Services Dates
    By pvbridges in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2005, 08:51 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