Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default how do I convert 1.234,00- to -1,234.00?

please help negative and commas in wrong place
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 506
Default how do I convert 1.234,00- to -1,234.00?

If the minus symbol is appearing as the last character of the cell value then
use this formula.

=IF(TRIM(RIGHT(A1,1))="-","-"&SUBSTITUTE(TRIM(A1),"-",""),TRIM(A1))

Change the cell reference A1 to your desired cell.

If this post helps, Click Yes!
--------------------
(Ms-Exl-Learner)
--------------------



"wynand" wrote:

please help negative and commas in wrong place

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default how do I convert 1.234,00- to -1,234.00?

Thank you, it works brilliant.
Any ideas on swopping the . and the , around?

"Ms-Exl-Learner" wrote:

If the minus symbol is appearing as the last character of the cell value then
use this formula.

=IF(TRIM(RIGHT(A1,1))="-","-"&SUBSTITUTE(TRIM(A1),"-",""),TRIM(A1))

Change the cell reference A1 to your desired cell.

If this post helps, Click Yes!
--------------------
(Ms-Exl-Learner)
--------------------



"wynand" wrote:

please help negative and commas in wrong place

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 506
Default how do I convert 1.234,00- to -1,234.00?

yes we can swap the dot (.) and comma (,) also but give some example from
where to where do you want to swap it.

--------------------
(Ms-Exl-Learner)
--------------------



"wynand" wrote:

Thank you, it works brilliant.
Any ideas on swopping the . and the , around?

"Ms-Exl-Learner" wrote:

If the minus symbol is appearing as the last character of the cell value then
use this formula.

=IF(TRIM(RIGHT(A1,1))="-","-"&SUBSTITUTE(TRIM(A1),"-",""),TRIM(A1))

Change the cell reference A1 to your desired cell.

If this post helps, Click Yes!
--------------------
(Ms-Exl-Learner)
--------------------



"wynand" wrote:

please help negative and commas in wrong place

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default how do I convert 1.234,00- to -1,234.00?

1.234,00- needs to be -1,234.00 (unlimited numbers 100.00 1,000.00,
10,000.00, 100,000.00 etc)

"Ms-Exl-Learner" wrote:

yes we can swap the dot (.) and comma (,) also but give some example from
where to where do you want to swap it.

--------------------
(Ms-Exl-Learner)
--------------------



"wynand" wrote:

Thank you, it works brilliant.
Any ideas on swopping the . and the , around?

"Ms-Exl-Learner" wrote:

If the minus symbol is appearing as the last character of the cell value then
use this formula.

=IF(TRIM(RIGHT(A1,1))="-","-"&SUBSTITUTE(TRIM(A1),"-",""),TRIM(A1))

Change the cell reference A1 to your desired cell.

If this post helps, Click Yes!
--------------------
(Ms-Exl-Learner)
--------------------



"wynand" wrote:

please help negative and commas in wrong place



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 506
Default how do I convert 1.234,00- to -1,234.00?

Use this formula

=IF(RIGHT(TRIM(A1),1)="-",("-"&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(TRIM (A1),".","/"),",","."),"/",","),"-","")),(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(TRIM(A1), ".","/"),",","."),"/",",")))

Change the cell reference to your desired cell.

Or

Select the data column and Press Cntrl+H and replace the comma as dot and in
the same way again replace the dot as comma. Thats it!

If this post helps, Click Yes!

--------------------
(Ms-Exl-Learner)
--------------------



"wynand" wrote:

1.234,00- needs to be -1,234.00 (unlimited numbers 100.00 1,000.00,
10,000.00, 100,000.00 etc)

"Ms-Exl-Learner" wrote:

yes we can swap the dot (.) and comma (,) also but give some example from
where to where do you want to swap it.

--------------------
(Ms-Exl-Learner)
--------------------



"wynand" wrote:

Thank you, it works brilliant.
Any ideas on swopping the . and the , around?

"Ms-Exl-Learner" wrote:

If the minus symbol is appearing as the last character of the cell value then
use this formula.

=IF(TRIM(RIGHT(A1,1))="-","-"&SUBSTITUTE(TRIM(A1),"-",""),TRIM(A1))

Change the cell reference A1 to your desired cell.

If this post helps, Click Yes!
--------------------
(Ms-Exl-Learner)
--------------------



"wynand" wrote:

please help negative and commas in wrong place

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
can the "convert" function in excel convert to UK gallons? JR Excel Discussion (Misc queries) 2 April 24th 08 04:55 PM
how will i convert 05.01.2007 convert 05.Jan.2007 format? lady_like New Users to Excel 17 February 9th 07 12:43 PM
convert value in word. For Exampe Rs.115.00 convert into word as . Shakti Excel Discussion (Misc queries) 1 May 10th 05 12:00 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
Convert Time...!convert tenths of a second Pape Excel Discussion (Misc queries) 2 December 16th 04 10:17 AM


All times are GMT +1. The time now is 03:34 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"