+ Reply to Thread
Results 1 to 4 of 4

SUM (not sumproduct) with 2 criteria

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851

    SUM (not sumproduct) with 2 criteria

    I am trying to sum accross a range of data and text with 2 criteria. I cannot use sumproduct (to the best of my knowledge) due to the text. The equation I am trying is

    =SUM(IF(AND(RIGHT($A$1:$A$1500,18)="Sales - to be Done",ROW($A$1:$A$1500)>100)=TRUE,$B$1:$B$1500))

    but this is resulting in zero

    Note there is text in column B in the range of rows

    Any suggestions? Or does SUM(IF(AND(
    just not work?
    not a professional, just trying to assist.....

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi Duane,

    You can use sumproduct with text as long as you add double unary operator ...
    =SUMPRODUCT((--(RIGHT($A$1:$A$1500,18)="Sales - to be Done"), ....
    HTH
    Carim


    Top Excel Links

  3. #3
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    thank you very much - never used the double unary before - always the *

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    You are welcome ...

    Thanks for the feedback

+ 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