[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Trailing twelve-month report

Posted on 2013-01-31
5
Medium Priority
?
802 Views
Last Modified: 2013-02-13
I have an Excel file that calculates sales reports and compensation. There is a data worksheet that is updated monthly. The worksheet needs to calculate each month's results with a twelve-month look-back.that data.

Ideally, each new month would be added automatically, dropping off the 13th prior month so that the calculation worksheet always displays 12 months (although the data worksheet will "grow."  If the old calculation rows became "Hidden" when a new row was added, it would theoretically be possible to run the report for any period.

I know it is possible to use an Offset function (command) to get the calculation (although I don't really know how to do that). But I don't know how to add rows (copy, paste/insert, ??)

I know enough about Excel and VBA to be dangerous but not enough to be able to do what I want to do.

Can anyone help?
0
Comment
Question by:T4Pam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 83

Expert Comment

by:David Johnson, CD, MVP
ID: 38841383
Personally I'd store the data in a database and then pull the required data into excel. that or just sql reporting features to generate the report.
0
 
LVL 93

Expert Comment

by:Patrick Matthews
ID: 38842165
A sample file would be helpful :)
0
 

Accepted Solution

by:
T4Pam earned 0 total points
ID: 38866463
I tried to attach a file but the system just spun and jammed.  Thought the file was too big so I tried to skin out all non-essentials. As I was doing that I ran across a file with an Offset formula that seemed to do what I was trying to do. =SUM(OFFSET(A6,-12,1,12,1).  
Perhaps we can attribute it to positive/supportive energy coming across the Internet?  Does that qualify for full points?  I don't know how to award something less.
0
 

Author Closing Comment

by:T4Pam
ID: 38883783
First response was not an answer. As alternative advice, it was insufficient to even move the conversation forward.

The second response indicated willingness/ability to help but my explanation was obviously not clear enough. Asked me to provide a sample file.  I tried but the operation failed.  I stripped out some non-essential data and tried again to upload.  No success.

Need parameters for file upload.

While trying to get the file smaller and less complex, I ran across what appeared to be an answer.  Still need to build it out and may need more/different help but, for now, I have what I need.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
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 …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
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.

656 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