LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Counting occurrences of products in a master list

I want to count the number of occurrences of a small list of products that
appear in a large (2,000+) inventory list. I used the countif function but
there's a specific situation where my formula fails. Here's the example of
the product numbers in the small list:

R6AA
RM8B
RN7A
RN7AA
RN7A/5
RN7AB

The product numbers in the master inventory list may be 3 to 12 characters
in length. Some of them include the / separator which designates a subset of
the master number to the left of the /.

For example, the fifth item (RN7A/5) is the same as RN7A. I would like any
products with the / character to be totaled with the "root" item (the number
to the left of the /).

The product numbers are in random order in the inventory list, column A. The
couple of dozen items to be searched and counted are in column F.

I started in column H1 with =countif(A1:A2000,f1) and copied down. As long
as I include RN7A and RN7A/5 in column F, this works fine. I get my totals
but the subsets are not combined.

I would like to only specify RN7A and it's total would include all subset
products /5, /7, /G4, etc. too.

Can anyone provide a formula to accomplish this goal?

 
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
counting occurrences dpwicz Excel Discussion (Misc queries) 2 October 2nd 08 06:25 PM
Counting occurrences by date lwilliams Excel Discussion (Misc queries) 2 October 2nd 08 03:19 PM
Counting occurrences GARY Excel Discussion (Misc queries) 3 August 13th 08 10:06 PM
Counting occurrences GARY Excel Discussion (Misc queries) 3 August 13th 08 09:51 PM
Counting occurrences on a particular date smore Excel Worksheet Functions 6 April 19th 07 11:22 PM


All times are GMT +1. The time now is 08:13 PM.

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

About Us

"It's about Microsoft Excel"