Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a table with a column that has data like this:
Gov Br SAP Br, SAP Comp Br, Gov Br, SAP Comp Br, SAP Is there a formula I can put in a cell at the bottom that will count the occurences of "Br" and return 5 rather than 2? Thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() =COUNTIF(A1:A10,"=*Br*") -- Regards, OssieMac "Slim Slender" wrote: I have a table with a column that has data like this: Gov Br SAP Br, SAP Comp Br, Gov Br, SAP Comp Br, SAP Is there a formula I can put in a cell at the bottom that will count the occurences of "Br" and return 5 rather than 2? Thanks in advance. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this
=SUMPRODUCT((LEFT(A1:A10,2)="Br")*(1)) Mike "Slim Slender" wrote: I have a table with a column that has data like this: Gov Br SAP Br, SAP Comp Br, Gov Br, SAP Comp Br, SAP Is there a formula I can put in a cell at the bottom that will count the occurences of "Br" and return 5 rather than 2? Thanks in advance. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=SUMPRODUCT(--ISERROR(SEARCH("br",A1:A10)))
Regards, Stefi €˛Slim Slender€¯ ezt Ć*rta: I have a table with a column that has data like this: Gov Br SAP Br, SAP Comp Br, Gov Br, SAP Comp Br, SAP Is there a formula I can put in a cell at the bottom that will count the occurences of "Br" and return 5 rather than 2? Thanks in advance. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry, this is the right one:
=SUMPRODUCT(--NOT(ISERROR(SEARCH("br",A1:A10)))) stefi €˛Slim Slender€¯ ezt Ć*rta: I have a table with a column that has data like this: Gov Br SAP Br, SAP Comp Br, Gov Br, SAP Comp Br, SAP Is there a formula I can put in a cell at the bottom that will count the occurences of "Br" and return 5 rather than 2? Thanks in advance. |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Or
=SUMPRODUCT(1-ISERROR(SEARCH("br",A1:A10))) Regards, Bernd |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Apr 21, 8:02*am, Bernd P wrote:
Or =SUMPRODUCT(1-ISERROR(SEARCH("br",A1:A10))) Regards, Bernd Thanks to everyone for answers. Problem solved! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A UDF for Counting Coloured Cells that are conditionally formatted | New Users to Excel | |||
counting unique values conditionally | Excel Discussion (Misc queries) | |||
Counting conditionally formatted cells | Excel Worksheet Functions | |||
Conditionally format | Excel Programming | |||
Counting a colour that is Conditionally Formatted | Excel Programming |