PC Review


Reply
Thread Tools Rate Thread

COUNTIF using exclusions

 
 
=?Utf-8?B?ZGpEYWVtb24=?=
Guest
Posts: n/a
 
      2nd Feb 2006
I have a column containing part numbers. I want to count the number of times
a part beginning with "RY..." occurrs. However, I wish to exclude the parts
that end with "...GBMK".

Could this be done easily with COUNTIF?

Any suggestions?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sk1C?=
Guest
Posts: n/a
 
      3rd Feb 2006
If your data is in B11:B14:

=SUMPRODUCT(--(LEFT(B11:B14,2)="ry"),--(RIGHT(B11:B14,4)<>"gbmk"))

Modify your range as necessary. Sumproduct cannot accept entire columns
such as A:A or A1:A65536, but A1:65535 is okay.

"djDaemon" wrote:

> I have a column containing part numbers. I want to count the number of times
> a part beginning with "RY..." occurrs. However, I wish to exclude the parts
> that end with "...GBMK".
>
> Could this be done easily with COUNTIF?
>
> Any suggestions?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF formula multiple text exclusions evilfeevil@gmail.com Microsoft Excel Misc 4 1st Jun 2006 09:58 PM
COUNTIF using exclusions =?Utf-8?B?ZGpEYWVtb24=?= Microsoft Excel Worksheet Functions 3 2nd Feb 2006 06:11 PM
EXCLUSIONS need on this app chris Spyware Application Compatibility 0 28th Mar 2005 07:34 AM
EXCLUSIONS please Chris Spyware Discussion 4 3rd Mar 2005 09:14 PM
exclusions balem Spyware Discussion 1 7th Jan 2005 05:59 PM


Features
 

Advertising
 

Newsgroups
 


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