IF Formula

tanyaleblanc

Board Regular
Joined
Mar 16, 2019
Messages
145
Hi, just trying to create an IF formula, I want to say ' if R3 = M, V3 is 2.5, R3 = Q, V3 is 7.5, R3=S, V3 is 15 and R3 = A, V3 is 30

How do I put this in an IF formula

=IF(R3=M, V3, "2.5", R3=Q, V3, "7.5", R3=S, V3, "15", R3=A, V3, "30")
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
try in V3
Code:
=CHOOSE(MATCH(R3,{"M","Q","S","A"},0),2.5,7.5,15,30)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,239
Members
452,621
Latest member
Laura_PinksBTHFT

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