+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT Formula to exclude a criteria but include a similar criteria.

  1. #1
    Registered User
    Join Date
    04-21-2015
    Location
    Wakefield
    MS-Off Ver
    Office 2013
    Posts
    4

    SUMPRODUCT Formula to exclude a criteria but include a similar criteria.

    =SUMPRODUCT(SIGN((APR'!$A$3:$A$2500&APR'!$B$3:$B$2500="Place holder"&$B$2)*(APR'!$I$3:$I$2500<>"R")))

    for the most part this formula works but in Collumn "I" I want to exclude Value "R", the problem is it is also excluding the value RBS which I don't want.

    This has to be a sumproduct formula as it is referencing a closed workbook (I have shortened it for easy viewing removing the file location path)

    Any Help will be much appreciated

  2. #2
    Registered User
    Join Date
    04-21-2015
    Location
    Wakefield
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: SUMPRODUCT Formula to exclude a criteria but include a similar criteria.

    solved was a data entry error, formula works xD

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: SUMPRODUCT Formula to exclude a criteria but include a similar criteria.

    It doesn't seem to be that part of the formula that's causing the problem. I think...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: SUMPRODUCT Formula to exclude a criteria but include a similar criteria.

    SIGN function is redundant in your formula - you can remove it and get the same results

    =SUMPRODUCT((APR'!$A$3:$A$2500&APR'!$B$3:$B$2500="Place holder"&$B$2)*(APR'!$I$3:$I$2500<>"R"))
    Audere est facere

+ 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. SUMPRODUCT Criteria - Do Not Include Value From Separate Column
    By freybe06 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2014, 10:26 AM
  2. SUMPRODUCT Criteria to Not Include Values within Column
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2014, 10:24 AM
  3. Replies: 1
    Last Post: 12-27-2013, 03:56 PM
  4. Formula to Exclude lines that dont match criteria
    By chrismike in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-27-2013, 07:18 PM
  5. Replies: 2
    Last Post: 07-20-2010, 01:25 PM

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