IFS problems

roc_ent

Active Member
Joined
Jan 27, 2003
Messages
252
Office Version
  1. 2019
Platform
  1. Windows
so I have reference cell say (B49) which has been formatted with a drop down list. The three entries are 1) Need, 2) Want, and 3) is Unsure. Now in F49 is where I want to get the answer to my IFS so if B49 is "Need" the results of F49 should be $10.00 if the results in B49 is "want" results in F49 should come to only $5.00 and finally if B49 is "Unsure" results should be zero in F49.

Can anyone help me on this please.

Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
I don't know if you need IFS necessarily. Have you tried CHOOSE?

F49 =CHOOSE(MATCH(B49, {"need","want","unsure"}, 0), 10, 5, 0)

or also you could use VLOOKUP:

F49 =VLOOKUP(B49, {"need",10;"want",5;"unsure",0}, 2, FALSE)
 
Last edited:
Upvote 0
I agree with you, there are many ways to get the expected result, simply Vlookup, Lookup, Index+match, etc.

=VLOOKUP(B49,{"need",10;"want",5;"unsure",0},2,)
 
Upvote 0
I agree with you, there are many ways to get the expected result, simply Vlookup, Lookup, Index+match, etc.

=VLOOKUP(B49,{"need",10;"want",5;"unsure",0},2,)
Sorry, didn't see your reply before I posted my edit :cool:
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,500
Members
449,090
Latest member
RandomExceller01

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