list formula

Ev1lZer0

New Member
Joined
Sep 26, 2022
Messages
34
Office Version
  1. 365
Platform
  1. Windows
I am hoping to generate a list that would list out every instance of a certain category across multiple sheets.

I am running a spreadsheet that has 12 sheets (one for each month) and I am hoping to have a 13th page that would list out every expense on that spreadsheet sorted by category. Each instance would have to list a range as i would want to know the card used, date it happened, description, category and cost. all of which is manually input by me. I would also want this list to update as i input more information. either automatically or right-clicking ans selecting update would work. I'm open to pivot tables if that's that best solution and if they work across multiple sheets, im also open to a list formula or other options i haven't considered.

This may not be explained well, and I may need to answer some questions to get what I want. I have listed two examples, and these appear exactly the same on every page. I have also included a list of categories i use.

Credit Card
Credit CardDateDescriptionCategoryAmount
Double Cash1/1/2023God Squad ChurchCharitable Giving: Tithe$102.50
Costco1/2/2023TwitchCharitable Giving: Tithe$10.82
Costco1/5/2023CC Payment - Costco$827.18
Costco1/7/2023WalmartGroceries$16.61
Costco1/7/2023WalmartGroceries$60.60
Costco1/7/2023CostcoGroceries$1.62
Double Cash1/8/2023Tickets: Cubs/MarinersSavings: Travel / Vacations$76.00
Costco1/8/2023Ay CarambaGroceries$9.47
Amazon1/9/2023Amazon - Laundry BagsGroceries$8.97
Amazon1/11/2023Amazon - Card SleevsAllowance: Johns$16.19
Amazon1/14/2023Crystal LightGroceries$29.41
Double Cash1/15/2023CC Payment - Double$1,565.15
Amazon1/15/2023CC Payment - Amazon$186.74
Amazon1/17/2023Christmas LightsSavings: Christmas Decor$37.91
Amazon1/18/2023Food Saver BagsGroceries$21.17
Costco1/12/2023CostcoGroceries$82.05
Costco1/17/2023Red RobbinDating & Entertainment$41.52
Costco1/19/2023SQ CoffeeCharitable Giving: Blessing Money$6.50
Costco1/19/2023Costco GasVehicle: Fuel$51.41
Costco1/21/2023WraysGroceries$0.38
Costco1/12/2023Costco Groceries$10.77
Costco1/25/2023CC Payment - Costco$432.73
Double Cash1/15/2023nteract MinistriesCharitable Giving: Offerings & Missions$30.00
Double Cash1/15/2023HYTTOUBNCharitable Giving: Blessing Money$104.00
Double Cash1/18/2023LH AtlantaCharitable Giving: Blessing Money$54.14
Double Cash1/19/2023EtsySavings: Baby$14.80
Double Cash1/19/2023SpectrumHousehold: Utilities: Spectrum$54.99
Double Cash1/19/2023Studio EHair Cut$39.10
Double Cash1/20/2023NWMNCharitable Giving: Tithe$280.00
Double Cash1/20/2023Stone ChurchCharitable Giving: Tithe$102.20
Double Cash1/20/2023AG - DuesCharitable Giving: Tithe$25.00
Double Cash1/21/2023Jewlers MutualExpense: AFL ($180), Costco ($65), Amazon ($130), Ring ($65), & Ring Ins. ($50), Keeper ($38), iCloud ($36)$47.00
Double Cash1/21/2023Steins - Door lock & Sprinkler TimerNew Home$111.33
Double Cash1/21/2023Ace - Trager drip TraysGroceries$42.05
Amazon1/25/2023CC Payment - Amazon$88.49
Double Cash1/25/2023Integrity InspectionsNew Home$525.00
Amazon1/31/2023Movie RentalDating & Entertainment$6.49
Double Cash1/27/2023IsagenixGroceries$609.28
Costco1/24/2023DQ Dating & Entertainment$7.13
Costco1/26/2023Apple MusicDating & Entertainment$12.34
Costco1/26/2023Apple MusicGroceries$12.34
Costco1/28/2023WraysGroceries$13.02


