Excel - COUNTIFS - 2 different scenarios to count

Asked By Roady
04-Feb-10 10:36 AM
Hi:

I have tried many variations of different nested formulas and have had no
luck solving this one.

Here are the two scenarios that I am trying to accomplish:
Scenario 1:
Count 1 if the following criteria are met on a single line of data:
Col F contains text (is not blank)
Col G, H, and I do NOT contain "Dropped"

Scenario 2:
Count 1 if the following criteria are met on a single line of data:
Col F contains text (is not blank)
Col G, H, I all contain the word "Approved" or "N/A" - the tricky part is
that there are several different variations of Approved so I tried using the
wildcard "*Approved*" but it does not seem to work in this particular formula.

The two scenarios are separate from eachother. Any help is appreciated!
Thanks.
Excel 2007
(1)
Scenario
(1)
SUMPRODUCT
(1)
ISNUMBER
(1)
ISERROR
(1)
ISBLANK
(1)
ISTEXT
(1)
FIND
(1)
  Luke M replied to Roady
04-Feb-10 11:23 AM
Scenario 1:
=SUMPRODUCT(--ISTEXT(F2:F10),--ISERROR(SEARCH("dropped",G2:G10)),--ISERROR(SEARCH("dropped",H2:H10)),--ISERROR(SEARCH("dropped",I2:I10)))

Scenario 2:
=SUMPRODUCT(--ISTEXT(F2:F10),
(ISNUMBER(SEARCH("approved",G2:G10))+ISNUMBER(SEARCH("n/a",G2:G10))),
(ISNUMBER(SEARCH("approved",H2:H10))+ISNUMBER(SEARCH("n/a",H2:H10))),
(ISNUMBER(SEARCH("approved",I2:I10))+ISNUMBER(SEARCH("n/a",I2:I10))))

Note that the SEARCH function is non-case sensitive. If you want to switch
it to case sensitive, use the FIND function. If column F may contain values
and not just text, change that arguement to:
--NOT(ISBLANK(F2:F10))

Finally, unless using XL2007, you cannot callout entire columns using
SUMPRODUCT.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*
  Roady replied to Luke M
09-Feb-10 05:06 PM
One follow-up question regarding your last comment, "Finally, unless using
XL2007, you cannot callout entire columns using SUMPRODUCT" - So, the grid
that I am creating could potentially be used by both 2003 and 2007 users.
Instead of going until row 65536, can I just go to 65535 and then the formula
will work properly?
What can I do to make sure it will work for both versions?

Thanks!
Create New Account
help
Win7 VirtualStore Weirdness with Excel 2002 and earlier Excel I thought I'd share a weird experience I had today in case it saves installer for it - - which registers it as an add-in for all installed versions of Excel - - and tested it. Fine in Windows 2000 in all installed versions of Excel. Boot to Windows XP, fine there too. Boot to Windows 7. Fine in Excel 2010, 2007, and 2003. But Excel 2002 and 2000 were still loading the old version of the add-in. I uninstalled the add-in, made sure it was gone, and reinstalled it. Same problem in Excel 2002 and earlier; still works fine in Excel 2003 and later. I opened the VB
Pb de recalcul Excel Bonjour, J'ai un problème de recalcul de ma feuille excel. J'importe une colonne qui se retrouve en texte 0000 0000 0000 0000 FFF0 7FFF cela soit automatique ? Merci d'avance à ceux qui se pencheront sur mon cas. Caroual Excel - French Discussions WorksheetFunction (1) AddIns (1) Worksheets (1) Excel 2007 (1) Macro (1) Proc (1) LEFT (1) VBA (1) Bonsoir Dans la doc sur HEXBIN 426a74cc@news.free.fr. . . Bonjour, J'ai un probl?me de recalcul de ma feuille excel. J'importe une colonne qui se retrouve en texte 0000 0000 0000 0000 FFF0 7FFF e ou Bonjour, D??butons par une petite explication : Auparavant sous les versions ant??rieures ?? Excel 2007, si les 2 macros compl??mentaires ("utilitaire d'analyse" ou titre d'exemple directement dans
32 bit DLL with 64 bit Excel 2010 Excel We have an app which creates large Excel workbooks. For example, one workbook has 1, 000 worksheets. In other cases there are fewer worksheets but the Excel file can be 80 MB or larger. Since this sometimes crashes Excel 2007 and 2003, I am considering using 64 bit Excel 2010. Would 64-bit Excel be more reliable with workbooks this size than 32-bit Excel? Is 32-bit Excel
Excel VBA recommendations Excel Hello I will be jumping into writing up some excel Marcos for some of our office bean counters. Any recommendations were to get or download create forms user input, move around within workbooks, sheets, etc. Any suggestions would be helpful Excel Programming Discussions Microsoft Excel (1) Front Page (1) Excel 2003 (1) Excel 2007 (1) Outlook (1) Charts (1) Excel (1) SUMPRODUCT (1) Did you try this site? http
Excel and the Math Coprocessor for DLLs Excel I have a large Win32 DLL (10 MB) that is called from my user interface (written in C++) or from VBA in MS Excel. In my user interface, the DLL runs in its own space and calculates correctly. Under Excel VBA, my DLL is having problems with double precision accuracy. The following test passes in bottom CHPTST = (DIVTWO * bottom) - top In my user interface, the chptst result is zero. Under Excel VBA, the chptst result is 0.2851266E-09. I have tried resetting the math coprocessor _status87 (); if (old87Status ! = 0) new87result = _control87 (new87ControlWord, new87ControlMask); I have verified this behavior in both Excel 2003 and 2010. Does anyone have any ideas here ? Sincerely, Lynn McGuire Excel Discussions Windows XP (1) Visual Studio 2005 (1) Microsoft Excel (1) Visual Studio (1) Excel 2010 (1) Excel 2003 (1) Excel 2007 (1) Workbooks (1