Need help with formula from dropdown list

hyruleramone

Board Regular
Joined
Jul 8, 2014
Messages
52
Hi,

I have a dropdown list in cell A1/A2:

A2
refund

A3
no refund

Now, refund/no refund have a value in I1/I2:

I1
4000

I2
5000

I want to be able to multiple a quantity (it will be in cell B2) by the selection of the dropdown list, for instance:

If i select refund, i want to have a formula that can give me 4000* the value in B1 but if i select no refund from the dropdown list i want the formula to give 5000* the value in B1?

Dropdown list multiplication.xlsx
ABCDEFGHI
1Selection QTYTotalRefund4000
2Refund0No Refund5000
3No Refund0
Sheet1
Cell Formulas
RangeFormula
C2:C3C2=B2*I1
Cells with Data Validation
CellAllowCriteria
A2:B3List=$H$1:$H$2
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Try:
Book1
ABCDEFGHI
1SelectionQTYTotalRefund4000
2Refund416000No Refund5000
3No Refund210000
Sheet1
Cell Formulas
RangeFormula
C2:C3C2=VLOOKUP(A2,$H$1:$I$2,2,0)*B2
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,617
Latest member
Narendra Babu D

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top