+ Reply to Thread
Results 1 to 3 of 3

A+B = C, but if A is a negative number, then make it 0.

  1. #1
    Registered User
    Join Date
    06-22-2009
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2007
    Posts
    38

    A+B = C, but if A is a negative number, then make it 0.

    Is there a way to a formula that would show the following?

    A plus B = C but if A is below 0, stop the value at 0 then add column B:

    Columns:
    A B C
    -2 5 5
    1 5 6
    0 5 5


    Any help would be greatly appreaciated. Thanks!
    Last edited by PowerSchoolDude; 10-27-2009 at 02:24 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: A+B = C, but if A is a negative number, then make it 0.

    In C1

    =MAX(0,A1)+B1

  3. #3
    Registered User
    Join Date
    06-22-2009
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: A+B = C, but if A is a negative number, then make it 0.

    You rock. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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