Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have two columns, not adjacent, I need to count the number of times the
number 1 appears in the first column at the same time the letter R appears in the second column in the same row. Data appears in up to 500 rows. Can I do this with a single conditional count formula that references a range of cells? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--(A1:A100=1),--(B1:B100="R"))
modify as needed. HTH GerryK "Ralph" wrote: I have two columns, not adjacent, I need to count the number of times the number 1 appears in the first column at the same time the letter R appears in the second column in the same row. Data appears in up to 500 rows. Can I do this with a single conditional count formula that references a range of cells? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Fantastic!
Just so I learn more - what is the function of the dashes before the array?, and I didn't know you could put conditions onto an array eg: A1:A100=1. Would Countif or CountA have worked? "GerryK" wrote: =SUMPRODUCT(--(A1:A100=1),--(B1:B100="R")) modify as needed. HTH GerryK "Ralph" wrote: I have two columns, not adjacent, I need to count the number of times the number 1 appears in the first column at the same time the letter R appears in the second column in the same row. Data appears in up to 500 rows. Can I do this with a single conditional count formula that references a range of cells? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using Count function with a conditional range | Excel Worksheet Functions | |||
conditional count | Excel Worksheet Functions | |||
How do i count the number of conditional formatted cells? | Excel Discussion (Misc queries) | |||
Count Rows with Conditional Format? | Excel Discussion (Misc queries) | |||
Count and Sum with Conditional Formatting Problem | Excel Worksheet Functions |