Debit Card
NotesAccountDateDescriptionCategoryTransfer FundsAmount $$$
Chase1/13/2022Expense: AFL ($180), Costco ($65), Amazon ($130), Ring ($65), & Ring Ins. ($50), Keeper ($38), iCloud ($36)Chase Savings$50.00
Chase1/13/2022Expense: Car InsuranceChase Savings$85.00
Chase1/13/2022Expense: Home InsuranceChase Savings$95.00
Chase1/13/2022Expense: Household: Property TaxChase Savings$310.00
Chase1/13/2022Savings: Travel / VacationsChase Savings$350.00
Chase1/13/2022Savings: GeneralChase Savings$857.00
Chase1/13/2022BabyChase Savings$300.00
Chase1/13/2022InvestmentsChase Savings$300.00
Chase1/3/2023Erin's December Tithe$335.14
Chase1/3/2023Tickets MLBChase Savings$29.05
Chase1/5/2023MortgaeHousehold: Mortgage$1,436.81
Chase1/5/2023CC Payment - Costco$827.18
Chase1/5/2023Cascade GasHousehold: Utilities: Cascade Natural Gas$128.41
$1,547.04Chase1/10/2023YC Payroll - Erin$1,211.06
$2,646.17Chase1/10/2023YC Payroll - John$2,056.52
Chase1/13/2023Tickets Mariner/CubsChase Savings$76.00
Chase1/13/2023Savings: Christmas DecorChase Savings$40.00
Chase1/15/2023CC Payment - Double$1,565.15
Chase1/15/2023CC Payment - Amazon$186.74
Chase1/17/2023WiseCharitable Giving: Offerings & Missions$30.00
Chase1/18/2023Apple Cash - Erins DécorAllowance: Erins$48.00
Chase1/18/2023Pacific PowerHousehold: Utilities: Pacific Power$85.81
Chase1/20/2023ZellePhone$44.28
Chase1/23/2023Christmas LightsChase Savings$37.91
Chase1/23/2023Ring Ins & Baby AnnouncementChase Savings$61.80
Check # 2019Chase1/23/2023Escrow for 4406New Home$7,000.00
Chase1/23/2023Escrow for 4406Chase Savings$7,000.00
Chase1/24/2023Interest$0.03
Chase1/25/2023CC Payment - Costco$432.73
Chase1/25/2023CC Payment - Amazon$88.49
1589.6Chase1/25/2023YC Payroll - Erin$1,251.37
2674.4Chase1/25/2023YC Payroll - John$2,077.38
Chase1/25/2023YC Reimbursment - mialage$30.63
Chase1/25/2023Student Loans$60.00
Check # 2020Chase Savings1/26/2023Savings TransferMorgan$1,000.00
Chase Savings1/26/2023Savings: General$0.83
Chase1/27/2023VerizonPhone$290.29
Morgan1/31/2023Interest$0.64


Category
Allowance: Erins
Allowance: Johns
ATM Fees & Other Fees
Charitable Giving: Blessing Money
Charitable Giving: Offerings & Missions
Charitable Giving: Tithe
Clothing: Erins
Clothing: Johns
Dating & Entertainment
Expense: AFL ($180), Costco ($65), Amazon ($130), Ring ($65), & Ring Ins. ($50), Keeper ($38), iCloud ($36)
Expense: Car Insurance
Expense: Home Insurance
Expense: Household: Property Tax
Fitness
Gifts
Groceries
Hair Cut
Household: Décor
Household: Small Appliances
Household: Furnishings
Household: Home Improvement
Household: Mortgage
Household: Utilities: Cascade Natural Gas
Household: Utilities: Nob Hill Water
Household: Utilities: Pacific Power
Household: Utilities: Spectrum
Household: Utilities: Yakima Waste
Medical
New Home
Personal Enrichment
Phone
Savings: Christmas Decor
Savings: General
Savings: Travel / Vacations
Student Loans
Vehicle: Erins Car Maintenance
Vehicle: Fuel
Savings: Baby
Savings: Investments
 
Unfortunately, I think were speaking different languages.

When you gave me the formula above, you mentioned that I would need to change it to reflect the names of my worksheets. but what you just said does not make sense.

Sorry, I'm not trying to be rude, I am just so utterly lost at this point.
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Ev1lZer0.xlsm
A
11. You are not rude, you're trying to solve a problem.
22. You do not specifically give how you have named your 12 monthly sheets. I am guessing.
33. I suggested using VSTACK to vertically concatenate similar columns.
44. Because Credit and Debit sheets have differen columns, you MUST separate the CREDIT and DEBIT for each month 12 * 2 (24 sheets)
55. Grouping Sheets in formulas is possible, but the sheets must be in consecutive order at the bottom of the tabs.
66. The VSTACK formulas I gave, only answer 1/3 of your question. It does nothing for getting your data out. It just organizes everthing for better reporting.
Sheet2



