Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
just wondering if there is a way to use these with the trim function.
=COUNTIF(P$3:P$33,"M") so that it would work if the range contains a space or spaces along with the letter M. -- Gary |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try
=COUNTIF(P$3:P$33,"*M*") you may? not get desired results -- Don Guillett Microsoft MVP Excel SalesAid Software "Gary Keramidas" <GKeramidasATmsn.com wrote in message ... just wondering if there is a way to use these with the trim function. =COUNTIF(P$3:P$33,"M") so that it would work if the range contains a space or spaces along with the letter M. -- Gary |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
seems to work. only other alternative is to use a selection change event to fix
the entries. thanks. -- Gary "Don Guillett" wrote in message ... try =COUNTIF(P$3:P$33,"*M*") you may? not get desired results -- Don Guillett Microsoft MVP Excel SalesAid Software "Gary Keramidas" <GKeramidasATmsn.com wrote in message ... just wondering if there is a way to use these with the trim function. =COUNTIF(P$3:P$33,"M") so that it would work if the range contains a space or spaces along with the letter M. -- Gary |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
maybe an array formula?
=SUM(IF(EXACT(TRIM(P$3:P$33), "M"), 1, 0)) -- Hope that helps. Vergel Adriano "Gary Keramidas" wrote: seems to work. only other alternative is to use a selection change event to fix the entries. thanks. -- Gary "Don Guillett" wrote in message ... try =COUNTIF(P$3:P$33,"*M*") you may? not get desired results -- Don Guillett Microsoft MVP Excel SalesAid Software "Gary Keramidas" <GKeramidasATmsn.com wrote in message ... just wondering if there is a way to use these with the trim function. =COUNTIF(P$3:P$33,"M") so that it would work if the range contains a space or spaces along with the letter M. -- Gary |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i'll give it a try when i get back in.
-- Gary "Vergel Adriano" wrote in message ... maybe an array formula? =SUM(IF(EXACT(TRIM(P$3:P$33), "M"), 1, 0)) -- Hope that helps. Vergel Adriano "Gary Keramidas" wrote: seems to work. only other alternative is to use a selection change event to fix the entries. thanks. -- Gary "Don Guillett" wrote in message ... try =COUNTIF(P$3:P$33,"*M*") you may? not get desired results -- Don Guillett Microsoft MVP Excel SalesAid Software "Gary Keramidas" <GKeramidasATmsn.com wrote in message ... just wondering if there is a way to use these with the trim function. =COUNTIF(P$3:P$33,"M") so that it would work if the range contains a space or spaces along with the letter M. -- Gary |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
this seems to work for me, thanks
=SUM(IF(EXACT(TRIM(P$3:P$33), "M"),G$3:G$33,0)) -- Gary "Vergel Adriano" wrote in message ... maybe an array formula? =SUM(IF(EXACT(TRIM(P$3:P$33), "M"), 1, 0)) -- Hope that helps. Vergel Adriano "Gary Keramidas" wrote: seems to work. only other alternative is to use a selection change event to fix the entries. thanks. -- Gary "Don Guillett" wrote in message ... try =COUNTIF(P$3:P$33,"*M*") you may? not get desired results -- Don Guillett Microsoft MVP Excel SalesAid Software "Gary Keramidas" <GKeramidasATmsn.com wrote in message ... just wondering if there is a way to use these with the trim function. =COUNTIF(P$3:P$33,"M") so that it would work if the range contains a space or spaces along with the letter M. -- Gary |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF or SUMIF question | Excel Worksheet Functions | |||
SumIF or CountIF | Excel Discussion (Misc queries) | |||
function question (sumif countif conditional) | Excel Worksheet Functions | |||
sumif / countif question | Excel Programming | |||
Countif/Sumif function question | Excel Worksheet Functions |