Spreadsheet: 764152d1642609011-multi-criteria-get-a-list-from-high-to-low-forumhelp_01-19-ans1
Sheet: Sheet1

Date Start | 2022-01-01 00:00:00 | Date End | 2022-01-16 00:00:00 |  |  |  |  |  |  |  | Code | Name | Amount | Date | Type |  | adult | Child
 | adult |  |  |  | Child |  |  |  |  |  | 30 | [NAME] | 599 | 2022-01-11 00:00:00 | Child
Item | Code | Name | Total amount | Item | Code | Name | Total amount |  |  |  | 25 | cheves | 690 | 2021-01-11 00:00:00 | adult
1 |  |  |  | 1 |  |  |  |  |  |  | 24 | dee | 456 | 2021-01-11 00:00:00 | adult
2 |  |  |  | 2 |  |  |  |  |  |  | 37 | hellen | 555 | 2022-01-11 00:00:00 | adult
3 |  |  |  | 3 |  |  |  |  |  |  | 59 | zucca | 3333 | 2021-01-11 00:00:00 | Child
4 |  |  |  | 4 |  |  |  |  |  |  | 68 | [NAME] | 555 | 2021-01-11 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 30 | [NAME] | 66 | 2022-01-11 00:00:00 | Child
 |  |  |  |  |  |  | NOTE:Column R and S are helper columns |  |  |  | 25 | cheves | 3334 | 2021-01-11 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 24 | dee | 6602 | 2021-01-11 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 37 | hellen | 9870 | 2022-01-11 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 59 | zucca | 13138 | 2022-01-12 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 68 | [NAME] | 16406 | 2022-01-13 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 30 | [NAME] | 19674 | 2022-01-14 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 25 | cheves | 22942 | 2022-01-15 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 24 | dee | 26210 | 2022-01-16 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 30 | [NAME] | 29478 | 2022-01-17 00:00:00 | Child
Date Start | 2022-01-01 00:00:00 | Date End | 2022-01-16 00:00:00 |  |  |  |  |  |  |  | 25 | cheves | 32746 | 2022-01-12 00:00:00 | adult
 | adult |  |  |  | Child |  |  |  |  |  | 24 | dee | 36014 | 2022-01-16 00:00:00 | adult
Item | Code | Name | Total amount |  | Code | Name | Total amount |  |  |  | 37 | hellen | 39282 | 2022-01-17 00:00:00 | adult
1 | 24 | dee | 62224 |  | 59 | zucca | 68826 |  |  |  | 59 | zucca | 42550 | 2022-01-12 00:00:00 | Child
2 | 25 | cheves | 55688 |  | 68 | [NAME] | 62224 |  |  |  | 68 | [NAME] | 45818 | 2022-01-16 00:00:00 | Child
3 | 37 | hellen | 10980 |  | 30 | [NAME] | 20938 |  |  |  | 30 | [NAME] | 599 | 2022-01-11 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 25 | cheves | 690 | 2021-01-11 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 24 | dee | 456 | 2021-01-11 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 37 | hellen | 555 | 2022-01-11 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 59 | zucca | 3333 | 2021-01-11 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 68 | [NAME] | 555 | 2021-01-11 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 30 | [NAME] | 66 | 2021-01-11 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 25 | cheves | 3334 | 2021-01-11 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 24 | dee | 6602 | 2021-01-11 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 37 | hellen | 9870 | 2021-01-11 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 59 | zucca | 13138 | 2022-01-12 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 68 | [NAME] | 16406 | 2021-01-13 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 30 | [NAME] | 19674 | 2021-01-14 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 25 | cheves | 22942 | 2021-01-15 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 24 | dee | 26210 | 2021-01-16 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 30 | [NAME] | 29478 | 2021-01-17 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 25 | cheves | 32746 | 2021-01-12 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 24 | dee | 36014 | 2021-01-16 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 37 | hellen | 39282 | 2021-01-17 00:00:00 | adult
 |  |  |  |  |  |  |  |  |  |  | 59 | zucca | 42550 | 2021-01-12 00:00:00 | Child
 |  |  |  |  |  |  |  |  |  |  | 68 | [NAME] | 45818 | 2021-01-16 00:00:00 | Child