+ Reply to Thread
Results 1 to 5 of 5

IF question formatting help

  1. #1
    Registered User
    Join Date
    11-13-2017
    Location
    Johnson City Tennessee
    MS-Off Ver
    Office 2007
    Posts
    3

    IF question formatting help

    I am trying to format an excel document and need some help. I had a few courses in Excel and was a wizard with it but my old-timers is kicking in and I cannot figure out how to do something and hope you guys can help. Excel really is one of those things that the more you use it the better.

    My goal is this:

    I want to be able to do a formula that says the following. If the sum of A1-A2 is less than 0, it displays 0, if the sum of A1-A2 is more than 0, it will display the value of A1-A2.

    Is this possible and if so how do I do it? I have looked and found similar actions but not exact and they did not work for me. The actual cells are not A1 and A1 but actually R57 and S57.

    Thanks for any help you can give me.

    Rick

  2. #2
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    485

    Re: IF question formatting help

    Is this what you need?

    =MAX(0,A1-A2)

  3. #3
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: IF question formatting help

    =if(sum(r57,s57)<0,0,sum(r57,s57))

  4. #4
    Registered User
    Join Date
    11-13-2017
    Location
    Johnson City Tennessee
    MS-Off Ver
    Office 2007
    Posts
    3

    Re: IF question formatting help

    Thank you both very much, the =MAX(0,A1-A2) worked perfect, I tried them both and that one worked. The other one returned a value other than 0 and it should have been 0, I think it either added the R57 and S57 or it posted the value of S57, not sure but the one by Root_ fixed it, thank you both so much!

  5. #5
    Registered User
    Join Date
    11-13-2017
    Location
    Johnson City Tennessee
    MS-Off Ver
    Office 2007
    Posts
    3

    Re: IF question formatting help

    Hey guys and girls, what about changing the font color, I am working with the currency format, I would like a positive amount to be one color and a negative amount to be another color.

    Example would be a Positive number of $100.00

    A Negative amount of $100.00

    Something like that, can that be done also?

    Thanks again, you all are great!


+ 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. Formatting Question
    By amandakayelitte in forum Excel General
    Replies: 2
    Last Post: 02-22-2017, 11:51 AM
  2. [SOLVED] formatting question
    By Raj in forum Excel General
    Replies: 1
    Last Post: 07-19-2006, 06:34 PM
  3. Formatting Question
    By denileigh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2006, 05:35 PM
  4. Formatting Question
    By Sandy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2005, 06:17 PM
  5. Formatting Question
    By M.Siler in forum Excel General
    Replies: 3
    Last Post: 07-18-2005, 05:05 PM
  6. [SOLVED] Formatting Question
    By Kent in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-01-2005, 03: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