+ Reply to Thread
Results 1 to 3 of 3

sumproduct help

  1. #1
    scott
    Guest

    sumproduct help

    my sumproduct statement is adding 1 to the end result for some reason.
    does anyone know how this might happen?

    =SUMPRODUCT(--(V2:V999="CUSTOMER"),--(MONTH(B2:B999)=6))

    I am trying to count how many times "customer" is selected from a drop down
    list in the month of June.

    Thanks,
    Scott

  2. #2
    Dave Peterson
    Guest

    Re: sumproduct help

    You're formula looks ok to me. Are you sure that you're not miscounting?

    If you have your data filtered, maybe it's in one of the hidden rows???

    Any chance you're including a row with June of a different year?

    =SUMPRODUCT(--(V2:V999="CUSTOMER"),--(text(B2:B999,"yyyymm")="200606"))

    Would check for June of this year.

    scott wrote:
    >
    > my sumproduct statement is adding 1 to the end result for some reason.
    > does anyone know how this might happen?
    >
    > =SUMPRODUCT(--(V2:V999="CUSTOMER"),--(MONTH(B2:B999)=6))
    >
    > I am trying to count how many times "customer" is selected from a drop down
    > list in the month of June.
    >
    > Thanks,
    > Scott


    --

    Dave Peterson

  3. #3
    scott
    Guest

    Re: sumproduct help

    ill make that change.
    thanks!

    "Dave Peterson" wrote:

    > You're formula looks ok to me. Are you sure that you're not miscounting?
    >
    > If you have your data filtered, maybe it's in one of the hidden rows???
    >
    > Any chance you're including a row with June of a different year?
    >
    > =SUMPRODUCT(--(V2:V999="CUSTOMER"),--(text(B2:B999,"yyyymm")="200606"))
    >
    > Would check for June of this year.
    >
    > scott wrote:
    > >
    > > my sumproduct statement is adding 1 to the end result for some reason.
    > > does anyone know how this might happen?
    > >
    > > =SUMPRODUCT(--(V2:V999="CUSTOMER"),--(MONTH(B2:B999)=6))
    > >
    > > I am trying to count how many times "customer" is selected from a drop down
    > > list in the month of June.
    > >
    > > Thanks,
    > > Scott

    >
    > --
    >
    > Dave Peterson
    >


+ 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