+ Reply to Thread
Results 1 to 12 of 12

Opinions on Pivot Table Analysis

  1. #1
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Opinions on Pivot Table Analysis

    I work for a company that rents cars by the hour (à la ZipCar) and I'm trying to find the following metric: Revenue per Car per Day.

    The problem is as follows: The cars are numbered but they do switch locations (i.e car 20 could be parked at x street in February but it would be moved to y street in March if it performed poorly in February).

    The solution to this was to perform the analysis firstly by location, then subhead by car number. The pivot table field list had Date in columns, Location followed by Car ID in rows, and Sum of Revenue in Values.

    This showed me how much each location was generating per month and would let me see how each car at that location was doing, and if the car was moved in a certain month, it would give me an empty field. This was great.

    Recently, my boss asked me to find Revenue per Car per Day. To me, this means that I would need to find Revenue per Location per Day and then have that divided up into cars per location.

    I'm struggling to do this. Here are the headings of the data I currently have:

    'Car ID used for Trip' 'Car Location' 'Date of Trip' 'Revenue per Trip'

    The pivot table sums it all up per month. I would like to have it divide the number it gives me by the number of days in that month. For example, if in September 2013, we generate $3,000 at location x, I would like it to show me that we generated $100/day ($3000/30 days).

    Any help would be greatly appreciated.
    Last edited by efarkouh; 08-20-2014 at 01:16 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Opinions on Pivot Table Analysis

    HI, welcome to the forum

    To me, "Revenue per Car per Day" means simply just that - how much is each car making him per day. Sounds like he already has the location info, now just needs what each car is making?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Opinions on Pivot Table Analysis

    Thank you (for both the welcoming and the quick reply)!

    What I would need essentially is a way to divide each value in the pivot table by 30 or 31, depending on the month. How would I be able to do this?

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Opinions on Pivot Table Analysis

    Hi,

    That can be done by adding a helper column to the data source showing the number of days of a month. Please post a sample template of you workbook if you need further help on this.

  5. #5
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Opinions on Pivot Table Analysis

    I've uploaded a sample file (location names replaced with letters a-w, actual revenue replaced with randbetween).

    In the pivot table, I would like to see the values divided by number of days in that month.

    Thanks again!
    Attached Files Attached Files

  6. #6
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Opinions on Pivot Table Analysis

    I have added few helper columns to the data source and updated the Pivot Table. Please see if this suits your requirement.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Opinions on Pivot Table Analysis

    Yeah this suits my requirement. How would I learn to put something like that together?

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Opinions on Pivot Table Analysis

    see if the attached will help too, I added 2 new sheets, 1 for a daily car summary, and the 2nd for the overall summary
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Opinions on Pivot Table Analysis

    Thank you, gentlemen. I'm in the middle of studying your files.
    Last edited by efarkouh; 08-20-2014 at 02:59 PM.

  10. #10
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Opinions on Pivot Table Analysis

    I have highlighted the helper columns in the file I uploaded - i.e, 'Data' sheet - columns E to G. You just have to drag down the formulae in those columns & refresh the pivot table as and when your data range changes. It's pretty simple

  11. #11
    Registered User
    Join Date
    08-20-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    95

    Re: Opinions on Pivot Table Analysis

    Will do that.

    Thanks again!

  12. #12
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Opinions on Pivot Table Analysis

    You are welcome

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved.

    Also, I would like to inform you that you can directly thank those who have helped you by clicking on the small * (star) icon located in the lower left corner of a post that you have found to be helpful.

+ 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. Data analysis in pivot table
    By p73 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-10-2014, 02:35 AM
  2. [SOLVED] Quarterly Analysis in Pivot Table
    By financegrl in forum Excel General
    Replies: 5
    Last Post: 11-09-2012, 03:49 PM
  3. Pivot Table Analysis Formula
    By greekboyuk in forum Excel General
    Replies: 0
    Last Post: 06-01-2010, 01:59 PM
  4. [SOLVED] Pivot table analysis
    By Nikki in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-26-2006, 01:05 PM
  5. [SOLVED] Pivot Table analysis
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-02-2006, 02:40 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