+ Reply to Thread
Results 1 to 5 of 5

Stuck - multiple argument formula COUNT

  1. #1
    Registered User
    Join Date
    06-15-2007
    Posts
    2

    Unhappy Stuck - multiple argument formula COUNT

    I require some help

    I need a forumla that will look down "column A" and identify only the January dates then count the instances of "A1" in column A-F associated with January and give a instances figure.


    Example Table


    ________A______________B_____C_____D_____E_____F

    1_______DATE __________1_____2_____3_____4_____5
    2_______01.01.2007______A1____B2____B4____C4_____
    3_______02.01.2007______A3____B3____B4___________
    4_______05.01.2007______B3____C1____E4____E6___F1
    5_______01.02.2007______D1____F3____A1____S3_____
    6_______10.02.2007______D1____E4_________________

    I have tried to use a combination of VLOOKUP with COUNTIF using wildcards "*" & "?" to identify January but I usually end up with a =VALUE?

    Can this be done? If it can I can't so any help would be more than appreciated.

    Cheers

    Van Winks

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,723
    Do you have true dates in column A? If so try

    =SUMPRODUCT((TEXT(A2:A100,"mmm yy")="jan 07")*(B2:F100="A1"))

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =SUMPRODUCT((MONTH($A$2:$A$6)=1)*($B$2:$F$6="A1"))

    adjust ranges to suit.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    06-15-2007
    Posts
    2

    Cheers

    Both solutions work great.

    Thanks for the help

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You're welcome.

    Note though, Daddylonglegs solution will count occurrances of only January 2007, whereas my solution will count occurrances of all January months (independent of year)

+ 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