+ Reply to Thread
Results 1 to 5 of 5

exclude minus figures?

  1. #1
    Forum Contributor
    Join Date
    12-16-2006
    Posts
    349

    exclude minus figures?

    Please Login or Register  to view this content.
    if the answer to the above = a minus number then 0


    Please Login or Register  to view this content.
    how do i get the above to exclude minus numbers

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

    Please Login or Register  to view this content.
    For the second I presume you mean that you don't want to sum any negative numbers in TL!$D$2:$D$5000 even when the other condition are met, try

    =SUMPRODUCT((TL!$F$2:$F$5000=TOTALS!$A2)*( TL!$G$2:$G$5000=B$1)*(TL!$D$2:$D$5000>0),TL!$D$2:$D$5000)

  3. #3
    Forum Contributor
    Join Date
    12-16-2006
    Posts
    349

    not working.. can you help

    this counts the number of values above 0 instead summing up the figures and excluding minuses

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    The SUMPRODUCT formula should sum all values in TL!$D$2:$D$5000

    where 1) that value is greater than zero, 2) column G for the corresponding row is equal to B1 and 3) column F for the corresponding row is equal to Totals!A2.

    It shouldn't just give you a count, what result did you get, what did you expect?

  5. #5
    Forum Contributor
    Join Date
    12-16-2006
    Posts
    349

    thanks

    ..im not sure .. i need to look into this will get back if i need further help

+ 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