Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have the following alphanumeric data in a cell:
AA1234 BA1234 AA4567 AA2345 AD1234 --------- 3 <- formula? --------- I would like to know the formula to count the number of times data starting with AA appear in a column. In this case, the result would be 3. Thanks, EK |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
Try =SUMPRODUCT(--(LEFT(A1:A20,2)="AA")) -- Regards Roger Govier "EK" wrote in message ... I have the following alphanumeric data in a cell: AA1234 BA1234 AA4567 AA2345 AD1234 --------- 3 <- formula? --------- I would like to know the formula to count the number of times data starting with AA appear in a column. In this case, the result would be 3. Thanks, EK |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Another way:
=COUNTIF(A1:A5,"AA*") -- HTH, RD ================================================== === Please keep all correspondence within the Group, so all may benefit! ================================================== === "EK" wrote in message ... I have the following alphanumeric data in a cell: AA1234 BA1234 AA4567 AA2345 AD1234 --------- 3 <- formula? --------- I would like to know the formula to count the number of times data starting with AA appear in a column. In this case, the result would be 3. Thanks, EK |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Much better, Rick!
-- Regards Roger Govier "RagDyeR" wrote in message ... Another way: =COUNTIF(A1:A5,"AA*") -- HTH, RD ================================================== === Please keep all correspondence within the Group, so all may benefit! ================================================== === "EK" wrote in message ... I have the following alphanumeric data in a cell: AA1234 BA1234 AA4567 AA2345 AD1234 --------- 3 <- formula? --------- I would like to know the formula to count the number of times data starting with AA appear in a column. In this case, the result would be 3. Thanks, EK |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It would make Harlan happy, with less function calls!<bg
-- Regards, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Roger Govier" wrote in message ... Much better, Rick! -- Regards Roger Govier "RagDyeR" wrote in message ... Another way: =COUNTIF(A1:A5,"AA*") -- HTH, RD ================================================== === Please keep all correspondence within the Group, so all may benefit! ================================================== === "EK" wrote in message ... I have the following alphanumeric data in a cell: AA1234 BA1234 AA4567 AA2345 AD1234 --------- 3 <- formula? --------- I would like to know the formula to count the number of times data starting with AA appear in a column. In this case, the result would be 3. Thanks, EK |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
countif | Excel Worksheet Functions | |||
How do I use a countif function according to two other countif fu. | Excel Worksheet Functions | |||
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
COUNTIF in one colum then COUNTIF in another...??? | Excel Worksheet Functions |