+ Reply to Thread
Results 1 to 2 of 2

SumIf using date criteria range and one other criteria

  1. #1
    Registered User
    Join Date
    04-20-2010
    Location
    Tampa, Florida
    MS-Off Ver
    Excel 2003
    Posts
    1

    SumIf using date criteria range and one other criteria

    I’m banging my head against the wall on this formula. It is the last one I need to complete my spreadsheet.

    I have a date column and another column with the letters “BPA, BPE, BP, BPV” in them. I am trying to right a formula that will total the number of instances of any “BP*” in the column and total by each month. January, February, etc.

    Here is what I have tried but it is not working.
    =SUM(IF($B$2:$B$1000>=DATEVALUE(”01/01/2010″),IF($B$2:$B$1000<=DATEVALUE("01/31/2010"),IF($M$2:$M$1000="BP",IF($M$2:$M$1000="BPA",IF($M$2:$M$1000="BPB",IF($M$2:$M$1000="BPE",IF($M$2:$M$1000="BPV",1,0),0),0),0),0),0),0))

    The result is coming back zero.
    Am I even close?!

    thanx in advance, Todd

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

    Re: SumIf using date criteria range and one other criteria

    Does this work?

    =SUMPRODUCT(--($B$2:$B$1000>=DATEVALUE("01/01/2010")),--($B$2:$B$1000<=DATEVALUE("01/31/2010")),--(LEFT(M$2:$M$1000,2)="BP"))

    confirm only with 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.

+ 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