+ Reply to Thread
Results 1 to 22 of 22

SCATTER AND LINE COMBO - Quarterly revenue graph HELP

  1. #1
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Hi there,
    I am currently trying to produce the following data (below) into a scatter plot with an integrated one line graph as a trendline;

    I want to show each of the opportunity's, seperated into individual quarters and there relevant month (ALL AS ONE COLUMN) as a scatter plot (with labels attached). However, as a separate series, I would like to produce a single trendline showing the accumulative revenue, e.g....For april a total of £10,000...with May being £22,000 (including both april and may). I cannot seem to produce a this graph, I have tried a pivot.
    Please help!!!!

    IMAGES ATTACHED TO SHOW GRAPH AND DATA

    Capture.PNGCapture.PNG

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Welcome to the forum!

    I'm not particularly skilled with pivot tables or charts, so hopefully someone more useful comes along, but if you're just looking to get the job done, then you can enter a row after each month in your original table with "Total" listed as the opportunity. List the cumulative sum through that point in the "Revenue" column. These entries will basically act as cumulative subtotals. I feel like there's an easier way, but to my knowledge, Excel's native subtotal feature does not track cumulative values and I haven't figured out how to get the pivot table to do it for you while still treating the cumulative total as a single series. In my version, the 12 new entries appear as a single series that can be tracked with a line. Your column with the cumulative totals can be deleted - it was problematic anyway because each total was attached to different opportunity in column A.

    On a separate note, "Jan" was out of order on your initial attachment. It's fixed in mine.

    Take a look at the attachment, hopefully it will help. Again, I don't think it's the most efficient solution, but it isn't hard to implement with your current data.
    Attached Files Attached Files
    If your problem has been solved, please use "Thread Tools" to mark the thread as "Solved".

    If you're grateful for this site's existence and would like to contribute to the community, please consider posting something hilarious in our joke thread:
    https://www.excelforum.com/the-water...ke-thread.html

  3. #3
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Hello CAntosh,

    This is exactly what I want!! Thanks so much - However, i'm rather confused as to how you have achieved this result? Could you please provide some
    instructions on how you formulated the data and then made the graph??

    It would be very helpful!

    Thank-you

    Alaric

  4. #4
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    I'm glad it's working for you! I didn't do anything fancy, I just manually inserted 12 new entries into your original data table on 'sheet1' with the opportunity name 'total' and the proper month, quarter, and calculated cumulative total. Excel did the rest.

    As to the question in your PM about a two scale axis, I don't see why it wouldn't be possible, but I'm not going to be near Excel for the weekend, so I'm not in a position to test it out and I'm not good enough with pivot charts to provide much instruction without having it front of me. Try fiddling with the formatting and I might be able to help next week if you're still stuck and/or nobody else jumps in to help.

  5. #5
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    OK - will keep you updated, again, appreciate the help.

  6. #6
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Hi again...

    I have tried to make this graph myself...however....how have you inputted the 'total' as a separate series? It doesn't do it automatically and I cannot figure out how to this.

    Very confused.

    Attached an image of the bit I mean
    Attached Images Attached Images

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,686

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Cantosh said this:

    I just manually inserted 12 new entries into your original data table on 'sheet1' with the opportunity name 'total' and the proper month, quarter, and calculated cumulative total.
    I don't think anything was added to the pivot table, rather the ORIGINAL data. Hope this helps.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  8. #8
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Hi Ali,

    I have inputted this myself, however, when creating the pivot table it doesn't produce the data as a new series?

    Any idea why?

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,686

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    No - that bit I don't know. How about attaching your latest file here? Not promising anything, as I never use pivot tables myself!

  10. #10
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Here is the data. Exactly the same before, however, I can't seem to produce the same image as attached before with the 'total' as a separate series in the graph and pivot.

    Here is the data.
    Attached Files Attached Files

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,686

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    OK, so select the table and insert your pivot chart, making sure that the settings match Cantosh's. Next change the chart type to stacked line with markers, then go through all but the TOTAL data series and switch the line off.

  12. #12
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    This doesn't work for me....a 'total' line isn't showing up???

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,686

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Attach the workbook AFTER you have tried adding the chart, please.

  14. #14
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    No luck! I am confused!

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,686

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Attach the workbook with your attempt at the chart included, please. Otherwise i can't help! I can produce the chart - it's no good giving me a workbook without your attempt at it as we will be going round in circles.

  16. #16
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    OK - attached my workbook attempt, slightly different data (mock data) but same concept. It seems to be plotting the ''grand total'' but not my accumulative total as I have in the column?

    Hope you can help.
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Q2 September and Q3 December are the points that are plotting wrong. They're not plotting to there figure??

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,686

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    I don't know - sorry. It's moved too far away from the original example for me to help now, but I don't see the grand total column in the ORIGINAL data, which is where I understand it needs to be, somehow. Hopefully someone can help - I'll put out a call for help.

  19. #19
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Hi,

    Change the chart type to Line with markers and not Stacked line with markers.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  20. #20
    Registered User
    Join Date
    07-20-2017
    Location
    Coventry
    MS-Off Ver
    365
    Posts
    11

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    OK will try that. Why is JAN not going in the right place on my attached data, it's in correct order in my data....
    Attached Files Attached Files

  21. #21
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    Click on one of the month name cells in column A, then select the dropdown in A2 and choose Sort A-Z.

  22. #22
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: SCATTER AND LINE COMBO - Quarterly revenue graph HELP

    If you haven't gotten there yet, then to add a second scale to the y-axis for the 'Total' series, just right-click on the line on the chart representing the 'total' series, select 'Format Data Series', and under 'Series Options' select 'Secondary Axis'. You can then right-click on the two axes individually and use 'Format Axis' to adjust the scale you want on each.
    Last edited by CAntosh; 07-24-2017 at 03:57 PM.

+ 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. Quarterly X axis line graph
    By AK123 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-24-2017, 09:59 AM
  2. Line Graph Showing Two Revenue Streams on the same line
    By Cowboys9 in forum Excel General
    Replies: 0
    Last Post: 08-12-2013, 11:23 AM
  3. Replies: 1
    Last Post: 03-23-2012, 10:17 PM
  4. Extra line on scatter graph that should not be there.
    By urbanvibration in forum Excel General
    Replies: 1
    Last Post: 05-25-2010, 02:25 PM
  5. Combo Line & Scatter Chart
    By ClikClak in forum Excel General
    Replies: 10
    Last Post: 03-19-2010, 04:35 AM
  6. Plotting a line over a scatter graph
    By rupakbanerjee in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-30-2009, 12:03 PM
  7. Quarterly Data Charted to Standard Line Graph
    By RileyBear in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-08-2008, 11:02 AM

Tags for this Thread

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