Table filter totals - Goal setting

Sayth

Board Regular
Joined
Jun 4, 2010
Messages
213
I think I may be having a bad day but i just can't get the right structure for a solution in my head.

If I have a table that I will be adding activities to.

Code:
[TABLE="width: 823"]
<colgroup><col span="7"><col></colgroup><tbody>[TR]
[TD]DATE[/TD]
[TD]Column1[/TD]
[TD]ACTIVITY[/TD]
[TD]DURATION
(minutes)[/TD]
[TD]Practical [/TD]
[TD]Pages[/TD]
[TD]Video[/TD]
[TD]NOTES[/TD]
[/TR]
[TR]
[TD]24/07/2015[/TD]
[TD]6:30 AM[/TD]
[TD]Math CS[/TD]
[TD]60[/TD]
[TD] [/TD]
[TD]33.00[/TD]
[TD] [/TD]
[TD]chapter 1 complete review exercises. [/TD]
[/TR]
[TR]
[TD]24/07/2015[/TD]
[TD]6:50 PM[/TD]
[TD]SuperL[/TD]
[TD]25[/TD]
[TD] [/TD]
[TD]70.00[/TD]
[TD] [/TD]
[TD]reread intro and started next section [/TD]
[/TR]
[TR]
[TD]24/07/2015[/TD]
[TD]19:30[/TD]
[TD]SuperL[/TD]
[TD]15[/TD]
[TD] [/TD]
[TD]24.00[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]25/07/2015[/TD]
[TD]7:50 AM[/TD]
[TD]HTDP[/TD]
[TD]35[/TD]
[TD] [/TD]
[TD]0.00[/TD]
[TD]0.70[/TD]
[TD]up to booleans[/TD]
[/TR]
</tbody>[/TABLE]

So I want to compare what I have done against my goals (next table) and return a percentage and have this update as I add new activities.
So goals table
Code:
[TABLE="width: 328"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]Activity[/TD]
[TD]Goal Pages[/TD]
[TD]Goal Video[/TD]
[TD]Goal Practical(mins)[/TD]
[/TR]
[TR]
[TD]Math CS[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]600[/TD]
[/TR]
[TR]
[TD]SuperL[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]600[/TD]
[/TR]
[TR]
[TD]HTDP[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]600[/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD="align: right"]600[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]1800[/TD]
[/TR]
</tbody>[/TABLE]

i was trying to think of the best way to get the totals by creating an actual table, and its here i think I am going wrong.
Code:
[TABLE="width: 328"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]Activity[/TD]
[TD]Actual Pages[/TD]
[TD]Actual Video[/TD]
[TD]Actual Practival[/TD]
[/TR]
[TR]
[TD]Math CS[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]SuperL[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]HTDP[/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]

With a crap formula which totally doesn't work, but i think I am just making it hard in layout to begin with.

Code:
=SUMIFS(Sheet1!G11:G15,Sheet1!D11:D15,Sheet1!I9)
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Maybe like this?

row 59 - 63 is a pivot table.


Book1
ABCDEFGH
51DATEColumn1ACTIVITYDURATION (minutes)PracticalPagesVideoNOTES
5224-7-20156:30 AMMath CS600330chapter 1 complete review exercises.
5324-7-20156:50 PMSuperL250700reread intro and started next section
5424-7-201519:30SuperL150240
5525-7-20157:50 AMHTDP35000,7up to booleans
56
57
58
59RijlabelsSom van PracticalSom van VideoSom van Pages
60HTDP00,70
61Math CS0033
62SuperL0094
63Eindtotaal00,7127
64
65ActivityGoal PagesGoal VideoGoal Practical(mins)
66HTDP2004600
67Math CS2000600
68SuperL2009600
69Total600131800
70
71Result (%)
72HTDP0,00%17,50%0,00%
73Math CS0,00%0,00%5,50%
74SuperL0,00%0,00%15,67%
75Total0,00%5,38%7,06%
Blad1
Cell Formulas
RangeFormula
A72=A66
A73=A67
A74=A68
A75=A69
B72=IFERROR(B60/B66,0)
B73=IFERROR(B61/B67,0)
B74=IFERROR(B62/B68,0)
B75=IFERROR(B63/B69,0)
C72=IFERROR(C60/C66,0)
C73=IFERROR(C61/C67,0)
C74=IFERROR(C62/C68,0)
C75=IFERROR(C63/C69,0)
D72=IFERROR(D60/D66,0)
D73=IFERROR(D61/D67,0)
D74=IFERROR(D62/D68,0)
D75=IFERROR(D63/D69,0)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,249
Members
452,623
Latest member
Techenthusiast

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