I have a football predictions table and one of the columns marks the score in the most usual manner: 3:2
, 1:0
etc. I'd like to take a range (for instance A2:A20
, where A is the column where scores are situated in these positions) and take a sum of it, but before taking the sum, applying the function for it.
As my explanation is a bit complicated, i'm going to illustrate with an example:
Values:
A1 - 0:0
A2 - 1:0
A3 - 2:2
A4 - 5:3
A5 - 2:1
A6 - 4:2
I figured out a formula for a single cell, which is:
=SUM(SPLIT(A1,":"))
. This will give the sum out of a single cell, for instance for A1, it'd be 0, for A2 that'd be 1, A4 would give out 8 etc. Now what I want to achieve is to sum these sums and get the value of total goals scored. By that example, the value would be 22.
I could create a separate column which would contain the values where the sumsplit function has been already applied and take goals scored as a sum from that column, but I'm wondering whether it could be solved as a single equation, without creating any additional cells?