+ Reply to Thread
Results 1 to 3 of 3

COUNTIF ( IF () ) help, counting whats been received

  1. #1
    Registered User
    Join Date
    08-08-2007
    Posts
    80

    COUNTIF ( IF () ) help, counting whats been received

    Hey all again, thanks for reading and helping out.

    Almost the same kind of function as I asked before. I need to count the amount of times I have received files from a vendor. I have a sheet called 'tracking' and a sheet called 'vendor'. Function is going into vendor.

    The difference from my last post is I need to count the vendor IF a specific date is filled in. Example, I sent files to a vendor for distribution on 5/15/2005. They send the files back on 5/20/2005. IF they sent if back the vendor will be counted.

    Vendor name is 'Gary' for just this example.

    If there was no 5/20/2005 the item would not be counted. Because it is, I want it to be counted. So say, you have 10 items total and 8 have dates in them. So the other sheet with this function (I think the function would be a CountIF with an IF function within it) would have 8 as the answer, because there are 8 dates on the other sheet and 2 blanks.

    I know I would do "COUNTIF(IF())", just not sure how to set it up.

    Note that the date is different from item to item.

    Thanks for any help that you can give!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    For multiple criteria you need to move to Sumproduct() instead of Countif()

    e.g. =Sumproduct(--(A1:A100="Gary"),--(B1:B100<>""))

    where B1:B100 contains the dates and blanks.

    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.

  3. #3
    Registered User
    Join Date
    08-08-2007
    Posts
    80
    Worked perfectly, thanks a million!

+ 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