+ Reply to Thread
Results 1 to 3 of 3

Total Sum by ID

  1. #1
    Registered User
    Join Date
    02-02-2008
    Location
    Tirana, Albania
    MS-Off Ver
    MS Office 2016
    Posts
    21

    Smile Total Sum by ID

    I need help in finding a formula to do the following:
    - There are three worksheets with monthly fuel data for 11 vehicles. Each vehicles has its own ID. The three worksheets represent three Filling Stations managed by 1 person/filling station. Vehicles get fuel in each of the three filling stations during the month.

    - At the end of the month I receive individual fuel reports by each filling station manager. In the Total worksheet I want to calculate the total fuel and cost by each vehicle (ID 11-20). I do not want to copy each worksheet in one, I still want to retain individual worksheets when doing the calculation.

    - Is there a formula that I can use in Total worksheet that can calculate the Total Fuel in Gallons and Cost for each Vehicle ID?

    I will appreciate any help or advise...

    Please see the attached excel file.
    Attached Files Attached Files
    Last edited by Biancodi; 05-01-2011 at 07:21 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Total Sum by ID

    just add up the sum ifs
    =SUMIF('Filling Station 1'!$B:$B,$A2,'Filling Station 1'!C:C)+SUMIF('Filling Station 2'!$B:$B,$A2,'Filling Station 2'!C:C)+SUMIF('Filling Station 3'!$B:$B,$A2,'Filling Station 3'!C:C)
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-02-2008
    Location
    Tirana, Albania
    MS-Off Ver
    MS Office 2016
    Posts
    21

    Re: Total Sum by ID

    Thank you martindwilson for solving my excel problem. Sorry that I am very late in recognizing your problem solving..

+ 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