ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sumproduct between two numbers and wildcard text (https://www.excelbanter.com/excel-worksheet-functions/267926-sumproduct-between-two-numbers-wildcard-text.html)

happyberks

sumproduct between two numbers and wildcard text
 
Hi all

=SUMPRODUCT((--Data!$a$2:$a$5000=11)*(--Data!$a$2:$a$5000<=50),--ISNUMBER(SEARCH("taps",Data!b2:b5001)))

Column A contains quantity
Column B contains commodities

I need to know how many instances we have sold quantities between 11-50 of any commodity which contains the word taps (the cells do contain other text). My attempt is above but It doesn't work. Please advise what I am doing wrong?


All times are GMT +1. The time now is 10:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com