Item no. | Catagory | Date | Amt |
A | T01 | 1/1/2017 | 10 |
A | T01 | 1/5/2017 | 15 |
A | T01 | 5/5/2018 | 20 |
B | T01 | 1/1/2017 | 15 |
B | T01 | 1/1/2017 | 15 |
B | T02 | 1/1/2017 | 15 |
..... |
<tbody>
</tbody>
I'm trying to determine the item no. under catagory "T01", within a period from 1/1/2017 to 1/31/2017 contributed highest amt, without using sum column or helper column. Is there a way to do this?
For example here, the sum of Item A under T01 within this period 25 and the sum of item B under T01 within this period is 30 - the highest based on the data provided is "item B"
I want to show the information in the list below, Red text are determined by formular.
Description | Catagory | Start Date | End Date | Item no. | Amt |
Top Item Jan17 | T01 | 1/1/2017 | 1/31/2017 | B | 30 |
Second Item Jan17 | T01 | 1/1/2017 | 1/31/2017 | A | 25 |
Top item Jan17 | T01 and T01 | 1/1/2017 | 1/31/2017 | B | 45 |
<tbody>
</tbody>
I have researched online to find the answer - but it's quite difficult to apply the logic - I attached the links here -
Find Largest Sum and Item using an Array Formula:
https://www.mrexcel.com/forum/excel-questions/855461-find-largest-sum-item-using-array-formula.html
How to find the item with the largest sum in a table range?
https://www.extendoffice.com/documents/excel/4068-excel-find-largest-sum.html
Thank you for your kind attention!