Search code examples
excelexcel-formulaexcel-2010excel-2007

Populating an excel column if some condition is met


Please see the excel image:

enter image description here

I want to populate the Price Column with $250 if the Tier is 1, $200 if the Tier is 2 and $150 if the Tier is 3.

How do I do that? I tried the IF and COUNTIF functions but to no avail.

Any assistance is much appreciated.

Thank you


Solution

  • I am assuming your example starts at A1. You can use INDEX since the prices are in order:

    =INDEX($B$10:$B$12,B2)