SUMPRODUCT Trouble

Paiwand

New Member
Joined
Apr 14, 2018
Messages
7
Hello Dear,

i use the below formula to get the count number of the specific cells based on month which are exist on the E column, it works correctly but while it face any cell that contains formula without result it will be (#Value) please your help to avoid this and only consider the dates and leave any others.

B2=SUMPRODUCT(--(MONTH($E$4:$E$13)=1)) it should be 3

E

[TABLE="width: 103"]
<colgroup><col></colgroup><tbody>[TR]
[TD]01 January[/TD]
[/TR]
[TR]
[TD]12 January[/TD]
[/TR]
[TR]
[TD]23 January[/TD]
[/TR]
[TR]
[TD]03 February[/TD]
[/TR]
[TR]
[TD]14 February[/TD]
[/TR]
[TR]
[TD]25 February[/TD]
[/TR]
[TR]
[TD]=formula and no result (it shows as blank)[/TD]
[/TR]
[TR]
[TD]19 March[/TD]
[/TR]
[TR]
[TD]30 March[/TD]
[/TR]
</tbody>[/TABLE]

Best regards,
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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