stuckagainexcel
New Member
- Joined
- May 16, 2016
- Messages
- 8
I have the data below I want to add all the values that match a certain date in a pair of column below, if the dates didn't duplicate I could do a hlookup but as they do, I'm a bit stuck.
For example my input would be "13/9/2021" and I would want the output in separate cells to show:
Row 1 total: 80
Row 2 total: 50
Row 3 total: 0
Row 4 total: 0
Row 5 total: 36
Row 6 total: 17
For example my input would be "13/9/2021" and I would want the output in separate cells to show:
Row 1 total: 80
Row 2 total: 50
Row 3 total: 0
Row 4 total: 0
Row 5 total: 36
Row 6 total: 17
Input | ||||||
Date | 13/09/2021 | 13/09/2021 | 21/09/2021 | 21/09/2021 | 21/09/2021 | 21/09/2021 |
Row 1 | 46 | 34 | 4 | 18 | 28 | 35 |
Row 2 | 32 | 18 | 4 | 19 | 10 | 26 |
Row 3 | 0 | 0 | 0 | 3 | 0 | 0 |
Row 4 | 0 | 0 | 7 | 10 | 0 | 10 |
Row 5 | 6 | 30 | 0 | 0 | 0 | 0 |
Row 6 | 0 | 17 | 0 | 0 | 0 | 0 |