Hello,
A sumproduct formula with text and date criteria is not returning a value and I'm hoping someone else's fresh eyes might be able to help me find out why.
On the attached file, on sheet "budget by month 2010" in cell D11, the formula
=SUMPRODUCT(--(ISNUMBER(SEARCH("lease payment",'register - M&I'!$D$6:$D$42))),--(TEXT('register - M&I'!$C$6:$C$42,"mmmm")="Jan"),'register - M&I'!$F$6:$F$42)
should return the value $452 from sheet "register - M&I" from row 7.
I'm just now starting to review this worksheet; any corrections would be greatly appreciated!
Last edited by lallo.jr; 05-15-2010 at 02:27 PM.
In terms of your TEXT command you will find that "mmmm" would return "January" whereas "mmm" would return "Jan"
(ie remove an "m" from your format)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Yes, i see that now. Will a "mmm" TEXT command always return a 3 letter month abbreviation, including the month of May?
That's a bug. For May it returns the entire month name instead of the 3-letter abbreviation ...
![]()
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
Haha, ok maybe I'm asking too much from May. My question should have been, will both "mmm" and "mmmm" work for May? I'm sure this follow up question doesn't make me look any smarter that the previous one but I guess that's why I'm here.
Thanks
Is the art of experimentation dead?
=TEXT("5/1/2010", "mmm")
=TEXT("5/1/2010", "mmmm")
in two cells and see what they do.
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks