Results 1 to 6 of 6

CountIfs and OR

Threaded View

  1. #1
    Registered User
    Join Date
    05-01-2009
    Location
    North East (Durham)
    MS-Off Ver
    Excel 2003,7 and 10
    Posts
    63

    CountIfs and OR

    I have 8 coloums of data, Coloum 1,3,5,7 are dates, the others have letters. example

    01/01/11 ght
    02/01/11 gpts


    the fomula I am trying to use is
    =COUNTIFS(C1:C6,TODAY(),D1:D6,OR("*p*","*a*"))

    basically - look in the first coloum, then check the next one for either P or A in the cell and then count it.

    I have tried using sumproduct - but did not work and using the search function - any help in the right direction appreciated.
    Also tried
    =COUNTIFS(C1:C6,TODAY(),D1:D6,{"*p*","*a*"})
    but get nothing

    Secondly -
    will this work on multiule coloums at once - example
    =sum(if(C1:C6,E1:E6,G1:G6=TODAY(),if(D1:D6,F1:F6,H1:H6="*a" OR "*P",1,0)
    Note the above is example of what it needs to do, but clearly wont.
    Last edited by batman1056; 01-07-2011 at 06:35 AM.
    Remember to edit *advance) your question and choose "Solved" if you have your answer

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