Consolidate duplicate Names

datastudent

New Member
Joined
Sep 7, 2021
Messages
49
Office Version
  1. 365
Platform
  1. Windows
Hi!

I have a table where I used the filter function (column AC:AJ). Then a second table where I want the category on the first table to show and how much it cost. I would like to ask for help on how I can combine the duplicate names in my second table (column AL)?

Income & Expense Tracker.xlsx
ACADAEAFAGAHAIAJAKALAM
1
2MONTHYEARDATETYPECATEGORYAMOUNTDESCRIPTIONCATEGORYAMOUNT
3March20243/15/2024ExpensePlywood3,000.000Plywood3,000.00
4March20243/15/2024ExpenseCar Maintenance3,000.000Car Maintenance3,000.00
5March20243/15/2024ExpenseCat Food1,270.00dry and 3 can of wet foodCat Food1,270.00
6March20243/22/2024ExpenseRenew Car Register3,060.000Renew Car Register3,060.00
7March20243/21/2024ExpenseGas300.000Gas300.00
8March20243/22/2024ExpenseDog Grooming530.0030 for the diaperDog Grooming530.00
9March20243/24/2024ExpenseSkin Care300.000Skin Care478.00
10March20243/25/2024ExpenseIpad Loan6,100.000Ipad Loan6,100.00
11March20243/26/2024ExpenseInternet1,500.000Internet1,500.00
12March20243/26/2024ExpenseCar Loan12,200.000Car Loan12,200.00
13March20243/26/2024ExpenseSt. Peter2,300.00100 for DRNSt. Peter2,300.00
14March20243/26/2024ExpenseSkin Care178.000Skin Care478.00
15- 
16- 
Monthly Overview
Cell Formulas
RangeFormula
AC3:AJ14AC3=FILTER(TRANSACTIONS,(TRANSACTIONS[TYPE]=C11)*(TRANSACTIONS[MONTH]=E7)*(TRANSACTIONS[YEAR]=E8))
AL3:AL16AL3=IF(AG3="","-",AG3)
AM3:AM16AM3=IF(AG3<>"",SUMIF($AG:$AG,AL3,$AI:$AI),"")
Dynamic array formulas.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
How about
Fluff.xlsm
ACADAEAFAGAHAIAJAKALAM
1
2
3March20243/15/2024ExpensePlywood30000Plywood3000
4March20243/15/2024ExpenseCar Maintenance30000Car Maintenance3000
5March20243/15/2024ExpenseCat Food1270dry and 3 can of wet foodCat Food1270
6March20243/22/2024ExpenseRenew Car Register30600Renew Car Register3060
7March20243/21/2024ExpenseGas3000Gas300
8March20243/22/2024ExpenseDog Grooming53030 for the diaperDog Grooming530
9March20243/24/2024ExpenseSkin Care3000Skin Care478
10March20243/25/2024ExpenseIpad Loan61000Ipad Loan6100
11March20243/26/2024ExpenseInternet15000Internet1500
12March20243/26/2024ExpenseCar Loan122000Car Loan12200
13March20243/26/2024ExpenseSt. Peter2300100 for DRNSt. Peter2300
14March20243/26/2024ExpenseSkin Care1780
Data
Cell Formulas
RangeFormula
AC3:AJ14AC3=A3:H14
AL3:AL13AL3=UNIQUE(INDEX(AC3#,,5))
AM3:AM13AM3=SUMIFS(AI:AI,AG:AG,AL3#)
Dynamic array formulas.
 
Upvote 1
Solution
How about
Fluff.xlsm
ACADAEAFAGAHAIAJAKALAM
1
2
3March20243/15/2024ExpensePlywood30000Plywood3000
4March20243/15/2024ExpenseCar Maintenance30000Car Maintenance3000
5March20243/15/2024ExpenseCat Food1270dry and 3 can of wet foodCat Food1270
6March20243/22/2024ExpenseRenew Car Register30600Renew Car Register3060
7March20243/21/2024ExpenseGas3000Gas300
8March20243/22/2024ExpenseDog Grooming53030 for the diaperDog Grooming530
9March20243/24/2024ExpenseSkin Care3000Skin Care478
10March20243/25/2024ExpenseIpad Loan61000Ipad Loan6100
11March20243/26/2024ExpenseInternet15000Internet1500
12March20243/26/2024ExpenseCar Loan122000Car Loan12200
13March20243/26/2024ExpenseSt. Peter2300100 for DRNSt. Peter2300
14March20243/26/2024ExpenseSkin Care1780
Data
Cell Formulas
RangeFormula
AC3:AJ14AC3=A3:H14
AL3:AL13AL3=UNIQUE(INDEX(AC3#,,5))
AM3:AM13AM3=SUMIFS(AI:AI,AG:AG,AL3#)
Dynamic array formulas.
Hi @Fluff ,
I tried the formula for AL3 but I'm getting a #SPILL! :(
 
Upvote 0
You're using the FILTER function (exclusive to Ex365) while your profile indicates that you're using Ex2016. Which one are you actually using?
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,934
Messages
6,175,487
Members
452,647
Latest member
MatthewBiersay

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top