Skip to Content
author's profile photo Former Member
Former Member

Date Formula??

Post Author: mklafert

CA Forum: Formula

I am writing a report that will compare monthly sales. Example Jan 06 to Jan07 . I have fields called This year sales for period 1, This year sales for period 2 etc. I also have fields called last year sales for period 1, Last year sales for period 2, etc. I want all Twelve months on the same report. I assume I must write a formula that when I want to compare the sales for the individual months for the whole year of 07 then it will print the this year sales for period 1-12 and last year sales for period 1-12 but like the example below:

Jan 06 feb06 march 06 etc

2,000 3,000 4,000

Jan07 Feb 07 March 07

4,000 2,000 3,000

I am doing this in excel I have one row for the 1st year jan 06-dec 06. Then on the second row jan 0-dec 07. If necessary I guess I could do :

Jan 06 jan07 then I will have a formula that will figure out the percentage difference in sales. Hope this is clear. Thanks for any Help In Advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 01, 2008 at 03:58 PM

    Post Author: Charliy

    CA Forum: Formula

    group on Year({table.salesdate)

    In the group footer you will have a series of Running Totals, each using the Formula option and resetting on change of Group, the formula for the first will be: Month({table.salesdate}) = 1, you can figure out the rest from there

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 01, 2008 at 05:31 PM

    Post Author: mklafert

    CA Forum: Formula

    I don't understand the formula - can you please clarify??

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 01, 2008 at 08:21 PM

    Post Author: Charliy

    CA Forum: Formula

    There is no "the formula"

    You group by year - so each years numbers will be on a new group footer line.

    You Build a Running Total for each month and put them side by side on the Group Footer. One only counts January saled, one counts Febrruary, etc. This is done by using the Formula option in the Running Total exactly as I specified in myearlier post.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.