Hello,
I have figured out how to calculate the total weighted average in my data sheet with this formula:
=SUMPRODUCT((DATA!AA285:AA20000)*(DATA!N285:N20000))/(SUM(DATA!N285:N20000))
Now I need to figure out, how I can calculate this with two criterias;
1) DATA!AH285:AH20000=Distrikter!C3
2) DATA!H285:H20000=Distrikter!D2
I am not sure what to do from here - maybe IF or another SUMPRODUCT.
Thank you for considering my request, I have used several hours on this now...
I have figured out how to calculate the total weighted average in my data sheet with this formula:
=SUMPRODUCT((DATA!AA285:AA20000)*(DATA!N285:N20000))/(SUM(DATA!N285:N20000))
Now I need to figure out, how I can calculate this with two criterias;
1) DATA!AH285:AH20000=Distrikter!C3
2) DATA!H285:H20000=Distrikter!D2
I am not sure what to do from here - maybe IF or another SUMPRODUCT.
Thank you for considering my request, I have used several hours on this now...
Last edited: