+ Reply to Thread
Results 1 to 3 of 3

How do you SUM a range and multiply only if the SUM of the range is a negative number?

  1. #1
    Registered User
    Join Date
    04-21-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    17

    How do you SUM a range and multiply only if the SUM of the range is a negative number?

    How do you SUM a range and ONLY multiply if the SUM of the range is a negative number and have it return an absolute value of the final number other wise return a 0 if the SUM of the range is a positive number?

    =0.15*SUM(B10:R10)

    is what I have started out on, but not sure how to proceed.

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

    Re: How do you SUM a range and multiply only if the SUM of the range is a negative number?

    One way:

    =0.15*ABS(MIN(0, SUM(B10:R10))

  3. #3
    Registered User
    Join Date
    04-21-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    17

    Re: How do you SUM a range and multiply only if the SUM of the range is a negative number?

    Worked like a charm! Thank you!

+ 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. Replies: 3
    Last Post: 03-22-2015, 12:30 PM
  2. Find 'value' [words] in range and multiply using another value [number]
    By Tony1100 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-05-2014, 05:21 PM
  3. Multiply Range by negative 1
    By morbdetro in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2013, 07:20 PM
  4. Replies: 1
    Last Post: 11-20-2008, 01:52 AM
  5. vba-multiply a range with number(text_box) and format range
    By pinstripe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-12-2007, 06:14 AM
  6. Range less than/.. min/max to a negative number..
    By nastech in forum Excel General
    Replies: 2
    Last Post: 03-01-2006, 04:25 AM
  7. Automatically multiply certain range with a number.
    By sarita in forum Excel General
    Replies: 2
    Last Post: 04-07-2005, 02:41 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