Ev1lZer0.xlsm
ABCDEFGHIJKLM
8My guess as to your worksheet names:JAN23FEB23MAR23APR23MAY23JUN23JUL23AUG23SEP23OCT23NOV23DEC23
9To create the credit card tabCRDJAN23CRDFEB23CRDMAR23CRDAPR23CRDMAY23CRDJUN23CRDJUL23CRDAUG23CRDSEP23CRDOCT23CRDNOV23CRDDEC23
10To create the debit card tabDEBJAN23DEBFEB23DEBMAR23DEBAPR23DEBMAY23DEBJUN23DEBJUL23DEBAUG23DEBSEP23DEBOCT23DEBNOV23DEBDEC23
Sheet2
 
Upvote 0
currently, this is what I'm working with:

It works but it's extremely bulky.

Obviously, each column is far longer, but it's just spill from each formula.

I also created a new label for each category.

This is working exactly how I want it to, but I'm wondering about how I can make it so that each new category is underneath the previous category shifting down each time to allow for more spilling.
Finances 2023.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBVBWBXBYBZCACBCCCDCECFCGCHCICJCKCLCMCNCOCPCQCRCSCTCUCVCWCXCYCZDADBDCDDDEDFDGDHDIDJDKDLDMDNDODPDQDRDSDTDUDVDWDXDYDZEAEBECEDEEEFEGEHEIEJEKELEMENEOEPEQERESETEUEVEWEXEYEZFAFBFCFDFEFFFGFHFIFJFKFLFMFNFOFPFQFRFSFTFUFVFWFXFYFZGAGBGCGDGEGFGGGHGIGJGKGLGMGNGOGPGQGRGSGTGUGVGWGXGYGZHAHBHCHDHEHFHGHHHIHJHKHLHMHNHOHPHQHRHSHTHUHVHWHXHYHZIAIBICIDIEIFIGIHIIIJIKILIMINIOIPIQIRISITIUIVIWIXIYIZJAJBJCJDJEJFJGJHJIJJJKJLJMJNJOJPJQJRJSJT
1Double Cash44927God Squad ChurchCharitable Giving: Tithe-102.5#N/AGiftsAllowance: ErinsAllowance: JohnsATM Fees & Other FeesCharitable Giving: Blessing MoneyCharitable Giving: Offerings & MissionsCharitable Giving: TitheClothing: ErinsClothing: JohnsDating & EntertainmentExpense: AFL ($180), Costco ($65), Amazon ($130), Ring ($65), & Ring Ins. ($50), Keeper ($38), iCloud ($36)Expense: Car InsuranceExpense: Home InsuranceExpense: Household: Property TaxFitnessGroceriesHair CutHousehold: DécorHousehold: Small AppliancesHousehold: FurnishingsHousehold: Home ImprovementHousehold: MortgageHousehold: Utilities: Cascade Natural GasHousehold: Utilities: Nob Hill WaterHousehold: Utilities: Pacific PowerHousehold: Utilities: SpectrumHousehold: Utilities: Yakima WasteMedicalNew HomePersonal EnrichmentPhoneSavings: Christmas DecorSavings: GeneralSavings: Travel / VacationsStudent LoansVehicle: Erins Car MaintenanceVehicle: FuelSavings: BabySavings: Investments
2Costco44928TwitchCharitable Giving: Tithe-10.82#N/AChase44929Tickets MLBgiftsChase Savings29.05Chase44944Apple Cash - Erins DécorAllowance: Erins0-48Amazon44937Amazon - Card SleevsAllowance: Johns-16.19#N/ADouble Cash45007Travelers House ReimburseATM Fees & Other Fees171#N/ACostco44945SQ CoffeeCharitable Giving: Blessing Money-6.5#N/ADouble Cash44941nteract MinistriesCharitable Giving: Offerings & Missions-30#N/ADouble Cash44927God Squad ChurchCharitable Giving: Tithe-102.5#N/A#CALC!Costco44989Americain Eagle - UnderwareClothing: Johns-88.11#N/ACostco44943Red RobbinDating & Entertainment-41.52#N/ADouble Cash44947Jewlers MutualExpense: AFL ($180), Costco ($65), Amazon ($130), Ring ($65), & Ring Ins. ($50), Keeper ($38), iCloud ($36)-47#N/A#CALC!#CALC!#CALC!Amazon44962Amazon: Neoprene WeightsFitness-35.61#N/ACostco44933WalmartGroceries-16.61#N/ADouble Cash44945Studio EHair Cut-39.1#N/ACostco45004TargetHousehold: Décor-151.62#N/A#CALC!#CALC!Double Cash44994U-haulHousehold: Home Improvement-89.07#N/AChase44931MortgaeHousehold: Mortgage0-1436.81Chase44931Cascade GasHousehold: Utilities: Cascade Natural Gas0-128.41Chase44974Nob Hill WaterHousehold: Utilities: Nob Hill Water0-57.73Chase44944Pacific PowerHousehold: Utilities: Pacific Power0-85.81Double Cash44945SpectrumHousehold: Utilities: Spectrum-54.99#N/ADouble Cash44972City Of YakimaHousehold: Utilities: Yakima Waste-123.04#N/A#CALC!Double Cash44947Steins - Door lock & Sprinkler TimerNew Home-111.33#N/A#CALC!Chase44946ZellePhone044.28Amazon44943Christmas LightsSavings: Christmas Decor-37.91#N/AChase Savings449520Savings: General00.83Double Cash44934Tickets: Cubs/MarinersSavings: Travel / Vacations-76#N/AChase44979Student Loans Student Loans0-60Double Cash44966SplashVehicle: Erins Car Maintenance-20#N/ACostco44945Costco GasVehicle: Fuel-51.41#N/ADouble Cash44945EtsySavings: Baby-14.8#N/A#CALC!
3Costco44931CC Payment - Costco0827.18#N/AAmazon44966Amazon: Keziah Baby ShowerGifts-57.03#N/ADouble Cash0Prolmage SportsAllowance: Erins-8.81#N/ACostco44973Kick StarterAllowance: Johns-49#N/AChase45034Income TaxesATM Fees & Other Fees0-3723Double Cash44941HYTTOUBNCharitable Giving: Blessing Money-104#N/AChase44943WiseCharitable Giving: Offerings & Missions0-30Costco44928TwitchCharitable Giving: Tithe-10.82#N/AAmazon44957Movie RentalDating & Entertainment-6.49#N/ACostco44933WalmartGroceries-60.6#N/ADouble Cash44979Style House - Hair CutHair Cut-135#N/ACostco0Williams SanomaHousehold: Décor-16.99#N/ACostco44996FM FuelHousehold: Home Improvement-99.01#N/AChase44963MortgaeHousehold: Mortgage0-1436.81Chase44963Cascade Natural GasHousehold: Utilities: Cascade Natural Gas0-153.3Chase45036Nob Hill WaterHousehold: Utilities: Nob Hill Water0-57.73Chase44973Pacific PowerHousehold: Utilities: Pacific Power0-93.9Double Cash44976SpectrumHousehold: Utilities: Spectrum-54.99#N/ADouble Cash45014City of YakimaHousehold: Utilities: Yakima Waste-106#N/ADouble Cash44951Integrity InspectionsNew Home-525#N/AChase44953VerizonPhone0-290.29Chase Savings44981Interest paymentSavings: General00.62Costco34SQ Peoria AZSavings: Travel / Vacations-8.73#N/AChase45034Student LoanStudent Loans0-60Double Cash44999SplashVehicle: Erins Car Maintenance-20#N/ACostco44966CostcoVehicle: Fuel-42.94#N/AAmazon45000Amazon - Baby Stroller/Car SeatSavings: Baby-324.89#N/A
4Costco44933WalmartGroceries-16.61#N/ACostco44980Best BuyGifts-90#N/ACostco44999KFCAllowance: Johns-5.42#N/AChase Savings45033ATM W/D replenish home cashATM Fees & Other Fees0-585Double Cash44944LH AtlantaCharitable Giving: Blessing Money54.14#N/ADouble Cash44972Interact MinistriesCharitable Giving: Offerings & Missions-30#N/ADouble Cash44946NWMNCharitable Giving: Tithe-280#N/ACostco44950DQ Dating & Entertainment-7.13#N/ACostco44933CostcoGroceries-1.62#N/ADouble Cash45006Studio E Barber shopHair Cut-40.8#N/ACostco44996ChevronHousehold: Home Improvement-50.33#N/AChase44993Cascade Natural GasHousehold: Utilities: Cascade Natural Gas0-106.3Chase45002Pacific PowerHousehold: Utilities: Pacific Power0-79.36Double Cash45035SpectrumHousehold: Utilities: Spectrum-75.57#N/AChase44949Escrow for 4406New Home0-7000Chase44979Zelle - Phone from BeckyPhone044.28Chase Savings45008Interest Savings: General00.56Double Cash44982Tailwind - PascoSavings: Travel / Vacations-5.41#N/ACostco44999Costco GasVehicle: Fuel-37.29#N/ADouble Cash45004TargetSavings: Baby-123.19#N/A
5Costco44933WalmartGroceries-60.6#N/ACostco44980Best BuyGifts-90#N/ADouble Cash0Prolmage SportsAllowance: Johns-154.34#N/ACostco44973Tony Big CheeseCharitable Giving: Blessing Money-11.66#N/AChase44973WiseCharitable Giving: Offerings & Missions0-30Double Cash44946Stone ChurchCharitable Giving: Tithe-102.2#N/ACostco44952Apple MusicDating & Entertainment-12.34#N/ACostco44934Ay CarambaGroceries-9.47#N/ADouble Cash44996Steins Ace - Window frost & Command StriHousehold: Home Improvement-117.99#N/AChase45022Cascade Natural GasHousehold: Utilities: Cascade Natural Gas0-92.48Chase45037Pacific PowerHousehold: Utilities: Pacific Power0-58.53Amazon44962Ring FloodlightsNew Home-175.44#N/AChase44984VerizonPhone0-290.36Costco44982QdobaSavings: Travel / Vacations-32.59#N/ACostco45008Wheeler Kyle CornerVehicle: Fuel-20.59#N/AChase45005Apple Cash - Cody cupcakesSavings: Baby0-30
6Costco44933CostcoGroceries-1.62#N/ACostco44981Best BuyGifts-90#N/ADouble Cash45000Interact MinitriesCharitable Giving: Offerings & Missions-30#N/ADouble Cash44946AG - DuesCharitable Giving: Tithe-25#N/ACostco44968KyotoDating & Entertainment-84.96#N/AAmazon44935Amazon - Laundry BagsGroceries-8.97#N/ADouble Cash44998BemisHousehold: Home Improvement-86.59#N/ADouble Cash44968Steins - Storage ToteNew Home-27.06#N/AChase45006Phone Payment - beckyPhone044.28Costco44982Cibola VistaSavings: Travel / Vacations-121.62#N/ACostco0Costco GasVehicle: Fuel-62.4#N/ADouble Cash45017Wayfair - CribSavings: Baby-227.42#N/A
Summary
Cell Formulas
RangeFormula
A1:F440A1=VSTACK('Jan23'!A3:E44,'Jan23'!I3:N40,'Feb23'!A3:E59,'Feb23'!I3:N35,'Mar23'!A3:E107,'Mar23'!I3:N43,'Apr23'!A3:E85,'Apr23'!I3:N43)
I2:N11I2=FILTER(A1:F3000,I$1=D1:D3000)
P2:U3P2=FILTER($A$1:$F$3000,P$1=$D$1:$D$3000)
W2:AB5,JO2,JH2:JM33,JA2:JF6,IT2:IY3,IM2:IR3,IF2:IK49,HY2:ID4,HR2:HW2,HK2:HP7,HD2,GW2:HB61,GP2,GI2:GN3,GB2:GG4,FU2:FZ5,FN2:FS3,FG2:FL5,EZ2:FE3,ES2:EX16,EL2,EE2,DX2:EC3,DQ2:DV4,DJ2:DO46,DC2:DH2,CV2,CO2,CH2,CA2:CF2,BT2:BY27,BM2:BR2,BF2,AY2:BD27,AR2:AW7,AK2:AP5W2=FILTER($A$1:$F$3000,W1=$D$1:$D$3000)
Dynamic array formulas.
 
