Using IF and adding Currency

mrsbrannon

Board Regular
Joined
Mar 7, 2018
Messages
61
Hello all,


Is it possible to write an IF formula that would add currency to a cell? (currency that can be summed, not just the appearance). I've tried but all I can get it to do is put the data, not the $$.

Current formula is:

=IF(C2="Bonus","$40.00","")

I have also tried:

=IF(C2="Bonus", DOLLAR(40),"")

Neither of these work when adding it to other amounts on my table.

Thanks!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Try this maybe:

Code:
[COLOR=#333333]=IF(C2="Bonus", DOLLAR(40,2),"") [/COLOR]

I don't have an answer yet, but that produces a Text result, OP needs the result as Number for other math.

Although, I don't see why OP don't just Format cell as Currency?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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