+ Reply to Thread
Results 1 to 3 of 3

Multiple count criteria in different cells

  1. #1
    Registered User
    Join Date
    01-18-2007
    Posts
    2

    Multiple count criteria in different cells

    I realy need some help with an Excel problem that has stumped me for the last two days!

    In Column A I have the whole years dates listed(01/01/2007..etc.), in column b the day(Monday..etc.)In Column C sales figures(21, 20, etc.) up to date completed.

    Now in a cell below I would like to count how many days in a range(All January dates in column A) have a spesific day (Let's use Monday) and also have some sales figures in Column C (Non Blank).

    This will then indicate (count) in the cell below how many Mondays in January have completed sales figures. In short (How many Mondays work completed in January!)

    Please can anyone help with this?

    Kind regards

    Jacques

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,071
    Hi,

    Just apply the sumproduct() function ... there are many examples in the forum...
    If you face difficulties, upload a zipped copy of your worksheet ...
    HTH
    Carim


    Top Excel Links

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Try

    =SUMPRODUCT(--(MONTH(A1:A200)=1)*(WEEKDAY(A1:A200)=2)*(C1:C200<>""))

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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