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

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
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,214,927
Messages
6,122,311
Members
449,080
Latest member
jmsotelo

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