Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Use commas as decimal separator

Hi,

Im trying to change the decimal separator from a point to a comma (i.e.
200,50 instead of 200.50), but I need some type of function to do this since
Im trying to create a €śsentence€ť from various cells; here is a simplify
example of what Im trying to do:

1 A B
2 10K 200.50

= A2&€ś €ť&B2

The result I get is: 10K 200.50

The result I would like to get is: 10K 200,50

I am aware of the €śToolsOptionsInternational tab€ť to change the decimal
separator of the document, but Im dealing with both, English and Metric
units in the same document; therefore I need to use both separators (points
and commas).

Any help will be greatly appreciated.

--
Edwin
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Use commas as decimal separator

Give this a try...

= A2&" "&SUBSTITUTE(TEXT(B2,"0.00"),".",",")

--
Rick (MVP - Excel)


"Edwin" wrote in message
...
Hi,

Im trying to change the decimal separator from a point to a comma (i.e.
200,50 instead of 200.50), but I need some type of function to do this
since
Im trying to create a €śsentence€ť from various cells; here is a simplify
example of what Im trying to do:

1 A B
2 10K 200.50

= A2&€ś €ť&B2

The result I get is: 10K 200.50

The result I would like to get is: 10K 200,50

I am aware of the €śToolsOptionsInternational tab€ť to change the decimal
separator of the document, but Im dealing with both, English and Metric
units in the same document; therefore I need to use both separators
(points
and commas).

Any help will be greatly appreciated.

--
Edwin


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Use commas as decimal separator

Wow! This is just what I needed! Thanks a lot Rick!!
--
Edwin


"Rick Rothstein" wrote:

Give this a try...

= A2&" "&SUBSTITUTE(TEXT(B2,"0.00"),".",",")

--
Rick (MVP - Excel)


"Edwin" wrote in message
...
Hi,

Im trying to change the decimal separator from a point to a comma (i.e.
200,50 instead of 200.50), but I need some type of function to do this
since
Im trying to create a €śsentence€ť from various cells; here is a simplify
example of what Im trying to do:

1 A B
2 10K 200.50

= A2&€ś €ť&B2

The result I get is: 10K 200.50

The result I would like to get is: 10K 200,50

I am aware of the €śToolsOptionsInternational tab€ť to change the decimal
separator of the document, but Im dealing with both, English and Metric
units in the same document; therefore I need to use both separators
(points
and commas).

Any help will be greatly appreciated.

--
Edwin



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
How can I convert decimal commas to decimal points? Peteylepieu Excel Discussion (Misc queries) 1 October 2nd 07 10:18 PM
Combobox changes the decimal commas to dots - How to prevent it? Erkka Excel Discussion (Misc queries) 2 February 23rd 07 08:20 AM
Format Cell to Overwrite Decimal Separator in Options Brett24 Excel Discussion (Misc queries) 1 September 11th 06 11:34 AM
How do I change the way the decimal separator displays? chiuam Excel Discussion (Misc queries) 2 January 20th 06 07:56 PM
convert imported data with . separator for decimal into , separato kris Excel Discussion (Misc queries) 1 September 8th 05 11:34 PM


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

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

About Us

"It's about Microsoft Excel"