Did some more work on this and here are some revised formulas. This will calculate the service count for each date/consumer combination in the chart and add the up, down and side arrows to the cells. I expanded the original data to include four dates to show the layout as it would be with a larger data sample. See the screenshot below.
Use this formula in F2 and expand to include all of your data. Here it is with the range expanded to B500. It can be greater than the current data to allow for additional data to be added, so make it large enough to accommodate all future data.
=LET(F,UNIQUE(FILTER($A$2:$B$500,$A$2:$A$500<>0)),SORTBY(F,CHOOSECOLS(F,2),1,CHOOSECOLS(F,1),1))
In H2 use this with the Row 225 references expanded if needed to include all the rows of the unique list in Columns F and G. Fill across and down for all services and all rows with unique date/consumer data. It can be filled into more rows than you need to allow for additional consumers and dates to be added. The formula can be filled down as far as needed to accommodate all future data additions. It can be filled into rows that are currently empty and will result in a blank cell in those rows.
=IF(F2="","",LET(s,SUMIFS($D$2:$D$225,$A$2:$A$225,$F2,$B$2:$B$225,$G2,$C$2:$C$225,H$1),s&" "&IFERROR(IFS(AND($G2=$G1,s>--TEXTBEFORE(H1," ")),"↑",AND($G2=$G1,s<--TEXTBEFORE(H1," ")),"↓",AND($G2=$G1,s=--TEXTBEFORE(H1," ")),"→"),"")))
For the Conditional Formatting if desired follow steps 1-4 in the answer above with these formulas;
Rule 1: greater number of service count formatted green.
=IF(AND($G2=$G1,--TEXTBEFORE(H2," ")>--TEXTBEFORE(H1," ")),TRUE,FALSE)
Rule 2: lesser number of service count formatted red (white text optional).
=IF(AND($G2=$G1,--TEXTBEFORE(H2," ")<--TEXTBEFORE(H1," ")),TRUE,FALSE)
Rule 3: no change in service count formatted yellow?? if desired.
=IF(AND($G2=$G1,--TEXTBEFORE(H2," ")=--TEXTBEFORE(H1," ")),TRUE,FALSE)
