+ Reply to Thread
Results 1 to 4 of 4

Formula needed to not show neg number when calculating totals from other cells

  1. #1
    Forum Contributor
    Join Date
    07-06-2013
    Location
    USA
    MS-Off Ver
    MS Office 2019 Pro Plus
    Posts
    182

    Formula needed to not show neg number when calculating totals from other cells

    WS attached
    B9 through P9 is where the formula needs to go.

    Basically anytime the remaining total in B9:P9 is a negative,
    I just want it to show 0 as the remaining.
    As you can see from the WS B9, D9 and F9 are showing negative numbers.
    Once it hits 0 I want it to stay at 0.

    Thank You
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formula needed to not show neg number when calculating totals from other cells

    try =IF((B7-B8)<=0,0,B7-B8)

    or
    =IF(AND(B7="",B8=""),"",IF((B7-B8)<=0,0,B7-B8))
    Last edited by sandy666; 03-12-2017 at 11:10 AM.

  3. #3
    Forum Contributor
    Join Date
    07-06-2013
    Location
    USA
    MS-Off Ver
    MS Office 2019 Pro Plus
    Posts
    182

    Re: Formula needed to not show neg number when calculating totals from other cells

    1st one works fine, thank you!

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formula needed to not show neg number when calculating totals from other cells

    If the basic problem is solved
    - it's always a good practice to show respect to the person(s) who have helped you
    - is a click on the Add Reputation first (left lower corner of the post of person(s) who helped you)

    Thanks

+ 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 show the first number in a row of cells
    By KClem in forum Excel General
    Replies: 2
    Last Post: 02-23-2016, 06:18 AM
  2. Formula help needed to assign cells and calculate totals
    By RDParker in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-13-2015, 09:55 PM
  3. [SOLVED] Help with formula needed for calculating total VAT of cells
    By jimmmi in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-15-2015, 03:30 PM
  4. Calculating rounded number of days based on totals
    By pmoby in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-25-2014, 05:28 AM
  5. Formula needed for totals page..
    By blackrocks14 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-06-2014, 09:17 AM
  6. [SOLVED] Calculating totals on filtered data using visible cells only
    By Tim121 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-19-2013, 01:37 PM
  7. Formula needed to split totals into 2 different cells based on percentage
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-07-2013, 04:55 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