Hi all,
I've been playing around with CSE formulae.
I can work out the weighted average for all entries in a large table (Company, Vol Sales, Val Sales) where the company for an entry is X:
In the below,
{=SUM(IF(A$1$:$A$1000="Company",$D$1:$D$1000,)/SUM(IF($A$1:$A$1000="Company",$E$1:$E$1000,)}
and that works well.
(In the actual formula "Company" points to a cell with the company name in it, so I can just drag down to scale up the results).
I have say four top companies, and 14 smaller ones. I want to aggregate the other fourteen companies into one calculation. How do I say IF A1:A1000 = (any of the names listed in cells H3:H17)...etc? I've turned H3:H17 (the list of companies) into a named range of OtherCompanies, if it helps.
Thank you! Your help appreciated.
Sam
I've been playing around with CSE formulae.
I can work out the weighted average for all entries in a large table (Company, Vol Sales, Val Sales) where the company for an entry is X:
In the below,
{=SUM(IF(A$1$:$A$1000="Company",$D$1:$D$1000,)/SUM(IF($A$1:$A$1000="Company",$E$1:$E$1000,)}
and that works well.
(In the actual formula "Company" points to a cell with the company name in it, so I can just drag down to scale up the results).
I have say four top companies, and 14 smaller ones. I want to aggregate the other fourteen companies into one calculation. How do I say IF A1:A1000 = (any of the names listed in cells H3:H17)...etc? I've turned H3:H17 (the list of companies) into a named range of OtherCompanies, if it helps.
Thank you! Your help appreciated.
Sam