Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Concatenate with currency w/2 decimal places

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,104
Default Concatenate with currency w/2 decimal places

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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Retain decimal places in a concatenate function Tobey Excel Programming 2 July 10th 08 06:35 PM
Currency Formatting to 3 decimal Places David Dalebroux Excel Programming 1 August 7th 04 09:22 PM
decimal places in currency David Adamson[_4_] Excel Programming 4 July 19th 04 12:26 AM
variable as Currency two decimal places Max Bialystock Excel Programming 2 May 10th 04 10:48 PM
Text Box Currency format with two decimal places Joe Derr Excel Programming 3 May 6th 04 02:57 AM


All times are GMT +1. The time now is 10:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"