+ Reply to Thread
Results 1 to 3 of 3

Help with Formula

  1. #1
    grobertson
    Guest

    Help with Formula

    Hi,
    Just need help with a quick formula.

    Column A contains the Month (i.e. January, February, March etc..)
    Column B contains either "Open" or "Closed"

    I currently have the following formula in column C :-
    =COUNTIF(B1:B54,"Open")

    This counts how many cells in column B contain "Open"

    I would like a formula in the cell that say's countif A = January and B =
    Open.

    Thanks

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064
    Try

    =SUMPRODUCT((A1:A154="January")*(B1:B154="Open"))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Don Guillett
    Guest

    Re: Help with Formula

    Or if your months are actually dates formatted as mmmm

    =SUMPRODUCT((month(A1:A154)=1)*(B1:B154="Open"))

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "Special-K" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Try
    >
    > =SUMPRODUCT((A1:A154="January")*(B1:B154="Open"))
    >
    >
    > --
    > Special-K
    >
    >
    > ------------------------------------------------------------------------
    > Special-K's Profile:
    > http://www.excelforum.com/member.php...fo&userid=7470
    > View this thread: http://www.excelforum.com/showthread...hreadid=563188
    >




+ 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