Consulting

Results 1 to 7 of 7

Thread: Help to generate a subtotaled report

  1. #1

    Help to generate a subtotaled report

    Hi all, This is the first problem I am posting in this forum and I hope you can help!

    I have a dump of raw data, which contain fields for Company,Bank,currency,amount and date sold. I keep adding to this dump once a week and have over 1000 records.

    I need to generate the following report
    * I enter a date range (as in date sold-one of the fields in a record)
    * Data will be sorted by "date sold"
    * This has to be split with a few blank lines between months along with the name of the month and month's total.


    It should look something like this - Date range entered is "Jan04 to Feb 04"

    January 2004
    Company Bank currency amount date sold
    xxxx xxx xx xxx xxx
    xxxx xxx xx xxx xxx
    xxxx xxx xx xxx xxx
    Total for January 2004 XXXX

    February 2004
    Company Bank currency amount date sold
    xxxx xxx xx xxx xxx
    xxxx xxx xx xxx xxx
    xxxx xxx xx xxx xxx
    Total for February 2004 XXXX


    I know access would probably be the better option, but am afraid this has to be in excel and no other. Thanks in advance for any help that can be provided.

    Best regards
    Harsha

  2. #2
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Hi,

    This may not be a real solution for you, but Excel has a native function that is somewhat like you described. Go to Data -> Subtotals. Also, you can upload an example file (clear any sensitive data) as a zip so people can see what you see and work with your data layout. After you click Post Reply, scroll down until you see Manage Attachments. Browse for your file, then click upload and post as usual.

  3. #3
    VBAX Regular Slowhand's Avatar
    Joined
    Aug 2004
    Location
    Blackpool UK
    Posts
    15
    Location
    If you use the Sub-totals in conjunction with autofilter this makes life even easier
    If you want your Dreams to come true, Don't over sleep

    Nick

  4. #4
    VBAX Regular golf4's Avatar
    Joined
    Jul 2004
    Location
    Salem, OR
    Posts
    54
    Location
    Hi, everyone -
    Just a quick thought: if your data is already in Excel, couldn't you accomplish this by using the Auto-Filter utility?

    Golf

  5. #5
    VBAX Regular Slowhand's Avatar
    Joined
    Aug 2004
    Location
    Blackpool UK
    Posts
    15
    Location
    If you send a sample of your spreadsheet I will gladly look at it for you
    If you want your Dreams to come true, Don't over sleep

    Nick

  6. #6
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Hey Harsha,

    Did any of these ever work for you? Did you send Nick a copy?

  7. #7
    First of all may I sincerley appologies to everyone that helped out with ideas, for not responding for so long. I had to leave town on business suddenly & have not been able to access the internet from any reliable place. Kept logging in only to keep loosing the connection everyfew minutes. Well thats my excuse anyway! So I am sorry about it!!!!!!

    For a quick fix the subtotals function works perfectly. It is a bit low-tech but at the moment thats all I have time for, so thank you very much. Life is a bit better with your help.

    Best regards
    Harsha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •