+ Reply to Thread
Results 1 to 9 of 9

Formula how to count the date with multiple criteria.

  1. #1
    Registered User
    Join Date
    10-02-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    86

    Formula how to count the date with multiple criteria.

    Example:

    Category Factory. Code. Date delivered

    Column F1 CC 01 Jan 1, 2012
    Column F1 CC 02 Feb 2, 2012
    Beam F3 BM 01 Jan 3, 2012
    Column F1 CC 01 Jan 1, 2012


    Question:

    How many delivered column in factory 1 for the month of january?

    Any help from everybody?

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula how to count the date with multiple criteria.

    =SUMPRODUCT(--($A$1:$A$4="Column"),--($B$1:$B$4="F1"),--(TEXT($E$1:$E$4,"mmm-yy")="Jan-12"),$D$1:$D$4)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    10-02-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Formula how to count the date with multiple criteria.

    Thank you very much for you reply,

    I have a problem on you formula. Please check attached file.
    Attached Images Attached Images

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula how to count the date with multiple criteria.

    Pls upload a sample workbook. Not a picture.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Formula how to count the date with multiple criteria.

    Hi felixpanganiban

    Assuming your table of data is in A1:D6 including headers and your dates are "REAL" dates, try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Adapt the cell references and criteria to find, to suit your needs. You can put your criteria in cells an and reference them.

  6. #6
    Registered User
    Join Date
    10-02-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Formula how to count the date with multiple criteria.

    As of now, i use my ipad, may i know your email add and i will forward it to you? Thanks

  7. #7
    Registered User
    Join Date
    10-02-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Formula how to count the date with multiple criteria.

    What if i need to count only with specific date, example, how many column in factory 1 was delivered from jan 1 to 15 only. Not included jan 16 to 30.

  8. #8
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Formula how to count the date with multiple criteria.

    Then you will will have to adapt your formula

    EG: =SUMPRODUCT(--($A$2:$A$6="Column"),--($B$2:$B$6="F1"),--($D$2:$D$6>=G1),--($D$2:$D$6<=F1))

    Where F1 & G1 have your dates as the criteria. There are other way's as well.

  9. #9
    Registered User
    Join Date
    10-02-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Formula how to count the date with multiple criteria.

    Solved.......Thank you very much to all.

+ 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