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???
 

Some videos you may like

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Akashwani

Well-known Member
Joined
Mar 14, 2009
Messages
2,911
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:

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
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?
 

Forestq

Active Member
Joined
May 9, 2010
Messages
482
=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
 

Watch MrExcel Video

Forum statistics

Threads
1,123,518
Messages
5,602,138
Members
414,505
Latest member
quoctrungvu99

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
Top