LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
pomalley
 
Posts: n/a
Default Combine query to count products with similar names

Im trying to count the number of products in column B for only those that
contain the characters vss or nggf which apprear at the end of the
product name. The products are listed as toy-vss, toy-nggf, and toy-ita. It
appears that the formula below works, but only looks at the vss query and
ignores the nggf query. Is there a way to combine the query so if vss or
nggf are in Column B, it will count those products and give me the total
number of occurences? Im thinking combining the names in a string, but have
not been successful in combining them.

=SUMPRODUCT
(--IF((RIGHT('[TDS Wkly Rpt 2005.xls]2005 Data'!$B$2:$B$251,3)="VSS"),
--IF((RIGHT('[TDS Wkly Rpt 2005.xls]2005 Data'!$B$2:$B$251,4)="NGGF"),
--(DATE(YEAR('[TDS Wkly Rpt 2005.xls]2005 Data'!$A$2:$A$251),MONTH('[TDS
Wkly Rpt 2005.xls]2005 Data'!$A$2:$A$251),1)=$FX$3),
--(LEFT('[TDS Wkly Rpt 2005.xls]2005 Data'!$AA$2:$AA$251,5)="Other"))))

 
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
How can I count similar word in raw? Pinakeen Patel Excel Discussion (Misc queries) 1 March 9th 05 08:28 PM
Formula for a count of names? Alesha Excel Discussion (Misc queries) 2 February 23rd 05 12:12 AM
Combine names seperated by comma bbc1 Excel Discussion (Misc queries) 3 February 13th 05 07:55 PM
how can I count distinct names in an excel list? RPC@Frito Excel Discussion (Misc queries) 5 February 3rd 05 09:12 PM
Count Unique Names in list w/ Additional Criteria? Nodak Excel Worksheet Functions 1 January 25th 05 11:15 PM


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