I know I can use FREQUENCY() to count the items in a list and create a distribution function.
Is there any way to do that, but instead of *counting* the items, I *sum* a corresponding column?
Example: Imagine I have a spreadsheet that lists sales made in a store. It has two columns, price and #sold. So it might look like this:
$1.00, 2
$0.90, 1
$1.10, 3
$1.00, 5
$1.10, 3
So I want to create a distribution function on the bins $0.90, $1.00, and $1.10. FREQUENCY would return:
$0.90, 1
$1.00, 2
$1.10, 2
...which is a count of the # of sales at each price. But what I want is a count of the ITEMS SOLD at each price:
$0.90, 1
$1.00, 7
$1.10, 6
Is there a way to do that, short of extracting it manually?
Thanks!
Is there any way to do that, but instead of *counting* the items, I *sum* a corresponding column?
Example: Imagine I have a spreadsheet that lists sales made in a store. It has two columns, price and #sold. So it might look like this:
$1.00, 2
$0.90, 1
$1.10, 3
$1.00, 5
$1.10, 3
So I want to create a distribution function on the bins $0.90, $1.00, and $1.10. FREQUENCY would return:
$0.90, 1
$1.00, 2
$1.10, 2
...which is a count of the # of sales at each price. But what I want is a count of the ITEMS SOLD at each price:
$0.90, 1
$1.00, 7
$1.10, 6
Is there a way to do that, short of extracting it manually?
Thanks!