Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Invoice Aging

Posted on 2011-02-22
6
Medium Priority
?
803 Views
Last Modified: 2012-05-11
Dear Experts,
I have three columns in excel sheet1 namely:
1.      Party name
2.      Invoice Date
3.      Invoice amount
We need to get aging of invoices in sheet2 after grouping party name with the following columns.
1.      Party name
2.      1-30 days
3.      31-60 days
4.      61-90 days
5.      91-120 days
6.      Over 120 days
7.      Total
Can someone help me to do such task?
Rgds.
Mehram
0
Comment
Question by:Mehram
  • 3
  • 3
6 Comments
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 34958628
A formula like this will work:

=SUMPRODUCT((Sheet1!$A$2:$A$1000=$A2)*((TODAY()-Sheet1!$B$2:$B$1000)>(COLUMN()-2)*30)*((TODAY()-Sheet1!$B$2:$B$1000)<(COLUMN()-1)*30+1)*Sheet1!$C$2:$C$1000)

See the example.

Kevin
Q-26841131.xls
0
 

Author Comment

by:Mehram
ID: 34958673
This is one of great stuff, only need to get it little bit dynamic. Sheet1 information will copy past by the user always and sheet2 will dynamically update according to inform/agent name. Can we get party name by populate itself after grouping in sheet2?
0
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 34958689
Will a macro be acceptable?

Kevin
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:Mehram
ID: 34958732
Can I see example file?
0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 2000 total points
ID: 34958738
A macro solution is attached.

Kevin
Q-26841131.xls
0
 

Author Comment

by:Mehram
ID: 34958774
Great one.. Cheers
Post if any other solution is available for future reference/enhancement.
Rgds.
Mehram
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

963 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