Forestq

Active Member
Joined
May 9, 2010
Messages
482
Hi,

In sheet I have two coulmn columns:

A = applications
B = sector

I set "define name" for the column:
A = "prod_web" (range: $A$2:$A$1000)
B = "sec" (range: $B$2:$B$10000)

When I want to sum how many specific applications have specific sector I did: =SUMPRODUCT((PROD_WEB="ABC")*(SEC=A2)) and works great

Now I want to check how many applications is in each sec, so i tried to do just: =SUMPRODUCT((PROD_WEB)*(SEC=A2))

but it's wrong.

Maybe should I do some count???
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi,

Possibly.....

=SUMPRODUCT(--(PROD_WEB)*(SEC=A2))

You may want to take a look here, Mike has some great videos on SUMPRODUCT....

ExcelIsFun - YouTube

I hope that helps.

Ak
 
Last edited:
Upvote 0
Hi,

In sheet I have two coulmn columns:

A = applications
B = sector

I set "define name" for the column:
A = "prod_web" (range: $A$2:$A$1000)
B = "sec" (range: $B$2:$B$10000)

When I want to sum how many specific applications have specific sector I did: =SUMPRODUCT((PROD_WEB="ABC")*(SEC=A2)) and works great

Now I want to check how many applications is in each sec, so i tried to do just: =SUMPRODUCT((PROD_WEB)*(SEC=A2))

but it's wrong.

Maybe should I do some count???

Depends on what kind of count you want...

=SUMPRODUCT(1-(PROD_WEB=""),--(SEC=A2))

Does this meet your intent?
 
Upvote 0
=SUMPRODUCT((--PROD_WEB)*(SEC=A2)) - doesn't work :/ I get error "Value"

I tried also =SUMPRODUCT((PROD_WEB)*(SEC=A2)) but it`s the same problem
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,668
Members
448,977
Latest member
moonlight6

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top