Forum Discussion

Ian_in_the_NHS's avatar
Ian_in_the_NHS
Copper Contributor
Jun 04, 2019
Solved

Count of people on a ward for a list of dates

Morning everyone I'm using Office/Excel 2010 and have a long list of patients with a date they arrived on a ward and the date the left the ward; what i need is a count of all the people that are on ...
  • SergeiBaklan's avatar
    Jun 04, 2019

    Ian_in_the_NHS , if in A2 is 02 Apr, when 331 and 332 do not meet your condition (date in J is more than A2). I guess it shall be "more or equal to" like

    =SUMPRODUCT((A2>=$I$5:$I$537)*(A2<=$J$5:$J$537))

     

Resources