Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a spreadsheet with 2 columns like this:-
Incident Cause Door Open Tech Fault Door Open Public Error Door 1st Catch Public Error Door Open Tech Fault What I want to do is count the number of (for instance) tech faults for door open or public errors for door open or public errors for door 1st catch etc etc. In other words count the number of causes for each incident. Hope that makes sense and hope you can help. Using Excel XP Thanks Anita |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
try this idea
=sumproduct((a2:a22="door open")*(b2:b22="tech fault")) -- Don Guillett SalesAid Software "Anita" wrote in message ... I have a spreadsheet with 2 columns like this:- Incident Cause Door Open Tech Fault Door Open Public Error Door 1st Catch Public Error Door Open Tech Fault What I want to do is count the number of (for instance) tech faults for door open or public errors for door open or public errors for door 1st catch etc etc. In other words count the number of causes for each incident. Hope that makes sense and hope you can help. Using Excel XP Thanks Anita |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
IF you only want one result:
=SUMPRODUCT(--(A2:A100="Door Open"), --(B2:B100="Tech Fault")) (see http://www.mcgimpsey.com/excel/doubleneg.html for an explanation). If you want multiple results, then use a Pivot Table. http://peltiertech.com/Excel/Pivots/pivotstart.htm In article , Anita wrote: I have a spreadsheet with 2 columns like this:- Incident Cause Door Open Tech Fault Door Open Public Error Door 1st Catch Public Error Door Open Tech Fault What I want to do is count the number of (for instance) tech faults for door open or public errors for door open or public errors for door 1st catch etc etc. In other words count the number of causes for each incident. Hope that makes sense and hope you can help. Using Excel XP Thanks Anita |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try SUMPRODUCT()
see: http://www.microsoft.com/communities...0-53d4c93d69a3 -- Gary''s Student gsnu200710 "Anita" wrote: I have a spreadsheet with 2 columns like this:- Incident Cause Door Open Tech Fault Door Open Public Error Door 1st Catch Public Error Door Open Tech Fault What I want to do is count the number of (for instance) tech faults for door open or public errors for door open or public errors for door 1st catch etc etc. In other words count the number of causes for each incident. Hope that makes sense and hope you can help. Using Excel XP Thanks Anita |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Count for Door Open, Tech Fault:
=SUMPRODUCT((A1:A65535="Door Open")*(B1:B65535="Tech Fault")) Count for Door 1st Catch, Public Error: =SUMPRODUCT((A1:A65535="Door 1st Catch")*(B1:B65535="Public Error")) .... and so on.. "Anita" wrote: I have a spreadsheet with 2 columns like this:- Incident Cause Door Open Tech Fault Door Open Public Error Door 1st Catch Public Error Door Open Tech Fault What I want to do is count the number of (for instance) tech faults for door open or public errors for door open or public errors for door 1st catch etc etc. In other words count the number of causes for each incident. Hope that makes sense and hope you can help. Using Excel XP Thanks Anita |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you use Xl 2007 then try this:
=COUNTIFS(A:A,"Door Open",B:B,"Tech Fault") "Anita" wrote: I have a spreadsheet with 2 columns like this:- Incident Cause Door Open Tech Fault Door Open Public Error Door 1st Catch Public Error Door Open Tech Fault What I want to do is count the number of (for instance) tech faults for door open or public errors for door open or public errors for door 1st catch etc etc. In other words count the number of causes for each incident. Hope that makes sense and hope you can help. Using Excel XP Thanks Anita |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have not installed my 2007 yet since I got the freebie install once from
the intro, but What happens when saved to older version? -- Don Guillett SalesAid Software "Teethless mama" wrote in message ... If you use Xl 2007 then try this: =COUNTIFS(A:A,"Door Open",B:B,"Tech Fault") "Anita" wrote: I have a spreadsheet with 2 columns like this:- Incident Cause Door Open Tech Fault Door Open Public Error Door 1st Catch Public Error Door Open Tech Fault What I want to do is count the number of (for instance) tech faults for door open or public errors for door open or public errors for door 1st catch etc etc. In other words count the number of causes for each incident. Hope that makes sense and hope you can help. Using Excel XP Thanks Anita |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row | Excel Worksheet Functions | |||
How do i count numbers and letters to find a total count of all | Excel Worksheet Functions | |||
Count Intervals of 1 Numeric value in a Row and Return Count down Column | Excel Worksheet Functions | |||
Count Intervals of 2 Numeric values in same Row and Return Count across Row | Excel Worksheet Functions | |||
Count Intervals of Filtered TEXT values in Column and Return Count across a Row | Excel Worksheet Functions |