+ Reply to Thread
Results 1 to 2 of 2

How do I sum multiple columns counting including blanks and dates

Hybrid View

  1. #1
    BK99
    Guest

    How do I sum multiple columns counting including blanks and dates

    I have two columns of which I want to use as criteria to add contents of a
    third column. The columns may or may not be blank and one of the columns if
    complete should only be counted if date less than 7/1/2005 for example. I
    would like to sum and also count this data.



  2. #2
    Bob Phillips
    Guest

    Re: How do I sum multiple columns counting including blanks and dates

    =SUMPRODUCT(--(A2:A20<=--"2005-07-01"),--(B2:B20="criteria"),C2:C20)

    should do it, replace criteria with your secondary test value

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "BK99" <BK99@discussions.microsoft.com> wrote in message
    news:2F0DA4C1-D57D-45E2-93E2-707570A14678@microsoft.com...
    > I have two columns of which I want to use as criteria to add contents of

    a
    > third column. The columns may or may not be blank and one of the columns

    if
    > complete should only be counted if date less than 7/1/2005 for example. I
    > would like to sum and also count this data.
    >
    >




+ 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