+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT and MAX doesnt find me a negative value

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-18-2011
    Location
    Delhi , India
    MS-Off Ver
    Excel 2007
    Posts
    171

    SUMPRODUCT and MAX doesnt find me a negative value

    i want to find the highest number in a range which , but it should be less than 10.
    i am using the formula : =SUMPRODUCT(MAX((B1:B18<10)*B1:B18))

    But the problem is the highest value in the range below 10 is -4 , which this formula is unable to find. It returns the value as 0.

    thanks
    Last edited by Sarangsood; 11-24-2011 at 10:42 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: SUMPRODUCT and MAX doesnt find me a negative value

    Try:

    =MAX(IF(B1:B18<10,B1:B18))

    confirmed with CTRL+SHIFT+ENTER
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: SUMPRODUCT and MAX doesnt find me a negative value

    my proposition without sum.product

    =MAX(IF(B1:B18<10,B1:B18,0))
    array formula Ctrl + Shift + Enter
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  4. #4
    Forum Contributor
    Join Date
    05-18-2011
    Location
    Delhi , India
    MS-Off Ver
    Excel 2007
    Posts
    171

    Re: SUMPRODUCT and MAX doesnt find me a negative value

    thanks a lot sir. it worked

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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