Afternoon all,
In the attached workbook I am looking for a formula to help extract the total dollar amounts associate with a plant area for a given month. The Data tab contains mock information from a system dump.
On the Monthly Totals tab I would like to be able to extract the total dolloar amount form L:L on 'Data' for a given month based on a Matching Plant section in A:A.
I have the expected total in 'Monthly Totals'
Data!F3 should be 1/20/2011 not 5/5/1900
Thanks
Last edited by scaffdog845; 04-11-2011 at 02:17 PM. Reason: Data!F3 should be 1/20/2011 not 5/5/1900
Click here to read the Forum Rules
To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.
This gives the expected result in C10 BUT you have to put first of month dates in C4 to N4 (and you can then format as mmm-yy or whatever else you want)
=SUMIFS(Data!L1:L20,Data!A1:A20,"="&LEFT('Monthly Totals'!B10,2),Data!F1:F20,">="&'Monthly Totals'!C4,Data!F1:F20,"<="&EOMONTH('Monthly Totals'!C4,0))
Here it is with the Abs Ref applied and unnecessary sheet ref removed for cell C7 and you can copy throughout
I didn't notice the values in col A so if you want you can refer to those instead of the part that reads LEFT($B7,2)=SUMIFS(Data!$L$1:$L$20,Data!$A$1:$A$20,"="&LEFT($B7,2),Data!$F$1:$F$20,">="&C$4,Data!$F$1:$F$20,"<="&EOMONTH(C$4,0))
Last edited by Cutter; 04-11-2011 at 01:59 PM.
Here's your file (needs formatting for header Apr to Dec)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks