Useing an If Statement with the data validation function (drop down list)

THKUCOMEAGAIN

New Member
Joined
Jan 5, 2012
Messages
12
ok i am doing a final exam spreed sheet for my school and i need to use an If statement with the data validation function (drop down list) here's what i got so far

=IF(L2="poor",1*L15,""=IF(L2="Normal",L15*2,=if(L2="Awsome", L15*3,0)))

where as "poor", "Normal", "Awsome" are the option in the drop down box

This function works for the first option if i dont nest any other ifstatements into it but i kinda need that lol so plz help
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try

=IF(L2="poor",L15,IF(L2="Normal",L15*2,IF(L2="Awsome", L15*3,0)))
 
Upvote 0
To make it super super awesome, try

Code:
=IF(L2="poor",L15,IF(L2="Normal",L15*2,IF(L2="Awesome", L15*3,0)))

:biggrin:
 
Upvote 0
Thank you very much it worked, but i was just wondering why your formula worked and mine didn't. I looked at my code and your's and its almost the exact same. Just you didn't multiply L15 by 1 ("poor") why is that ?
 
Upvote 0

Forum statistics

Threads
1,216,745
Messages
6,132,473
Members
449,729
Latest member
davelevnt

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