Sumproduce nested with Countif

mkalawa

New Member
Joined
Jul 28, 2015
Messages
2
I am so close but yet so far away.... ok-

A B C D E F
[TABLE="width: 958"]
<colgroup><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD]20141219-DE-IT-0001
[/TD]
[TD]tng
[/TD]
[TD]greece
[/TD]
[TD]bread
[/TD]
[TD]man
[/TD]
[TD]19.11.2014[/TD]
[/TR]
[TR]
[TD]20141217-DE-FB-0001[/TD]
[TD]tng
[/TD]
[TD]greece[/TD]
[TD]bread[/TD]
[TD]woman
[/TD]
[TD]16.12.2014[/TD]
[/TR]
[TR]
[TD]20141219-DE-FB-0002[/TD]
[TD]tng
[/TD]
[TD]greece
[/TD]
[TD]bread
[/TD]
[TD]boy
[/TD]
[TD]19.12.2014[/TD]
[/TR]
[TR]
[TD]20150319-VDB-RRR-FB-0002[/TD]
[TD]tng
[/TD]
[TD]greeced
[/TD]
[TD]bread
[/TD]
[TD]girl
[/TD]
[TD]23.03.2015[/TD]
[/TR]
</tbody>[/TABLE]
.
.
.

SUMPRODUCT(--(IKS_Zentral!$F$9:$F$1000<>"");--(MONTH(IKS_Zentral!$F$9:$F$1000)=11);--(YEAR(IKS_Zentral!$F$9:$F$1000)=2014))

the above formular produces this result:

[TABLE="width: 236"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]November, 2014[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]December, 2014[/TD]
[TD="align: right"]3
[/TD]
[/TR]
[TR]
[TD]January, 2015[/TD]
[TD="align: right"]0
[/TD]
[/TR]
[TR]
[TD]February, 2015[/TD]
[TD="align: right"]0
[/TD]
[/TR]
</tbody>[/TABLE]
...

However, I want to select from a range (IKS_Zentral!$A$9:$F$1000) where each cell contains a specific string. meaning i only want to sum a range A:A that contain a specific string.... (IT),

I wrote the below formular but I am receiving a #VALUE error message: =SUMPRODUCT(COUNTIF(IKS_Zentral!A9:A1000;"*IT*");--(IKS_Zentral!$F$9:$F$1000<>"");--(MONTH(IKS_Zentral!$F$9:$F$1000)=11);--(YEAR(IKS_Zentral!$F$9:$F$1000)=2014))

Your expertise is highly appreciated.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Without the helper columns to extract month and year..

=COUNTIFS(F:F,">="&DATE(2014,11,1),F:F,"<="&DATE(2014,11,30),A:A,"*IT*")
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

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