Calculating item codes
I have a form that I cannot wrap my head around.

In the "Time" section on the left, there are a series of dropdown menus that correlate with the "Activity Codes" in the right column.
I need to calculate how many times a particular code appears in the "Time" section and multiply 30 (minutes) and then get a percentage for that particular activity over the week or 3,300 minutes.
As you can see the calculations for the "01 Face-to-Face Selling" is not correct because the "01" code appears 21 times for a total of 630 minutes.
In "02 Selling on the Phone", I manually typed in the number to show what I need it to do. The "02" code appears 22 times for a total of 660 minutes.
I also need to make sure that the percentages add up to 100%
Is it possible to calculate this?
