+ Reply to Thread
Results 1 to 6 of 6

If cell is negative multiply by -1 formula

  1. #1
    Forum Contributor
    Join Date
    06-01-2012
    Location
    va
    MS-Off Ver
    2007
    Posts
    163

    If cell is negative multiply by -1 formula

    Hi all,

    I need some help with a formula that would be put in column B and check if the value next to it column A is a negative and if it is to multiply it by -1, but if not just multiply it by 1.

    Is this possible?

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If cell is negative multiply by -1 formula

    Try

    =ABS(A1)

  3. #3
    Forum Contributor
    Join Date
    06-01-2012
    Location
    va
    MS-Off Ver
    2007
    Posts
    163

    Re: If cell is negative multiply by -1 formula

    Quote Originally Posted by Jonmo1 View Post
    Try

    =ABS(A1)
    Sorry I should have been a bit more specific. I'm trying to convert negative times into positive ones. So when I try to use an absolute value for time it comes out to some odd number like 1xxx hours, but if I just multiply it by -1 it comes out to what I want it to be.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If cell is negative multiply by -1 formula

    I'm not sure why it does that, but it's just the formating of the cell.
    But it is the correct value.

    Just Format the cell with the ABS function as a TIME instead of a Number.

  5. #5
    Forum Contributor
    Join Date
    06-01-2012
    Location
    va
    MS-Off Ver
    2007
    Posts
    163

    Re: If cell is negative multiply by -1 formula

    Duh, stupid me. Sorry haven't completely woken up yet. Thanks.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If cell is negative multiply by -1 formula

    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)

Similar Threads

  1. [SOLVED] Formula to multiply many cell against each other
    By hammer2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-12-2013, 08:49 AM
  2. If and Then Formula/Code to multiply with a Designated Cell
    By aaron.mendes in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-09-2013, 03:08 PM
  3. Need help with a Multiply Dependent One Cell Formula
    By derekblain in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-08-2006, 05:35 PM
  4. formula cell value multiply by percentage
    By formula using percentage question in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-01-2006, 09:25 PM

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