+ Reply to Thread
Results 1 to 2 of 2

Counting text criteria

  1. #1
    Belinda
    Guest

    Counting text criteria

    I have two columns Column A contains contract numbers, i.e. s4802,
    s5601--column b contains status words i.e. pending, approved, withdrawn. I
    need a formula that will provide a count of each status by contact.

  2. #2
    Peo Sjoblom
    Guest

    Re: Counting text criteria

    =SUMPRODUCT(--(A2:A100="s4802"),--(B2:B100="pending"))

    or better

    =SUMPRODUCT(--(A2:A100=C2),--(B2:B100=D2))

    where C2 holds the contract you want to check and D2 the status, that way
    you won't have to edit the formula when you change the criteria

    --

    Regards,

    Peo Sjoblom


    "Belinda" <[email protected]> wrote in message
    news:[email protected]...
    > I have two columns Column A contains contract numbers, i.e. s4802,
    > s5601--column b contains status words i.e. pending, approved, withdrawn.

    I
    > need a formula that will provide a count of each status by contact.




+ 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