+ Reply to Thread
Results 1 to 4 of 4

Always Negative

  1. #1
    Registered User
    Join Date
    01-07-2005
    Posts
    45

    Always Negative

    How would you make a cell that has a formula always make the number that it produces negative?

    I'm not sure how to do it, but I'm doing a very simple formula of adding/subtracting cells but I want to always make the number negative (or positive would work find otherwise)

    I just need to be able to subtract this number from another sell, but I need them to be consistent.

    Thanks.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    =ABS(anyFormula) returns a zero or positive result
    =-ABS(anyFormula) returns a zero or negative result

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See if this helps

    Use the ABS to make it positive number then add the - symbol after the =

    =-ABS(A1+A2)
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    01-07-2005
    Posts
    45
    Thanks a lot!

+ 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