Totaling charges against dates

sgfifield78

New Member
Joined
Oct 2, 2015
Messages
2
What I am trying to do is do a sumif() if the month of the date in Column A is = to the month-year (SEP-15) in column C. An example is as follows:
DateChargeMonth$ Paid
27-08-1515.0Sep-15??????
01-09-1520.0Oct-15??????
02-09-1521.0
05-09-155.0
09-09-1525.5
21-09-1598.0
01-10-1550.0
15-10-1525.0

<tbody>
</tbody>

Any help would be greatly appreciated. Thanks.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Welcome to the forum.

Try

=SUMPRODUCT(--(TEXT($A$2:$A$9,"my")=TEXT($C2,"my")),$B$2:$B$9)

Code:
[/FONT]
[TABLE="width: 260"]
<!--StartFragment--> <colgroup><col width="65" span="4" style="width:65pt"> </colgroup><tbody>[TR]
  [TD="width: 65"]Date[/TD]
  [TD="width: 65"]Charge[/TD]
  [TD="width: 65"]Month[/TD]
  [TD="width: 65"]$ Paid[/TD]
 [/TR]
 [TR]
  [TD="class: xl63, align: right"]27/08/15[/TD]
  [TD="align: right"]15[/TD]
  [TD="class: xl64, align: right"]Sep-15[/TD]
  [TD="align: right"]169.5[/TD]
 [/TR]
 [TR]
  [TD="class: xl63, align: right"]01/09/15[/TD]
  [TD="align: right"]20[/TD]
  [TD="class: xl64, align: right"]Oct-15[/TD]
  [TD="align: right"]75[/TD]
 [/TR]
 [TR]
  [TD="class: xl63, align: right"]02/09/15[/TD]
  [TD="align: right"]21[/TD]
  [TD][/TD]
  [TD][/TD]
 [/TR]
 [TR]
  [TD="class: xl63, align: right"]05/09/15[/TD]
  [TD="align: right"]5[/TD]
  [TD][/TD]
  [TD][/TD]
 [/TR]
 [TR]
  [TD="class: xl63, align: right"]09/09/15[/TD]
  [TD="align: right"]25.5[/TD]
  [TD][/TD]
  [TD][/TD]
 [/TR]
 [TR]
  [TD="class: xl63, align: right"]21/09/15[/TD]
  [TD="align: right"]98[/TD]
  [TD][/TD]
  [TD][/TD]
 [/TR]
 [TR]
  [TD="class: xl63, align: right"]01/10/15[/TD]
  [TD="align: right"]50[/TD]
  [TD][/TD]
  [TD][/TD]
 [/TR]
 [TR]
  [TD="class: xl63, align: right"]15/10/15[/TD]
  [TD="align: right"]25[/TD]
  [TD][/TD]
  [TD][/TD]
 [/TR]
<!--EndFragment--></tbody>[/TABLE]
[FONT=Lucida Grande]
 
Upvote 0
Welcome to the forum.

Try

=SUMPRODUCT(--(TEXT($A$2:$A$9,"my")=TEXT($C2,"my")),$B$2:$B$9)

Code:
[TABLE="width: 260"]
<tbody>[TR]
[TD="width: 65"]Date[/TD]
[TD="width: 65"]Charge[/TD]
[TD="width: 65"]Month[/TD]
[TD="width: 65"]$ Paid[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]27/08/15[/TD]
[TD="align: right"]15[/TD]
[TD="class: xl64, align: right"]Sep-15[/TD]
[TD="align: right"]169.5[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]01/09/15[/TD]
[TD="align: right"]20[/TD]
[TD="class: xl64, align: right"]Oct-15[/TD]
[TD="align: right"]75[/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]02/09/15[/TD]
[TD="align: right"]21[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]05/09/15[/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]09/09/15[/TD]
[TD="align: right"]25.5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]21/09/15[/TD]
[TD="align: right"]98[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]01/10/15[/TD]
[TD="align: right"]50[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63, align: right"]15/10/15[/TD]
[TD="align: right"]25[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

That is so awesome, it works... Thank you so much. The wealth of knowledge on here is amazing. I've been working on this problem just about all day and I got a solution in less than an hour.:)
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,844
Members
449,471
Latest member
lachbee

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