+ Reply to Thread
Results 1 to 5 of 5

Tracking weight loss with plus and minus signs

Hybrid View

  1. #1
    Registered User
    Join Date
    08-13-2019
    Location
    Jacksonville, OR
    MS-Off Ver
    2010
    Posts
    3

    Question Tracking weight loss with plus and minus signs

    I'm trying to track weight loss, so positive numbers indicate weight lost, and negative numbers are pounds gained. How can I get the numbers to appear such that positive numbers get a minus sign in front and negative numbers get a plus sign indicating weight gain?

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,724

    Re: Tracking weight loss with plus and minus signs

    old weight - new weight = weight loss
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.97.2 for Mac MS 365
    Posts
    8,708

    Re: Tracking weight loss with plus and minus signs

    assuming your old weight is in A2 and new weight is in B2, then try this... =IF(A2-B2>0,"-"&A2-B2,"+"&B2-A2)

    EDIT: actually it may be this now that I think about what you posted on the other thread... =IF(A2-B2<0,"-"&B2-A2,"+"&A2-B2)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Tracking weight loss with plus and minus signs

    You neglect to say whether the numbers are integers or, if not, how many decimal places you want to display. One of the following Custom cell formats should do the trick without changing the value or the type (numeric).

    For integers:
    \-0;\+0;0

    For non-integers displaying 2 decimal places:
    \-0.00;\+0.00;0.00

    Caveat: IMHO, it is misleading to display positive numbers as negative and vice versa. But that is what you asked for.

  5. #5
    Registered User
    Join Date
    08-13-2019
    Location
    Jacksonville, OR
    MS-Off Ver
    2010
    Posts
    3

    Red face Re: Tracking weight loss with plus and minus signs

    Thanks everyone. I feel like a real dodo for not thinking of this myself. I guess when you do something, you can get stuck in a rut.

    Thanks for getting me out of the rut!

+ 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. Weight loss tracker
    By missthomas in forum Excel General
    Replies: 2
    Last Post: 08-12-2014, 08:21 PM
  2. Weight Loss Tracking Formula - Rounded
    By kthrynileen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-03-2013, 10:17 PM
  3. Tracking Weight Loss in Excel
    By hbretthill in forum Excel General
    Replies: 6
    Last Post: 11-03-2013, 07:42 PM
  4. tracking weight loss
    By poohbear802 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-12-2008, 01:08 PM
  5. Minus signs after number
    By Crowbar via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2006, 11:20 AM
  6. MINUS SIGNS REMOVAL
    By Rebecca in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-23-2005, 08:10 PM
  7. Weight loss line chart to monitor weight loss progress
    By S Fox in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 11-08-2005, 01:15 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