stuck on a sumif formula

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
846
Office Version
  1. 2013
Platform
  1. Windows
In col A I have a bunch of dates. From Jan 1 2016 to Dec 31 2017. In the format 1/20/2017 etc.
In col B I have the expenses of that date.

I want to break this down by month, using formulas not pivot tables. So in col C I've written Dec-17, Nov-17, etc.

What formula would I type in col D, to get the appropriate values? I've tried a sumif but I cant figure out how to make this work.

Thanks!


[TABLE="width: 500"]
<tbody>[TR]
[TD]12/1/2017[/TD]
[TD]$50[/TD]
[TD]Dec-17[/TD]
[TD]what formula goes here?[/TD]
[/TR]
[TR]
[TD]11/20/2017[/TD]
[TD]$60[/TD]
[TD]Nov-17[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3/1/2016[/TD]
[TD]$75[/TD]
[TD]Oct-17[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2/20/2016[/TD]
[TD]0[/TD]
[TD]Sep-17[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/31/2016[/TD]
[TD]0[/TD]
[TD]Aug-17[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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