+ Reply to Thread
Results 1 to 3 of 3

If value = negative number, then (formula here)

  1. #1
    Registered User
    Join Date
    11-06-2014
    Location
    St Louis, Mo
    MS-Off Ver
    2007
    Posts
    2

    If value = negative number, then (formula here)

    Hello everyone, kinda new to excel, and I'm not sure I'm wording my issue well enough for google..hoping you all can help.

    I need a formula that will check a number. Once checked, if the number is negative, it will take that number and subtract it from another. If the number is positive, it will return that positive value.

    Example...

    Think Degrees on a compass. 0 is north, if I turn 90 degrees right, I'm facing east (or heading 090). If I turn left, it would be a -90 degree , or 270 (360-90=270). I need that -90 to come out to 270, and +90 to return a value of 90. Clear as mud?

    Is there help for me?

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: If value = negative number, then (formula here)

    assuming your value is in A1 then in B1 put the following

    Please Login or Register  to view this content.

    oops just realised taking away a - = positive!

    Please Login or Register  to view this content.
    Last edited by pjwhitfield; 11-06-2014 at 05:02 PM.

  3. #3
    Registered User
    Join Date
    11-06-2014
    Location
    St Louis, Mo
    MS-Off Ver
    2007
    Posts
    2

    Re: If value = negative number, then (formula here)

    pjwhitfield,

    Thank you! I was thinking it was an IF function, but couldn't figure out how to configure it.

+ 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. IF Formula Ignoring Negative Number
    By AznDragon533 in forum Excel General
    Replies: 2
    Last Post: 09-08-2011, 03:04 AM
  2. Formula to Roundup Negative Number to zero, and...
    By pdorazio in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-25-2011, 08:30 AM
  3. Display formula value as a negative number
    By rhudgins in forum Excel General
    Replies: 10
    Last Post: 03-04-2011, 05:18 PM
  4. If the result of a formula is a negative number, I want it to put 0
    By AnnaV in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2009, 04:29 PM
  5. 2003= negative number&2004= negative number How Do I Calculate gro
    By Jason in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-14-2005, 02:06 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