Results 1 to 10 of 10

Thread: Get Unique days per MD per patient

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Expert shrivallabha's Avatar
    Joined
    Jan 2010
    Location
    Mumbai
    Posts
    744
    Location
    See if this works on the whole sheet as it seems to work with the data you gave. ARRAY ENTERED:
    =SUM(($B$2:$B$17=$E2)*$C$2:$C$17*(ROW($A$2:$A$17)=(MATCH($A$2:$A$17&$B$2:$B$17,$A$2:$A$17&$B$2:$B$17,0)+1)))
    I am attaching the worksheet where you will find this formula in Col I.
    Attached Files Attached Files
    Regards,
    --------------------------------------------------------------------------------------------------------
    Shrivallabha
    --------------------------------------------------------------------------------------------------------
    Using Excel 2016 in Home / 2010 in Office
    --------------------------------------------------------------------------------------------------------

  2. #2
    VBAX Regular
    Joined
    Dec 2008
    Posts
    85
    Location
    Hi Shrivallabha

    Brilliant use of the concatenation ranges in the match function.

    That is the solution I was looking for.

    Bye, until next time.

    Thanks all for the interest in help me.

    Happy holidays to all!

    Victor

  3. #3
    VBAX Expert shrivallabha's Avatar
    Joined
    Jan 2010
    Location
    Mumbai
    Posts
    744
    Location
    Thanks to this forum and MrExcel where I have seen great formula solutions being provided. Its all taken from here.
    Wish you happy holidays. Have fun
    Regards,
    --------------------------------------------------------------------------------------------------------
    Shrivallabha
    --------------------------------------------------------------------------------------------------------
    Using Excel 2016 in Home / 2010 in Office
    --------------------------------------------------------------------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •