Hi,
I have a list of URLs from my company website.
I'm trying to calculate the average time spent on-page for one section of my website /company/blog/... (and all the pages that contains this URLs)
I'm assuming I need a combination of:
- SUMPRODUCT (to calculate the weighted time on-page based on page views),
- AVERAGEIF to calculate the average time spent on-page for the section
- Wildcards to include URLs that contains "/company/blog"
So far I have those two formula that works well individually, but I cannot find a way to combine them:
AVERAGEif($A$2:$A$500,"*.com/blog*",$C$2:$C$500)
SUMPRODUCT($C$2:$C$500,$B$2:$B$500)/$B$501
Is there any way to combine everything together? Do I need extra formulas?
Thanks in advance for your help!
I have a list of URLs from my company website.
I'm trying to calculate the average time spent on-page for one section of my website /company/blog/... (and all the pages that contains this URLs)
I'm assuming I need a combination of:
- SUMPRODUCT (to calculate the weighted time on-page based on page views),
- AVERAGEIF to calculate the average time spent on-page for the section
- Wildcards to include URLs that contains "/company/blog"
So far I have those two formula that works well individually, but I cannot find a way to combine them:
AVERAGEif($A$2:$A$500,"*.com/blog*",$C$2:$C$500)
SUMPRODUCT($C$2:$C$500,$B$2:$B$500)/$B$501
Is there any way to combine everything together? Do I need extra formulas?
Thanks in advance for your help!