Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
s boak
 
Posts: n/a
Default COUNTIF or SUMIF Problem

Hi folks:

I have a Bill-of-Materials where the parts used in a product are referenced
like C11, R22, etc.

The contents of C2 a C13,C16,C18,C19,C23

To get a quantity of the parts used of each type, is it possible to count
the occurences of "C" (or R, or anything else) ?

I've tried =COUNTIFSheet1!,"*C*" and variants

Would appriciate any help - Many thanks

Steve


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Have you tried

=COUNTIF(Sheet1!A:A,"*C*")

where A is the column with the data in

--

HTH

RP
(remove nothere from the email address if mailing direct)


"s boak" wrote in message
...
Hi folks:

I have a Bill-of-Materials where the parts used in a product are

referenced
like C11, R22, etc.

The contents of C2 a C13,C16,C18,C19,C23

To get a quantity of the parts used of each type, is it possible to count
the occurences of "C" (or R, or anything else) ?

I've tried =COUNTIFSheet1!,"*C*" and variants

Would appriciate any help - Many thanks

Steve




  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

If the part numbers are listed in several cells (ie 1
part number per cell), then you've got it:

=COUNTIF(A1:A5,"*C*")

But if parts are listed in *one* cell with a comma
delimiter, then use:

=LEN(A1)-LEN(SUBSTITUTE(A1,"C",""))

HTH
Jason
Atlanta, GA

-----Original Message-----
Hi folks:

I have a Bill-of-Materials where the parts used in a

product are referenced
like C11, R22, etc.

The contents of C2 a C13,C16,C18,C19,C23

To get a quantity of the parts used of each type, is it

possible to count
the occurences of "C" (or R, or anything else) ?

I've tried =COUNTIFSheet1!,"*C*" and variants

Would appriciate any help - Many thanks

Steve


.

  #4   Report Post  
s boak
 
Posts: n/a
Default

Thanks so much Jason
The second one did the trick !!
Steve

"Jason Morin" wrote in message
...
If the part numbers are listed in several cells (ie 1
part number per cell), then you've got it:

=COUNTIF(A1:A5,"*C*")

But if parts are listed in *one* cell with a comma
delimiter, then use:

=LEN(A1)-LEN(SUBSTITUTE(A1,"C",""))

HTH
Jason
Atlanta, GA

-----Original Message-----
Hi folks:

I have a Bill-of-Materials where the parts used in a

product are referenced
like C11, R22, etc.

The contents of C2 a C13,C16,C18,C19,C23

To get a quantity of the parts used of each type, is it

possible to count
the occurences of "C" (or R, or anything else) ?

I've tried =COUNTIFSheet1!,"*C*" and variants

Would appriciate any help - Many thanks

Steve


.



  #5   Report Post  
s boak
 
Posts: n/a
Default

. . . and case sensitive as well ...
Way cool
Thanks again Jason
Steve

"Jason Morin" wrote in message
...
If the part numbers are listed in several cells (ie 1
part number per cell), then you've got it:

=COUNTIF(A1:A5,"*C*")

But if parts are listed in *one* cell with a comma
delimiter, then use:

=LEN(A1)-LEN(SUBSTITUTE(A1,"C",""))

HTH
Jason
Atlanta, GA

-----Original Message-----
Hi folks:

I have a Bill-of-Materials where the parts used in a

product are referenced
like C11, R22, etc.

The contents of C2 a C13,C16,C18,C19,C23

To get a quantity of the parts used of each type, is it

possible to count
the occurences of "C" (or R, or anything else) ?

I've tried =COUNTIFSheet1!,"*C*" and variants

Would appriciate any help - Many thanks

Steve


.



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
Forget SUMIF, COUNTIF and VLOOKUP Pierre Leclerc Excel Worksheet Functions 16 April 27th 23 11:51 AM
using sumif & countif to sort multiple cells floridasurfn Excel Worksheet Functions 3 February 27th 05 09:23 PM
SUMIF problem Aussie CPA Excel Worksheet Functions 1 February 18th 05 12:37 AM
Modify SUMIF and COUNTIF to work with SUBTOTALS SSHO_99 Excel Worksheet Functions 2 November 12th 04 11:36 PM
Countif, Sumif, If - help! Angel160 Excel Worksheet Functions 2 November 3rd 04 05:23 PM


All times are GMT +1. The time now is 12:59 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"