+ Reply to Thread
Results 1 to 4 of 4

I think I need a pivot table but not sure.

  1. #1
    Registered User
    Join Date
    03-19-2016
    Location
    Southampton, England
    MS-Off Ver
    2007
    Posts
    9

    I think I need a pivot table but not sure.

    Cross-posted at https://www.mrexcel.com/board/thread...lysis.1242649/

    Hi All,

    I run a small business and record my income on an Excel 2007 speadsheet which I've attached (edited version)

    The essential info is date the job was completed and the associated income.

    At the end of the week (Saturday) I manually total the weeks income together with number of transactions and the average value.

    The speadsheet has several worksheets with include prospects and current. Once a job is complete and paid for I transfer it from the Current to the Income sheet with the newest transaction at the top of the list.

    In a perfect world I'd like to have a new worksheet that automaticly displays:

    Daily total
    Weekly total
    Monthly total
    Moving 7/14/28 averages

    It would also be nice to have this info in graphical form too.

    I'm guessing I need pivot table but not sure where to start.

    Many thanks.
    Attached Files Attached Files
    Last edited by 6StringJazzer; 08-06-2023 at 10:48 AM. Reason: added xpost link

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: I think I need a pivot table but not sure.

    Trying to tailor this for the 2007 version of Excel.
    As to the Daily and pivot table:
    1. Fill column B with the customer number IF there is a income >0 in column E
    2. Pull Date Out into the Rows area and Income into the Values area
    As to the Weekly pivot table:
    1. Fill column B with the customer number IF there is a income >0 in column E
    2. Pull Date Out into the Rows area and Income into the Values area and then group Date out by Days (7)
    As to the Monthly pivot table:
    1. Fill column B with the customer number IF there is a income >0 in column E
    2. Pull Date Out into the Rows area and Income into the Values area and then group Date out by Month
    If you want income by customer as a pivot table:
    1. Fill column B with the customer number IF there is a income >0 in column E
    2. Select B7:L64 as the data for the pivot table
    3. Pull the customer field into the Rows area and the Income and Details fields into the Values area
    4. The average is placed next to the pivot table using: =GETPIVOTDATA("Sum of Income",$N$8,"Customer",N9)/GETPIVOTDATA("Count of Details",$N$8,"Customer",N9)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    03-19-2016
    Location
    Southampton, England
    MS-Off Ver
    2007
    Posts
    9

    Re: I think I need a pivot table but not sure.

    Many thanks for your help with my question. It's much appreciated.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: I think I need a pivot table but not sure.

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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. Replies: 5
    Last Post: 06-07-2023, 05:50 AM
  2. [SOLVED] VBA create pivot table in excel 2010 defaulted to 2003 pivot table format
    By lynnsong986 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2019, 02:05 PM
  3. Replies: 7
    Last Post: 02-27-2017, 07:41 AM
  4. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  5. Automating Pivot table and pivot chart creation if data table names unknown
    By Vegiepie2016 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-04-2016, 11:52 AM
  6. Replies: 1
    Last Post: 07-29-2015, 05:19 PM
  7. Replies: 1
    Last Post: 07-29-2015, 05:15 PM

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