kumara_faith
Well-known Member
- Joined
- Aug 19, 2006
- Messages
- 928
- Office Version
- 365
Hi,
I have the following input data :
In another table, I am trying to summarize the data based on expense type as follows (sample of correct results). The expenses are grouped and is in order of highest to lowest expense type.
I tried using SORT function but I could not get it right. Appreciate any help:
I have the following input data :
Expense Tracker.xlsx | ||||||
---|---|---|---|---|---|---|
B | C | D | E | |||
7 | Date | Expense | Amount (INR) | Amount (RM) | ||
8 | Sunday, 30 October, 2022 | Biscuit | 200 | 11 | ||
9 | Sunday, 30 October, 2022 | Biscuit | 250 | 14 | ||
10 | Monday, 31 October, 2022 | Book | 150 | 9 | ||
11 | Tuesday, 1 November, 2022 | Book | 100 | 6 | ||
12 | Thursday, 3 November, 2022 | Breakfast | 200 | 11 | ||
Expense Journal |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E8:E12 | E8 | =IF(D8="","",D8/$E$2) |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B8:B356 | List | =Date |
C8:C470 | List | =Expense1 |
In another table, I am trying to summarize the data based on expense type as follows (sample of correct results). The expenses are grouped and is in order of highest to lowest expense type.
Expense Tracker.xlsx | |||||
---|---|---|---|---|---|
G | H | I | |||
7 | Expense | Amount(INR) | Amount(MYR) | ||
8 | Biscuit | 450 | 26 | ||
9 | Book | 300 | 14 | ||
10 | Breakfast | 200 | 11 | ||
Expense Journal |
I tried using SORT function but I could not get it right. Appreciate any help:
Expense Tracker.xlsx | |||||
---|---|---|---|---|---|
G | H | I | |||
15 | Expense | Amount(INR) | Amount(MYR) | ||
16 | Biscuit | 250 | 14 | ||
17 | Biscuit | 200 | 11 | ||
18 | Breakfast | 200 | 11 | ||
19 | Book | 150 | 9 | ||
20 | Book | 100 | 6 | ||
Expense Journal |
Cell Formulas | ||
---|---|---|
Range | Formula | |
G16:I20 | G16 | =SORT(C8:E12,2,-1) |
Dynamic array formulas. |