Outdoorsman80
Board Regular
- Joined
- Oct 4, 2014
- Messages
- 62
- Office Version
- 365
- Platform
- Windows
I have a "Dashboard" worksheet for displaying totals for Harvest, eggs, meat, etc. This table querys other tables in other worksheets and puts it into a nice viewable table. It works, but every year I need to make a new table and update the formulas - Not a big deal, but I'd like to be able to create something along the lines of a slicer or a button for each year and that table updates.
Here's the table:
Here's the table:
2023 | |||
- | Sum | Total Cost | Side Money? |
Total Eggs Harvested | 1423 | $ - | $ - |
Egg Sales Total | 86 | ,tblOsOrganicsSales[Produce], {"Eggs"}, tblOsOrganicsSales[Date],">="&DATE(2023,1,1), tblOsOrganicsSales[Date], "<="&DATE(2023,12,31)))|nf:_($* #,##0.00_);_($* (#,##0.00);_($* \0022-\0022??_);_(@_)]$ 252.25 | $ - |
Meaty Food Total | 9 | ,tblItems[Work Done / Item], {"Grain - Broiler Crumbles"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31)))|nf:_($* #,##0.00_);_($* (#,##0.00);_($* \0022-\0022??_);_(@_)]$ 232.44 | $ 232.44 |
Egg Layer Grain Total | 10 | ,tblItems[Work Done / Item], {"Grain"}, tblItems[Date],">="&DATE(2021,1,1), tblItems[Date], "<="&DATE(2021,12,31)))|nf:_($* #,##0.00_);_($* (#,##0.00);_($* \0022-\0022??_);_(@_)]$ - | $ - |
Broilers Total | 50 (4 died, 46 Processed) | ,tblItems[Description], {"Broiler"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31)))|nf:_($* #,##0.00_);_($* (#,##0.00);_($* \0022-\0022??_);_(@_)]$ 149.50 | , tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31),tblItems[Side $?],"Yes",tblItems[Description], {"Broiler"}))|nf:_($* #,##0.00_);_($* (#,##0.00);_($* \0022-\0022??_);_(@_)]$ 149.50 |
Broiler Breast/Tender Total | 59.31875 | $ 6.44 | $ - |
Broiler Legs Total | 53.34375 | $ 7.16 | $ - |
Broiler Meat Total | 112.6625 | $ 3.39 | $ - |
Seed Totals | 3 | , tblOOSeedsPurches[Date],">="&DATE(2023,1,1), tblOOSeedsPurches[Date], "<="&DATE(2023,12,31)))|nf:_($* #,##0.00_);_($* (#,##0.00);_($* \0022-\0022??_);_(@_)]$ 18.80 | , tblOOSeedsPurches[Date],">="&DATE(2023,1,1), tblOOSeedsPurches[Date], "<="&DATE(2023,12,31),tblOOSeedsPurches[Sales Fund],"Yes"))|nf:_($* #,##0.00_);_($* (#,##0.00);_($* \0022-\0022??_);_(@_)]$ 10.50 |
Pigs | 1 | $ 125.00 | $ - |
Pig Butcher Cost | 1 | $ 321.93 | $ - |
Pig Feed | 22 | ,tblItems[Work Done / Item], {"Grain - Pig Pellets"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31)))|nf:_($* #,##0.00_);_($* (#,##0.00);_($* \0022-\0022??_);_(@_)]$ 242.19 | $ - |
Pig Meat Total | 150.0845 | $ 4.59 | |
Seed Totals | |||
Fin.xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
38 | 2023 | |||||
39 | - | Sum | Total Cost | Side Money? | ||
40 | Total Eggs Harvested | 1423 | $ - | $ - | ||
41 | Egg Sales Total | 86 | $ 252.25 | $ - | ||
42 | Meaty Food Total | 9 | $ 232.44 | $ 232.44 | ||
43 | Egg Layer Grain Total | 10 | $ - | $ - | ||
44 | Broilers Total | 50 (4 died, 46 Processed) | $ 149.50 | $ 149.50 | ||
45 | Broiler Breast/Tender Total | 59.31875 | $ 6.44 | $ - | ||
46 | Broiler Legs Total | 53.34375 | $ 7.16 | $ - | ||
47 | Broiler Meat Total | 112.6625 | $ 3.39 | $ - | ||
48 | Seed Totals | 3 | $ 18.80 | $ 10.50 | ||
49 | Pigs | 1 | $ 125.00 | $ - | ||
50 | Pig Butcher Cost | 1 | $ 321.93 | $ - | ||
51 | Pig Feed | 22 | $ 242.19 | $ - | ||
52 | Pig Meat Total | 150.0845 | $ 4.59 | |||
53 | Seed Totals | |||||
OO Dash |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B40 | B40 | =+SUM(SUMIFS(tblHarvestTotals[Amount],tblHarvestTotals[Produce], {"Eggs"}, tblHarvestTotals[Year],{"2023"})) |
B41 | B41 | =+SUM(SUMIFS(tblOsOrganicsSales[Amount],tblOsOrganicsSales[Produce], {"Eggs"}, tblOsOrganicsSales[Date],">="&DATE(2023,1,1), tblOsOrganicsSales[Date], "<="&DATE(2023,12,31))) |
C41 | C41 | =SUM(SUMIFS(tblOsOrganicsSales[Total],tblOsOrganicsSales[Produce], {"Eggs"}, tblOsOrganicsSales[Date],">="&DATE(2023,1,1), tblOsOrganicsSales[Date], "<="&DATE(2023,12,31))) |
B42 | B42 | =+SUM(SUMIFS(tblItems[Amount],tblItems[Work Done / Item], {"Grain - Broiler Crumbles","Grain - Starter Mash","Grain - Poutry Grower"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31))) |
C42 | C42 | =SUM(SUMIFS(tblItems[Price],tblItems[Work Done / Item], {"Grain - Broiler Crumbles"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31))) |
D42 | D42 | =SUM(SUMIFS(Items!$J$2:$J$5098, Items!$D$2:$D$5098,">="&DATE(2023,1,1), Items!$D$2:$D$5098, "<="&DATE(2023,12,31),Items!$M$2:$M$5098,"Yes",Items!$E$2:$E$5098, {"Grain - Broiler Crumbles"})) |
B43 | B43 | =+SUM(SUMIFS(tblItems[Amount],tblItems[Work Done / Item], {"Grain - Egg Layer"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31))) |
C43 | C43 | =SUM(SUMIFS(tblItems[Price],tblItems[Work Done / Item], {"Grain"}, tblItems[Date],">="&DATE(2021,1,1), tblItems[Date], "<="&DATE(2021,12,31))) |
D43 | D43 | =SUM(SUMIFS(Items!$J$2:$J$5098, Items!$D$2:$D$5098,">="&DATE(2021,1,1), Items!$D$2:$D$5098, "<="&DATE(2021,12,31),Items!$M$2:$M$5098,"Yes",Items!$E$2:$E$5098, {"Grain"})) |
B44 | B44 | =SUMIFS(tblItems[Amount],tblItems[Description], "Broiler", tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31)) &" ("&SUMIFS(tblItems[Amount],tblItems[Description], "Broiler", tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31), tblItems[In Place], "Died")&" died, " &SUM(SUMIFS(tblItems[Amount],tblItems[Description], {"Broiler"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31), tblItems[In Place], {"Processed"})) &" Processed)" |
C44 | C44 | =SUM(SUMIFS(tblItems[Price],tblItems[Description], {"Broiler"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31))) |
D44 | D44 | =SUM(SUMIFS(tblItems[Price], tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31),tblItems[Side $?],"Yes",tblItems[Description], {"Broiler"})) |
B45 | B45 | =SUMIFS(tblBroilerTotalPerBird[Bird Total],tblBroilerTotalPerBird[Part], "*Breast", tblBroilerTotalPerBird[Year], "2023") + SUMIFS(tblBroilerTotalPerBird[Bird Total],tblBroilerTotalPerBird[Part], "*Tender", tblBroilerTotalPerBird[Year], "2023") |
C45 | C45 | =(C44+C42)/B45 |
B46 | B46 | =+SUM(SUMIFS(tblBroilerTotalPerBird[Bird Total],tblBroilerTotalPerBird[Part], {"*Legs"}, tblBroilerTotalPerBird[Year],{"2023"})) |
C46 | C46 | =(C44+C42)/B46 |
B47 | B47 | =+SUM(SUMIFS(tblBroilerTotalPerBird[Bird Total],tblBroilerTotalPerBird[Year],{"2023"})) |
C47 | C47 | =(C44+C42)/B47 |
B48 | B48 | =COUNTIFS(tblOOSeedsPurches[Date],">="&DATE(2023,1,1),tblOOSeedsPurches[Date],"<="&DATE(2023,12,31)) |
C48 | C48 | =SUM(SUMIFS(tblOOSeedsPurches[Price], tblOOSeedsPurches[Date],">="&DATE(2023,1,1), tblOOSeedsPurches[Date], "<="&DATE(2023,12,31))) |
D48 | D48 | =SUM(SUMIFS(tblOOSeedsPurches[Price], tblOOSeedsPurches[Date],">="&DATE(2023,1,1), tblOOSeedsPurches[Date], "<="&DATE(2023,12,31),tblOOSeedsPurches[Sales Fund],"Yes")) |
B51 | B51 | =+SUM(SUMIFS(tblItems[Amount],tblItems[Work Done / Item], {"Grain - Pig Pellets"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31))) |
C51 | C51 | =SUM(SUMIFS(tblItems[Price],tblItems[Work Done / Item], {"Grain - Pig Pellets"}, tblItems[Date],">="&DATE(2023,1,1), tblItems[Date], "<="&DATE(2023,12,31))) |
B52 | B52 | =+SUM(SUMIFS(tblPigTotalPerPig[Pig Total],tblPigTotalPerPig[Year],{"2023"})) |
C52 | C52 | =(C49+C50+C51)/B52 |