PC Review


Reply
Thread Tools Rate Thread

Concatenate with currency w/2 decimal places

 
 
Excel
Guest
Posts: n/a
 
      3rd Aug 2009
I'm working on a formula that is removing my currency formatting. =IF
(C31=$A$2,$D$2,"$")&IF(C31=$A$3,$D$3,"$")...

I've managed to get the "$" to the front of the figure but I'm getting
a result of four decimal places, $12.1245.
If I use "$0.00" instead of "$" alone the result is $0.0012.1245. =IF
(C31=$A$2,$D$2,"$0.00")&IF(C31=$A$3,$D$3,"$0.00")
I've also tried =IF(C31=$A$2,$D$2,"#.##")&IF(C31=$A$3,$D$3,"#.##")
with the result of an error.

I know I must be doing something wrong or missing something.

Any help would be greatly appreciated.

Thank you!

Cassandra


 
Reply With Quote
 
 
 
 
Bernard Liengme
Guest
Posts: n/a
 
      3rd Aug 2009
Let's start at the beginning
Please give us some examples of that data you have in the cells
It sounds as if you have text and you want to convert it to numbers
Generally we do not add the currency symbol but tell Excel to do this by
formatting
So a cell might have the VALUE 123.45 (and this would display in the Formula
Bar) but it might DISPLAY as $123.45

Sorry if I have totally misread your problem
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Excel" <(E-Mail Removed)> wrote in message
news:da2ce2ca-42cf-485e-9995-(E-Mail Removed)...
> I'm working on a formula that is removing my currency formatting. =IF
> (C31=$A$2,$D$2,"$")&IF(C31=$A$3,$D$3,"$")...
>
> I've managed to get the "$" to the front of the figure but I'm getting
> a result of four decimal places, $12.1245.
> If I use "$0.00" instead of "$" alone the result is $0.0012.1245. =IF
> (C31=$A$2,$D$2,"$0.00")&IF(C31=$A$3,$D$3,"$0.00")
> I've also tried =IF(C31=$A$2,$D$2,"#.##")&IF(C31=$A$3,$D$3,"#.##")
> with the result of an error.
>
> I know I must be doing something wrong or missing something.
>
> Any help would be greatly appreciated.
>
> Thank you!
>
> Cassandra
>
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get rid of Currency Decimal places Huber57 Microsoft Access Reports 2 30th Nov 2007 01:37 PM
Displaying a decimal with 2 decimal places (ie currency!) Scott Microsoft VB .NET 2 6th Mar 2005 04:32 PM
Re: Currency decimal places Brendan Reynolds Microsoft Access External Data 0 24th Aug 2004 11:35 AM
decimal places in currency David Adamson Microsoft Excel Programming 4 19th Jul 2004 12:26 AM
variable as Currency two decimal places Max Bialystock Microsoft Excel Programming 2 10th May 2004 10:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:23 AM.