+ Reply to Thread
Results 1 to 2 of 2

Issue with summarising data through whole range

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    cardiff, Wales
    MS-Off Ver
    Excel 2007
    Posts
    3

    Cool Issue with summarising data through whole range

    hello

    my macro builds report based on summarising the data across all the invoices in a front sheet called report but i am having a issue getting the data to sum in all cells any help would be appreciated. i have attached a file.

    cheers in advance Dan

    Invoice Report.xlsInvoice Report.xls

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Issue with summarising data through whole range

    You are making the same mistake that I see time and time again. You are mixing up the two elements of data capture and final reporting. The two require quite different treatments.


    A lot of people start by designing the form that they expect to see as the final report, and then wonder why it's so difficult to subsequently analyse and summarise or extract information from it, yours exhibits all those features.

    You should always capture data in a simple two dimensional table and worry about reporting information from it afterwards. Without exception, doing this you will always be able to easily obtain management information. Rarely is this the case if you start the other way round.
    You will also throw open the whole wonderful world of the powerful Pivot table functionality.

    In your case I'm assuming that you will be adding many invoices and sheets if you carry on in the way you are. But just look at your invoices. I suspect many of the line items will not be used, and apart from the difficulty of summarising them you are wasting a lot of space.

    I suggest you rethink your approach. Create a single database sheet which will hold, row by row all the information you are currently adding to individual sheets. You'll need columns for Invoice Date, Invoice Number, Contract Ref, Site, Order No, Item, Quantity, Rate & Total.

    You can simplify data entry by maintaining lists of data for the line item descriptions and Units and then using these lists in cell data validation drop downs.

    Once you have this database it will be simplicity itself to report on it any which way you want.

    When you want to see a particular Invoice then it's just a question of designing an Invoice Report wherein you just enter an invoice number and then use data filtering to extract the details of that invoice.
    Last edited by Richard Buttrey; 07-16-2012 at 07:05 PM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1