Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 97
Default Using LEFT() in COUNTIF

I would like to use the formula =(COUNTIF('CM(Sched)'!AQ:AQ,"ACIP")) to count
the number of times "ACIP" appears in column AQ. Sometimes the text is just
ACIP, sometimes it contains other text after i.e. "ACIP123". Therefore I need
to count only if the left 4 charactors in column AQ ="ACIP". I've tried to
add LEFT in my formula somewhere but can't get past syntax errors. Can
someone help?
Thanks,
Joe M.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Using LEFT() in COUNTIF

=sumproduct((left(a2;a22,4)="acip")*1)

"Joe M." wrote in message
...
I would like to use the formula =(COUNTIF('CM(Sched)'!AQ:AQ,"ACIP")) to
count
the number of times "ACIP" appears in column AQ. Sometimes the text is
just
ACIP, sometimes it contains other text after i.e. "ACIP123". Therefore I
need
to count only if the left 4 charactors in column AQ ="ACIP". I've tried to
add LEFT in my formula somewhere but can't get past syntax errors. Can
someone help?
Thanks,
Joe M.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Using LEFT() in COUNTIF

=COUNTIF('CM(Sched)'!AQ:AQ,"ACIP*")



Joe M. wrote:

I would like to use the formula =(COUNTIF('CM(Sched)'!AQ:AQ,"ACIP")) to count
the number of times "ACIP" appears in column AQ. Sometimes the text is just
ACIP, sometimes it contains other text after i.e. "ACIP123". Therefore I need
to count only if the left 4 charactors in column AQ ="ACIP". I've tried to
add LEFT in my formula somewhere but can't get past syntax errors. Can
someone help?
Thanks,
Joe M.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Left vs Left$ function Andy Excel Discussion (Misc queries) 5 May 6th 07 04:06 AM
COUNTIF(LEFT('SpreadSheet1!A1:A25, 1), "A") Dorian C. Chalom Excel Worksheet Functions 6 February 25th 07 06:01 AM
Column labels run right to left, not left to right tmassey Excel Discussion (Misc queries) 1 November 10th 06 11:03 AM
My columns run from right to left instead of left to right. Help? Marleneburton Setting up and Configuration of Excel 1 March 21st 06 08:31 AM
How to change the right-to-left worksheet to left-to-right workshe RAMA Excel Discussion (Misc queries) 1 July 4th 05 01:57 PM


All times are GMT +1. The time now is 12:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"