Combining an IF Statement with multiplication

mblackwell

New Member
Joined
Jul 24, 2013
Messages
5
Greetings,
I am trying to find a formula that will allow me to do the following:

If the value in A1 = 'A' then multiply B1 by .2
If the value in A1 = 'B' then multiply B1 by .15
If the value in A1 = 'C' then multiply B1 by .1

Here is the formula that I have put together, based on my research on this issue, but it is not working.

=IF(A1='A',B1*.02,IF(A1='B',B1*.015,IF(A1='C',B1*.01)))</SPAN>

Any help would be GREATLY appreciated.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
This formula works for me but instead of single ' use "

Hi,
Thanks for your reply. I updated my forumla, and now I get the following error: #NAME?
Is this becuase the A,B, or C is coming over from onther tab via a v-lookup funciton?
-M
 
Upvote 0

Forum statistics

Threads
1,215,529
Messages
6,125,344
Members
449,219
Latest member
Smiqer

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