I have the following Google Spreadsheet table:
A B C D
1 Users 1-30 31-80 81-150 151-500
2 Discount % 0% 1% 2% 3%
3 License user / month $10 $9 $8 $7
I would like the following to be calculated:
20 50 90
$200 $450 $720
Because 20 is between 1-30 so it calculates as 20*$10=200
And 50 is between 31-80 so it calculates as 50*$8=450
So basically I need cell A1
to be as a range/series of numbers and I want to that the formula will know to look at a "range of ranges" A1:D1 and consider each cell if <= 30 maybe or something that way.
I tried LOOKUP / MATCH but couldn't find anything that is generic enough without putting a lot of IFs in the formula.
1,31,81...
then use hlookup with the forth criterion as true. – Scott Craner