- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHi All
Been a while since I have been on here.... and have a question for a change...
Consider the data:
Divison Style
1 CLOTHING50-250 1000065
1 CLOTHING500-1000 1000065
2 NLA<50 1000464
2 NLA<50 1000508
2 NLA<50 1000518
2 NLA50-250 1000552
2 NLA<50 1000552
3 MENSWEAR<50 1000914
3 MENSWEAR<50 1000914
2 NLA250-500 1001012
2 NLA250-500 1001012
I need to work out the following
A count of all the Distinct Styles - for a given division.
So for example:
1 CLOTHING50-250 - has only one distinct Style - so the result is 1.
2 NLA<50 - has four styles - and they are all distinct - so the result is also 1
2 NLA250-500 - has two styles - but the number of distinct styles is 1
Hopefully this makes sense....
Now I have refreshed my mind on arrays and sumproduct etc etc... so almost have what I want... but not quite....
I have no problem counting the distinct number of styles - =SUMPRODUCT((1/COUNTIF(H5:
But not then applying the condition on the Division column as well....
Help please!
JP
This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership