Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to set up a function which looks to see if multiple criteria,
across different columns are met. Idealy I should think the following function should work, but alas, it does not: =COUNTIF(AND(A1:A5=1, B1:B5=2)) Any suggestions? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT((A1:A5=1)*(B1:B5=2)*(C1:C5=3)) etc
-- Regards Ken....................... Microsoft MVP - Excel Sys Spec - Win XP Pro / XL 97/00/02/03 ------------------------------*------------------------------*---------------- It's easier to beg forgiveness than ask permission :-) ------------------------------*------------------------------*---------------- "DJ_Swammi" wrote in message ... I am trying to set up a function which looks to see if multiple criteria, across different columns are met. Idealy I should think the following function should work, but alas, it does not: =COUNTIF(AND(A1:A5=1, B1:B5=2)) Any suggestions? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Check this site for using SUMPRODUCT for calculations involving multiple
criteria: http://www.xldynamic.com/source/xld.SUMPRODUCT.html Another means is using the DCOUNT function. "DJ_Swammi" wrote: I am trying to set up a function which looks to see if multiple criteria, across different columns are met. Idealy I should think the following function should work, but alas, it does not: =COUNTIF(AND(A1:A5=1, B1:B5=2)) Any suggestions? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you, this has been very helpful!
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiple Criteria for COUNTIF and SUMIF | Excel Worksheet Functions | |||
How do I enable the criteria pane in MSQuery (Excel 2003)? | Excel Discussion (Misc queries) | |||
Excel Range Value issue (Excel 97 Vs Excel 2003) | Excel Discussion (Misc queries) | |||
Countif using format criteria....not number criteria? | Excel Worksheet Functions | |||
Countif with multiple criteria and multiple worksheets | Excel Worksheet Functions |