+ Reply to Thread
Results 1 to 13 of 13

combine monthly gas usage by employee

  1. #1
    Registered User
    Join Date
    07-29-2015
    Location
    USA
    MS-Off Ver
    365
    Posts
    8

    combine monthly gas usage by employee

    I would like to find a way to combine monthly gas usage by employee data into one summary spreadsheet....
    Last edited by SteveHarley; 07-29-2015 at 11:46 AM. Reason: i messed up..should have attached a spreadsheet

  2. #2
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: combine monthly gas usage by employee

    Sorry, it is a bit confusing, could you attach a file? If not, could you try and explain 1- what do you have and 2- what are you looking for?

    Is it that you have a spreadsheet with example:

    Bill 50$
    Bill 30$
    Steve 20$
    Steve 30$

    and want:

    Bill 80$
    Steve 50$

    If not, I don't really understand your goal

  3. #3
    Registered User
    Join Date
    07-29-2015
    Location
    USA
    MS-Off Ver
    365
    Posts
    8

    Re: combine monthly gas usage by employee

    Individual Individual
    Spreadsheet Spreadsheet Summary Spreadsheet
    May 2015 June 2015
    Employee May 2015 June 2015
    Bill $50 $25 Bill $50 $25
    Joe $25 Joe $25
    Amber $29 $25 Amber $29 $25
    Sue $12 Sue $12
    John $36 $25 John $36 $25
    Steve $18 $70 Steve $18 $70
    Last edited by SteveHarley; 07-29-2015 at 11:56 AM. Reason: ok....I obviously need the beginner course in uploading attachments...sorry.

  4. #4
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: combine monthly gas usage by employee

    This is kinda hard to understand still. Could you simply explain it instead? Formatting it like this in a post is almost impossible to understand, please try to describe what you're trying to do.

  5. #5
    Registered User
    Join Date
    07-29-2015
    Location
    USA
    MS-Off Ver
    365
    Posts
    8

    Re: combine monthly gas usage by employee

    Attached is a file which shows what I'm trying to accomplish...
    Any help is appreciated.
    Thanks!
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: combine monthly gas usage by employee

    It depends, in your individual spreadsheets, is only the total amount written? Or could there be multiple instance of the same name?
    Example, in spreadsheet may 2015, could you see Bill 3 times and have to sum the 3 amounts?

    I put an example with both cases there:
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-29-2015
    Location
    USA
    MS-Off Ver
    365
    Posts
    8

    Re: combine monthly gas usage by employee

    Yep...just the total amount is reflected on the individual spreadsheets (I can do a pivot and summarize by name)...my challenge is how to get by name by month totals into the summary spreadsheet without a lot of manual intervention/...
    Thanks!

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: combine monthly gas usage by employee

    It appears that you are having your data horizontally organized but it is really not at all clear what you want in a summary worksheet as the summary area appears to be exactly the same as the original. There has to be something here that you are not presenting otherwise what is the point.

    To sum the data in the individual spreadsheet and put the total in the summary spreadsheet this is what I used in the example:

    Enter in F5 and fill down and across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    A
    B
    C
    D
    E
    F
    G
    1
    Summary Spreadsheet
    2
    Individual Individual Employee
    3
    Spreadsheet Spreadsheet
    4
    May-15
    Jun-15
    May-15
    Jun-15
    5
    Bill
    $50
    $25
    Bill
    $50
    $25
    6
    Joe
    $25
    Joe
    $25
    $0
    7
    Amber
    $29
    $25
    Amber
    $29
    $25
    8
    Sue
    $12
    Sue
    $12
    $0
    9
    John
    $36
    $25
    John
    $36
    $25
    10
    Steve
    $18
    $70
    Steve
    $18
    $70
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  9. #9
    Registered User
    Join Date
    07-29-2015
    Location
    USA
    MS-Off Ver
    365
    Posts
    8

    Re: combine monthly gas usage by employee

    You are correct...I haven't included information noting that the individual monthly spreadsheets are different each month....some employees may not use gas for a particular month, new employees are added, etc...attached is a spreadsheet that hopefully explains the scenario...
    thanks for your patience!
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: combine monthly gas usage by employee

    In B7:

    =IFERROR(VLOOKUP($A7,INDIRECT(B$6&"!A:B"),2,FALSE),0)

    Then drag it for every person / month.

    For the last column, just use sum()

  11. #11
    Registered User
    Join Date
    07-29-2015
    Location
    USA
    MS-Off Ver
    365
    Posts
    8

    Re: combine monthly gas usage by employee

    Thank you Jdevil...going to have to put you on the payroll for all your help (and patience)
    Thanks again...

  12. #12
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: combine monthly gas usage by employee

    Take a look at this.
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  13. #13
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: combine monthly gas usage by employee

    Here is one way to calculate for each employee. Enter this in B7 and fill across and down. All values for each employee for each month is brought forward to the summary. The totals are calculated with SUM at the bottom of each column and end of each row.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    As you add new worksheets, enter the tab name in the appropriate column of the summary and fill the formula across from the other cells.

    Here is your workbook with a couple of months added. All I had to do was to add the month names to the summary (matching the tabs of the new worksheets) and copied the names into A2:A8 of the new worksheets. As you add values to these new worksheets the values will be brought forward to the summary.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Monthly Average Usage - Excel formula
    By ConnieChiWa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-27-2014, 06:15 AM
  2. Monthly Average Usage - Excel formula
    By ConnieChiWa in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 11-27-2014, 06:15 AM
  3. variable monthly usage with maximum limit.
    By excobra in forum Excel General
    Replies: 1
    Last Post: 05-29-2014, 06:41 AM
  4. Phone Bill for my company's monthly cell usage.
    By Jesse H in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-02-2014, 01:43 PM
  5. How to get monthly kWh usage when bill data spans months?
    By robertandrews in forum Excel General
    Replies: 3
    Last Post: 06-08-2013, 09:55 AM
  6. Finding Monthly Usage
    By OcellNuri in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-24-2006, 01:45 PM
  7. [SOLVED] Making list of items to truck monthly usage
    By Yarek in forum Excel General
    Replies: 0
    Last Post: 06-23-2005, 06:05 AM

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