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
20141219-DE-IT-0001
tng
greece
bread
man
19.11.2014
20141217-DE-FB-0001tng
greecebreadwoman
16.12.2014
20141219-DE-FB-0002tng
greece
bread
boy
19.12.2014
20150319-VDB-RRR-FB-0002tng
greeced
bread
girl
23.03.2015

<colgroup><col><col><col><col span="2"><col></colgroup><tbody>
</tbody>
.
.
.

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:

November, 20141
December, 20143
January, 20150
February, 20150

<colgroup><col><col></colgroup><tbody>
</tbody>
...

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

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
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,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

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