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?
 

Some videos you may like

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

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:

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,460
Messages
5,511,508
Members
408,853
Latest member
JoshuaHudsonpTi45

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top