Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Change of negative amount

How to change an amount, 523- to -523 in an easy way?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Change of negative amount

Insert a helper column to the right of the values you want to transform and
in the first cell to the right of the first value, enter the following
formula modifying the A1 cell address to the cell address of your first value:

=VALUE(LEFT(A1,LEN(A1)-1))*-1

Copy down the entire length of the column.

Then select all the formula values in the helper column and copy them
(Ctrl+C). Move the first cell of the original values column, click EDIT in
the menu and select PASTE SPECIAL/VALUES.

YOu can now delete the helper column.

Hope this helps.
--
Kevin Backmann


"Karin" wrote:

How to change an amount, 523- to -523 in an easy way?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Change of negative amount

Hi
Thanks for answer. I don't understand " Then select all the formula values
in the helper column and copy them
(Ctrl+C). Move the first cell of the original values column, click EDIT in
the menu and select PASTE SPECIAL/VALUES." though. Can you please help me again?

What does LEN means?




"Kevin B" skrev:

Insert a helper column to the right of the values you want to transform and
in the first cell to the right of the first value, enter the following
formula modifying the A1 cell address to the cell address of your first value:

=VALUE(LEFT(A1,LEN(A1)-1))*-1

Copy down the entire length of the column.

Then select all the formula values in the helper column and copy them
(Ctrl+C). Move the first cell of the original values column, click EDIT in
the menu and select PASTE SPECIAL/VALUES.

YOu can now delete the helper column.

Hope this helps.
--
Kevin Backmann


"Karin" wrote:

How to change an amount, 523- to -523 in an easy way?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Change of negative amount

Assume your data in A1

In B1: =SUBSTITUTE(A1,"-","")*-1


Karin" wrote:

Hi
Thanks for answer. I don't understand " Then select all the formula values
in the helper column and copy them
(Ctrl+C). Move the first cell of the original values column, click EDIT in
the menu and select PASTE SPECIAL/VALUES." though. Can you please help me again?

What does LEN means?




"Kevin B" skrev:

Insert a helper column to the right of the values you want to transform and
in the first cell to the right of the first value, enter the following
formula modifying the A1 cell address to the cell address of your first value:

=VALUE(LEFT(A1,LEN(A1)-1))*-1

Copy down the entire length of the column.

Then select all the formula values in the helper column and copy them
(Ctrl+C). Move the first cell of the original values column, click EDIT in
the menu and select PASTE SPECIAL/VALUES.

YOu can now delete the helper column.

Hope this helps.
--
Kevin Backmann


"Karin" wrote:

How to change an amount, 523- to -523 in an easy way?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Change of negative amount

Another way...

=-SUBSTITUTE(A1,"-","")


"Karin" wrote:

How to change an amount, 523- to -523 in an easy way?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Change of negative amount

DataText to ColumnsNextNextAdvanced.

Make sure "trailing minus" is enabled then Finish.


Gord Dibben MS Excel MVP

On Thu, 17 Apr 2008 05:52:03 -0700, Karin
wrote:

How to change an amount, 523- to -523 in an easy way?


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Change of negative amount

Yeeeaaaahhh! Thank you!!!

"Gord Dibben" skrev:

DataText to ColumnsNextNextAdvanced.

Make sure "trailing minus" is enabled then Finish.


Gord Dibben MS Excel MVP

On Thu, 17 Apr 2008 05:52:03 -0700, Karin
wrote:

How to change an amount, 523- to -523 in an easy way?



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Change of negative amount

"trailing minus" - option is it available on excel 2000? if so do I have to
turn on..I do not have it under "Advance"

Thank you.

"Gord Dibben" wrote:

DataText to ColumnsNextNextAdvanced.

Make sure "trailing minus" is enabled then Finish.


Gord Dibben MS Excel MVP

On Thu, 17 Apr 2008 05:52:03 -0700, Karin
wrote:

How to change an amount, 523- to -523 in an easy way?



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Change of negative amount

Nope. It was added in xl2002 (I think).

But can you use a macro?

Dana DeLouis posted this:


Sub TrailingMinus()
' = = = = = = = = = = = = = = = =
' Use of CDbl suggested by Peter Surcouf
' Program by Dana DeLouis,
' = = = = = = = = = = = = = = = =
Dim rng As Range
Dim bigrng As Range

On Error Resume Next
Set bigrng = Cells.SpecialCells(xlConstants, xlTextValues).Cells
If bigrng Is Nothing Then Exit Sub

For Each rng In bigrng.Cells
rng = CDbl(rng)
Next
End Sub

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

SCGRL wrote:

"trailing minus" - option is it available on excel 2000? if so do I have to
turn on..I do not have it under "Advance"

Thank you.

"Gord Dibben" wrote:

DataText to ColumnsNextNextAdvanced.

Make sure "trailing minus" is enabled then Finish.


Gord Dibben MS Excel MVP

On Thu, 17 Apr 2008 05:52:03 -0700, Karin
wrote:

How to change an amount, 523- to -523 in an easy way?




--

Dave Peterson
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
Formula with negative amount Roxy Excel Discussion (Misc queries) 11 February 14th 08 08:27 PM
How to display negative $ amount?? Soundar Excel Discussion (Misc queries) 12 January 3rd 08 04:51 PM
How to change amount in figure to amount in words? Lotis Excel Worksheet Functions 3 June 27th 07 04:34 AM
ENTER NEGATIVE AMOUNT Anna Excel Discussion (Misc queries) 3 October 27th 06 10:53 AM
Change negative amount to positive. George New Users to Excel 2 July 29th 05 05:59 PM


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

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"