+ Reply to Thread
Results 1 to 5 of 5

convert negative numbers to positive numbers and vice versa

  1. #1
    bill gras
    Guest

    convert negative numbers to positive numbers and vice versa

    I have in column A formulas e g :

    =VLOOKUP(D53,AN54:AO4000,2,FALSE) result -45
    =VLOOKUP(D54,AN54:AO4000,2,FALSE) result -67
    =VLOOKUP(D55,AN54:AO4000,2,FALSE) result 78
    =VLOOKUP(D56,AN54:AO4000,2,FALSE) result -4
    =VLOOKUP(D57,AN54:AO4000,2,FALSE) result 49
    =VLOOKUP(D58,AN54:AO4000,2,FALSE) result 23
    =VLOOKUP(D59,AN54:AO4000,2,FALSE) result - 34

    how can I convert negative numbers to positive numbers ?

    regards bill
    --
    bill gras

  2. #2
    Registered User
    Join Date
    11-23-2005
    Posts
    70
    multiply by minus one.

  3. #3
    Fred Smith
    Guest

    Re: convert negative numbers to positive numbers and vice versa

    If, as your subject says, you want to convert negative to positive, and vice
    versa, simply put a minus sign in front of your formula, as in:

    =-VLOOKUP(D53,AN54:AO4000,2,FALSE)

    If, as the body of your message says, you want to convert negative to positive,
    but leave the positive results as is, use:

    =ABS(VLOOKUP(D53,AN54:AO4000,2,FALSE))

    --
    Regards,
    Fred


    "bill gras" <[email protected]> wrote in message
    news:[email protected]...
    >I have in column A formulas e g :
    >
    > =VLOOKUP(D53,AN54:AO4000,2,FALSE) result -45
    > =VLOOKUP(D54,AN54:AO4000,2,FALSE) result -67
    > =VLOOKUP(D55,AN54:AO4000,2,FALSE) result 78
    > =VLOOKUP(D56,AN54:AO4000,2,FALSE) result -4
    > =VLOOKUP(D57,AN54:AO4000,2,FALSE) result 49
    > =VLOOKUP(D58,AN54:AO4000,2,FALSE) result 23
    > =VLOOKUP(D59,AN54:AO4000,2,FALSE) result - 34
    >
    > how can I convert negative numbers to positive numbers ?
    >
    > regards bill
    > --
    > bill gras




  4. #4
    bpeltzer
    Guest

    RE: convert negative numbers to positive numbers and vice versa

    Easiest way is to change the formula:
    =abs(vlookup(d53,an54:ao2000,2,false)). If you want to negate a range of
    cells, you can also type a -1 in some random cell, copy it, select your range
    then Edit > Paste Special, select Multiply and click OK.

    "bill gras" wrote:

    > I have in column A formulas e g :
    >
    > =VLOOKUP(D53,AN54:AO4000,2,FALSE) result -45
    > =VLOOKUP(D54,AN54:AO4000,2,FALSE) result -67
    > =VLOOKUP(D55,AN54:AO4000,2,FALSE) result 78
    > =VLOOKUP(D56,AN54:AO4000,2,FALSE) result -4
    > =VLOOKUP(D57,AN54:AO4000,2,FALSE) result 49
    > =VLOOKUP(D58,AN54:AO4000,2,FALSE) result 23
    > =VLOOKUP(D59,AN54:AO4000,2,FALSE) result - 34
    >
    > how can I convert negative numbers to positive numbers ?
    >
    > regards bill
    > --
    > bill gras


  5. #5
    bill gras
    Guest

    Re: convert negative numbers to positive numbers and vice versa

    Hi Fred , rsenn , bpeltzer
    Thank you all for your reply
    Just what I was looking for , once again , thanks!

    regards bill
    --
    bill gras


    "Fred Smith" wrote:

    > If, as your subject says, you want to convert negative to positive, and vice
    > versa, simply put a minus sign in front of your formula, as in:
    >
    > =-VLOOKUP(D53,AN54:AO4000,2,FALSE)
    >
    > If, as the body of your message says, you want to convert negative to positive,
    > but leave the positive results as is, use:
    >
    > =ABS(VLOOKUP(D53,AN54:AO4000,2,FALSE))
    >
    > --
    > Regards,
    > Fred
    >
    >
    > "bill gras" <[email protected]> wrote in message
    > news:[email protected]...
    > >I have in column A formulas e g :
    > >
    > > =VLOOKUP(D53,AN54:AO4000,2,FALSE) result -45
    > > =VLOOKUP(D54,AN54:AO4000,2,FALSE) result -67
    > > =VLOOKUP(D55,AN54:AO4000,2,FALSE) result 78
    > > =VLOOKUP(D56,AN54:AO4000,2,FALSE) result -4
    > > =VLOOKUP(D57,AN54:AO4000,2,FALSE) result 49
    > > =VLOOKUP(D58,AN54:AO4000,2,FALSE) result 23
    > > =VLOOKUP(D59,AN54:AO4000,2,FALSE) result - 34
    > >
    > > how can I convert negative numbers to positive numbers ?
    > >
    > > regards bill
    > > --
    > > bill gras

    >
    >
    >


+ 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