Apologies if the title is not appropiate...
If I have two columns of data and wish to sum one column, as far as the criteria specified elsewhere is met in another column....for example....column of marketing spend in column A, number of sales in column B.
A user specifies a marketing spend of £500k (in any cell)...running from the top of Column A as far down the list as is necessary to total £500k (with a 3% variance) would determine the number of rows to sum from column B....so, if the values in column a total £500k between rows 1 and 12, then I would sum cells B1:B12...
I have tried sumif, sumproduct, and setting offset ranges but I can't see how to determine at which point to end the summing down column a, to use as a range determining tool for the summing of column b....
Any ideas?
thank you for your time.
If I have two columns of data and wish to sum one column, as far as the criteria specified elsewhere is met in another column....for example....column of marketing spend in column A, number of sales in column B.
A user specifies a marketing spend of £500k (in any cell)...running from the top of Column A as far down the list as is necessary to total £500k (with a 3% variance) would determine the number of rows to sum from column B....so, if the values in column a total £500k between rows 1 and 12, then I would sum cells B1:B12...
I have tried sumif, sumproduct, and setting offset ranges but I can't see how to determine at which point to end the summing down column a, to use as a range determining tool for the summing of column b....
Any ideas?
thank you for your time.