Spend Spreadsheet Totals not working

JamesCES

New Member
Joined
Dec 22, 2016
Messages
15
Hi Guys,

You've been great support in the past when trying to get a spread sheet to work, but the following code doesn't seem to be working correctly on the spreadsheet below, could anyone please advise on what i need to change?

This i need to calculate the spend from april last year to march this year
=SUMIFS(C:C,$B:$B,">="&DATE(YEAR(TODAY())-2,4,1),$B:$B,"<"&DATE(YEAR(TODAY())-1,4,1))

Thanks

NETT SPEND
Supplier 1
CREDIT100
MONTH
Apr-17£20.00
May-17£25.00
Jun-17£30.00
Jul-17£35.00
Aug-17£40.00
Sep-17£45.00
Oct-17£50.00
Nov-17£55.00
Dec-17£60.00
Jan-18£65.00
Feb-18£70.00
Mar-18£75.00
Apr-18£80.00
May-18£85.00
Jun-18£90.00
Jul-18£95.00
Aug-18£100.00
Sep-18£105.00
Oct-18£110.00
Nov-18£115.00
Dec-18£120.00
Jan-19£125.00
Feb-19£130.00
Mar-19£135.00
Apr-19£140.00
May-19£145.00
Jun-19£150.00
Jul-19£155.00
Aug-19£160.00
Sep-19£165.00
Oct-19£170.00
Nov-19£175.00
Dec-19£180.00
Jan-20£185.00
Feb-20£190.00
Mar-20
Apr-20
May-20
Jun-20
Jul-20
Aug-20
Sep-20
Oct-20
Nov-20
Dec-20
April to March (YTD)£1,290.00
April to March (Previous Year)£1,830.00
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
It should be
=SUMIFS(C:C,$B:$B,">="&DATE(YEAR(TODAY())-1,4,1),$B:$B,"<"&DATE(YEAR(TODAY()),4,1))

Your formula was caclulating Apr 18 to Mar 19
 
Upvote 0
Hi,

Many thanks for correcting the formula for me, i can confirm this is now working and doing as i require.
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,040
Messages
6,122,806
Members
449,095
Latest member
m_smith_solihull

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