+ Reply to Thread
Results 1 to 4 of 4

Changing negative numbers into whole numbers

  1. #1
    Registered User
    Join Date
    05-08-2013
    Location
    Norwich
    MS-Off Ver
    Excel 2010
    Posts
    51

    Changing negative numbers into whole numbers

    I need a formula that will show a negative number as a positive.

    For example I have a formula in place that will always subtract 180 from a whole number in cell A1 which can be anything from 185 to 270 which is fine but sometimes the number in A1 is 90 to 175. If the number for instance is 160 then 160-180 will be '-20' is it possible to show that as '20'.
    Last edited by jono7gold; 05-14-2013 at 11:17 AM.

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Changing negative numbers into whole numbers

    =abs(a1-180)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-08-2013
    Location
    Norwich
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: Changing negative numbers into whole numbers

    Perfect!!!! Thanks

  4. #4
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Changing negative numbers into whole numbers

    You're welcome.

+ 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