sure, just multiply each score by the importance number and divide by the sum of those importance numbers. Take a simpler case of two subjects a & b with a weighting of each where a =3 and b=5 (more important). The average will be
(a * 3 + b * 5) / (3 + 5)
As always you can check your Excel formula by setting the weighting to everything apart from one of the subjects to zero, then the average will just be the value of the subject. So if the weighting of b above was zero then the average would be (a * 3)/3 or just a. Set all the weightings to 1 and the average is just the average ie. (a + b)/2