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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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?
 
Upvote 0
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<>""))
 
Upvote 0
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:
Upvote 0

Forum statistics

Threads
1,213,551
Messages
6,114,272
Members
448,558
Latest member
aivin

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