I have many large excel files that I need an easy way to combine daily totals for each person (a pivot table is not going to work for me on this one). My example is one of the smaller files, and it has 22,176 rows of data. The hours are listed in column H, and a person could have anywhere from 1 to 5 (or more) rows of hours for a day. I have already done conditional formatting to visually differentiate between the days (that's where the number in column I comes from). So now I need a total for each date, preferably on the last line of each date.
So in my example:
for 12/20/20, I need the sum of H2:H4 in J4
for 12/23/20, I need the sum of H5:H6 in J6
for 12/24/20, I need the sum of H7:H8 in J8
for 12/25/20, since there is only one entry for that day, I need the number in H9 to be in J9, etc
It doesn't matter to me if the formula is based on the color, the date, or the number in column I. I also have Kutools installed if that is easier. I have used Excel for most of my life and can usually figure these things out. As I typed this it seems so simple, but I just can't get there on this one. I have been looking for a solution and have not been able to find one.
Please let me know if additional information is needed. Thank you in advance for any assistance!! Example