Problems with argument formula

DCMADiva87

New Member
Joined
Aug 3, 2010
Messages
2
:confused: Hello,

I am having trouble getting the following formula work for the month of January: =SUMPRODUCT(--(TEXT('Definitized UCAs'!$L$3:$L$6000,"mmm")=B16))
It is counting the number of definitized items per month for the fiscal year (October 2009 - September 2010), B16 refers to the month of October, C16 is November and so on. It works for every month but January 2010. Can anyone help me with my problem?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
Welcome to the board...

What exactly is in B16?

Is it a formula, manually entered text?
Is it actually a date, just formatted to show the month only?
 

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
The problem is that TEXT function will make a blank cell "Jan" so you need to add a check to ensure they aren't blank, i.e.

=SUMPRODUCT(--(TEXT('Definitized UCAs'!$L$3:$L$6000,"mmm")=B16),--('Definitized UCAs'!$L$3:$L$6000<>""))
 

DCMADiva87

New Member
Joined
Aug 3, 2010
Messages
2
Thanks for your help! I actually fixed my problem with the formula below! Oh and B16, C16 etc referred to the text of the month (Oct,Nov, and so on).

=SUMPRODUCT(--ISNUMBER('Definitized UCAs'!$L$3:$L$6000),--(TEXT('Definitized UCAs'!$L$3:$L$6000,"mmm")=E16))
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
:biggrin:
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,132,743
Messages
5,655,035
Members
418,171
Latest member
ramiroayala

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