Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Google Sheets Rolling Year Formula

$
0
0

I have a Google sheet where I would like a score based on a rolling year figure.

I have managed to do these separately using the formulas:

=query(A2:B," where A >= date '"&TEXT(today()-E1,"yyyy-mm-dd")&"' and A <= date '"&TEXT(today(),"yyyy-mm-dd")&"'") 

and

=(COUNTIF(H2:H15, "<>")*COUNTIF(H2:H15,"<>"))*(SUM(H2:H15)) 

however I was wondering if there was a way these two could be combined so I just get the score.

Here is a demo sheet.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>