Solved

SUM the Amount based on Each Month for each year

Posted on 2016-08-27
4
31 Views
Last Modified: 2016-08-27
Hi Experts,

Will any one provide me a formula which can calculate amount based on every month for particular year.i have dates in column N for the year from 2012 to 2016 and amount in column O...is there any formula like drop down and populate months like 1 jan 2012 - 1 fab 2012...........1 dec 2012 - 1 jan 2013 - 1 feb 2013----------1dec2013 - 1jan2014---------------------------1jan2016------1aug2016 in column Q and total amount for that months in column R.

See Attached
EE-Ledger-Return.xlsm
0
Comment
Question by:itjockey
  • 2
4 Comments
 
LVL 21

Assisted Solution

by:yo_bee
yo_bee earned 150 total points
Comment Utility
I would recommend a pivot table for what you are looking to accomplish.  

Select the entire range including the header names and click insert > pivot table.

From there a new worksheet will be created.
Once created you can create a group of dates by month and year.

To do this add the date column to your row or column.
Once added you will see all your dates. Right click on any one of date > group and select month and year.

At this point you and pivot the groupings by month and year.
0
 
LVL 28

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 350 total points
Comment Utility
Assuming date is Q2, then try this....

In R2
=SUMIFS($O$2:$O$169,$N$2:$N$169,">="&Q2,$N$2:$N$169,"<="&EOMONTH(Q2,0))

Open in new window

and copy down.

Refer to the attached for details. You will also find a tab called Pivot visualizing the same output in the form of Pivot Table.
EE-Ledger-Return.xlsm
0
 
LVL 8

Author Closing Comment

by:itjockey
Comment Utility
Thanks it is working for me.
0
 
LVL 28

Expert Comment

by:Subodh Tiwari (Neeraj)
Comment Utility
You're welcome. Glad to help.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now