Multiple criteria for if statement

Meucci98

New Member
Joined
Jan 12, 2015
Messages
18
Could someone please help.

I have multiple criteria that I need to check and give different answers for, it goes something like this:

If C21 = A, then L8 = C30 x 1
If C21 = B, then L8 = C30 x 2
If C21 = C, then L8 = C30 x 3
If C21 = D, then L8 = C30 x 4
If C21 = E, then L8 = C30 x 5
 

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.
Welcome to the forum..

Ok just try: in cell L8
=IF(C21="A",C30*1,IF(C21="B",C30*2,IF(C21="C",C30*3,IF(C21="D,C30*4,IF(C21="E",C30*5)))))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,267
Messages
6,129,792
Members
449,535
Latest member
Piaskun

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