+ Reply to Thread
Results 1 to 2 of 2

Countif with two different conditions

Hybrid View

  1. #1
    Vicky
    Guest

    Countif with two different conditions

    Hello,
    I have a table like below displayed. What I want is to count the no. of
    "GIN'S" for any particular date say for the date of "14/05/2006" / for the
    month of "05/2006". The answer would have been 6/10.
    GIN Nos. DATE ITEM QTY DATE STMP MONTH
    GR702430 14/05/06 ATM0541 54 14/05/2006 08:03:46 AM 05/2006
    GR702430 14/05/06 MTM1044 54 14/05/2006 08:03:46 AM 05/2006
    GR702431 14/05/06 PTM0748 39 14/05/2006 08:07:13 AM 05/2006
    GR702432 14/05/06 ATM0093 78 14/05/2006 08:12:06 AM 05/2006
    GR702432 14/05/06 MTM0161 144 14/05/2006 08:12:06 AM 05/2006
    GR702433 14/05/06 MTM1050 12 14/05/2006 08:14:39 AM 05/2006
    GR702434 14/05/06 ATM0541 54 14/05/2006 08:51:42 AM 05/2006
    GR702434 14/05/06 ATM0543 54 14/05/2006 08:51:42 AM 05/2006
    GR702435 14/05/06 ATM0549 54 14/05/2006 08:54:52 AM 05/2006
    GR702435 14/05/06 ATM0556 54 14/05/2006 08:54:52 AM 05/2006
    Help in this regard will be highly appreciated.
    --
    Vikram Dhemare

  2. #2
    Bob Phillips
    Guest

    Re: Countif with two different conditions

    =SUMPRODUCT(--(INT(E2:E15)=--"2006-05-14"))

    =COUNTIF(H:H,"05/2006")

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "Vicky" <Vicky@discussions.microsoft.com> wrote in message
    news:CE333E97-38FD-4B41-8FFA-325EC0DEDDAC@microsoft.com...
    > Hello,
    > I have a table like below displayed. What I want is to count the no. of
    > "GIN'S" for any particular date say for the date of "14/05/2006" / for the
    > month of "05/2006". The answer would have been 6/10.
    > GIN Nos. DATE ITEM QTY DATE STMP MONTH
    > GR702430 14/05/06 ATM0541 54 14/05/2006 08:03:46 AM 05/2006
    > GR702430 14/05/06 MTM1044 54 14/05/2006 08:03:46 AM 05/2006
    > GR702431 14/05/06 PTM0748 39 14/05/2006 08:07:13 AM 05/2006
    > GR702432 14/05/06 ATM0093 78 14/05/2006 08:12:06 AM 05/2006
    > GR702432 14/05/06 MTM0161 144 14/05/2006 08:12:06 AM 05/2006
    > GR702433 14/05/06 MTM1050 12 14/05/2006 08:14:39 AM 05/2006
    > GR702434 14/05/06 ATM0541 54 14/05/2006 08:51:42 AM 05/2006
    > GR702434 14/05/06 ATM0543 54 14/05/2006 08:51:42 AM 05/2006
    > GR702435 14/05/06 ATM0549 54 14/05/2006 08:54:52 AM 05/2006
    > GR702435 14/05/06 ATM0556 54 14/05/2006 08:54:52 AM 05/2006
    > Help in this regard will be highly appreciated.
    > --
    > Vikram Dhemare




+ 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