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

In Google Sheets, how can I multiply across two rows conditioned on whether a value exists in a given cell?

$
0
0

I have two tables that track sales seasonality as well as sales per person per month:

Seasonality:

SeasonalityJan%Feb %Mar%
4.5%6.0%7.5%

Sales:

SalespersonJan$Feb$Mar$
John$1000$1200
Jen$1350$800

What I'd like to do is divide the sum of all months that have sales values (Jan$ - Feb$, for example) by the sum of the seasonality values through that month (Jan% - Feb%). Specifically, I'd like the sum of the seasonality to be limited, such that it won't divide by the March seasonality number unless the March sales number has a number value (including a zero, but not a blank cell). I'd like to do this per row so that I can calculate per-salesperson seasonality.

Any thoughts on how to tackle this?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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