Upvote 0
@Ev1lZer0, I know that you want to get to the categories quickly. But, you are putting the cart before the horse.
You can use pivot tables to segregate out to other worksheets your category reports. But first you need to get the data into what is called a "flat file".
Ideally it would be an aggregation of all of your monthly data in to columns like this:
Card Type, Date, Category, Source (Company Name/Source of Deposit), Transaction Descr, Amount, Notes (notes are not easily reportable).
This is 80% of what I was trying to do with the earlier work. After that is done it will be a snap to do your reporting.

Take a look at this youtube video:
 
Upvote 0
Solution
You and this video are so right, I was putting the cart before the horse. and I should've slowed down and learned. I watched a few of her videos and learned about power queries. I ended up converting all my data to tables (as opposed to freeform) and ended up implementing a power that consolidates all the data in my tables and deletes the extra rows I don't need and helps keep the debit card and credit card tables similar. I now have one table that contains all the information from the debit card transactions and the credit card transactions.

This in itself is ultimately what I was looking for. One new table that will update and allows me to sort and filter. But I might take it further with a slicer just for fun.
 
Upvote 0
@Ev1lZer0 , when I first saw that you marked the post with the video link I was thinking how can a Link be a solution. But, your comments affirm that it put you toward the path of a solution and better excel spreadsheeting. I am very pleased this worked out for you.

Best wishes!
 
Upvote 1

Forum statistics

Threads
1,215,327
Messages
6,124,281
Members
449,149
Latest member
mwdbActuary

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