Consulting

Results 1 to 4 of 4

Thread: Solved: SUMPRODUCT help

  1. #1
    VBAX Tutor
    Joined
    Dec 2006
    Posts
    271
    Location

    Solved: SUMPRODUCT help

    Hi All
    I have a problem with a SUMPRODUCT formula:

    Attached is a workbook showing example data and I thought the following would work
    Dates and Venues are named ranges

    =SUMPRODUCT((Dates="21/03/2009")*(Venues="Stockport"))

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,275
    Location
    Try

    =SUMPRODUCT(--(Dates=--"2009-03-21"),--(Venues="Stockport"))
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Tutor
    Joined
    Dec 2006
    Posts
    271
    Location
    Thanks XLD
    Too many '-----' for me to have worked out !

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,275
    Location
    You could also have used

    =SUMPRODUCT(--(Dates=Date(2009,03,21)),--(Venues="Stockport"))

    or even


    =SUMPRODUCT((Dates=Date(2009,03,21))*(Venues="Stockport"))
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •