+ Reply to Thread
Results 1 to 5 of 5

Turn a row of numbers into negative value

  1. #1

    Turn a row of numbers into negative value

    Hi Folks

    Am using Excel 2002.

    I have a column of data like this:
    5, 16, 27, 38, 39

    Is it a fast and automatic way of turning all these into negative....
    that reads
    -5, -16, -27, -38, -39


    Thanks!


  2. #2
    Dave Peterson
    Guest

    Re: Turn a row of numbers into negative value

    put -1 in an empty cell
    edit|copy (that cell)
    select your range to fix
    edit|paste special|check multiply
    clean up that cell with -1 in it.

    "[email protected]" wrote:
    >
    > Hi Folks
    >
    > Am using Excel 2002.
    >
    > I have a column of data like this:
    > 5, 16, 27, 38, 39
    >
    > Is it a fast and automatic way of turning all these into negative....
    > that reads
    > -5, -16, -27, -38, -39
    >
    > Thanks!


    --

    Dave Peterson

  3. #3
    Max
    Guest

    Re: Turn a row of numbers into negative value

    If the col of numbers is in col A,
    we could also put in say, B1: =A1*-1, and copy B1 down
    (Then use col B for further calcs, etc)

    Or, if the col A may also contain negative numbers
    which are to be left untouched (say),
    then we could use instead in B1: =IF(A1>0,A1*-1,A1)
    --
    Max
    Singapore
    http://savefile.com/projects/236895
    xdemechanik
    ---
    <[email protected]> wrote in message
    news:[email protected]...
    > Hi Folks
    >
    > Am using Excel 2002.
    >
    > I have a column of data like this:
    > 5, 16, 27, 38, 39
    >
    > Is it a fast and automatic way of turning all these into negative....
    > that reads
    > -5, -16, -27, -38, -39
    >
    >
    > Thanks!
    >




  4. #4
    Forum Contributor
    Join Date
    01-18-2005
    Location
    Auckland New Zealand
    MS-Off Ver
    Office Professional 2007
    Posts
    295

    Use min function

    Or, if the values may already contain negatives, and you want to retain those, if values start in A1, then type

    =min(a1,-a1) into B1

    and copy that down to the column

    Regards
    Mike

  5. #5
    Max
    Guest

    Re: Turn a row of numbers into negative value

    "Mikeopolo" wrote:
    > Or, if the values may already contain negatives,
    > and you want to retain those, if values start in A1, then type
    > =min(a1,-a1) into B1


    Much neater, thanks !

    and even the earlier
    > ... B1: =A1*-1


    should also be just B1: = -A1 <g>
    --
    Max
    Singapore
    http://savefile.com/projects/236895
    xdemechanik
    ---



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1