+ Reply to Thread
Results 1 to 14 of 14

Excel scatter plot assistance please

  1. #1
    DannyStyle22
    Guest

    Excel scatter plot assistance please

    I thcurrently have a scatter plot setup to pull data from 3 tables that are located on 3 seperate tabs. What I'm looking to do is to setup a drop down menu that has all the months. Upon selecting a month I would like the x axis to display the days of the month. For example if I select november I wan 11/1, 11/2, 11/3... and so on the display.
    Last edited by DannyStyle22; 11-25-2010 at 01:39 PM. Reason: SOLVED

  2. #2
    DannyStyle22
    Guest

    Re: Excel scatter plot assistance please

    I know this is very vague, but I'm unsure what additional information you'll will need, so please ask away.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Excel scatter plot assistance please

    post an example workbook. The important items are the chart and data layout you currently have.
    Cheers
    Andy
    www.andypope.info

  4. #4
    DannyStyle22
    Guest

    Re: Excel scatter plot assistance please

    Attached is an example of the workbook. To be honest I'm a newb and it took me forever to figure this much out :-)

    Also, it doesn't necessarly have to be a drop down menu it could be command buttons or whatever else that could potentially work.
    Last edited by DannyStyle22; 11-24-2010 at 11:26 AM.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Excel scatter plot assistance please

    Without any data at all I can not determine how you chart was dealing with the data.

    Instead of plotting the Y data from the current columns you could add additional columns that contain formula. The formula would check the Date value for each row is within the month selected. If it is the original Y value is used if not NA() is used instead.

    The Data makers for the NA() data points will not be displayed.

    You may also need to adjust the Min/Max X axis values to display relevant month only.

  6. #6
    DannyStyle22
    Guest

    Re: Excel scatter plot assistance please

    Hi Andy,

    Thank you for the response. I will attached another document that contains data.

    I'm not sure if I'm not 100% understanding you or if I didn't explain what I'm looking for properly. Essentially what I'm looking for is a code/macro that will auto update the X-axis to reflect a specific month. I want every day of the month to display. Currently, every month I have to manually change the X-axis min. and max. specifications to match the current month. I'm looking for a way to make this process automated. Please let me know if this makes sense. Thanks.
    Last edited by DannyStyle22; 11-25-2010 at 09:47 AM.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Excel scatter plot assistance please

    So would I be correct in assuming that the data in the 3 sheets is only for a particular month and that all you need to do is update the min/max of the scale?

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Excel scatter plot assistance please

    Assuming macro to set axis

    Please Login or Register  to view this content.

  9. #9
    DannyStyle22
    Guest

    Re: Excel scatter plot assistance please

    You're correct. This spreadsheet is going to be distributed globally to all of our sites. I'm trying to make it as user friendly as possibly.

  10. #10
    DannyStyle22
    Guest

    Re: Excel scatter plot assistance please

    Quote Originally Posted by Andy Pope View Post
    Assuming macro to set axis

    Please Login or Register  to view this content.
    Sorry for my ignorance, but what is this code doing?

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Excel scatter plot assistance please

    asking the user to enter a month number. Then setting the min to the first of that month and the max to the last.

    You may not want to get the value via an input box so you may need to modify the code to run from a cell change where the user picks the month.
    Or a formula that determine the month from the data on one of the worksheets.

  12. #12
    DannyStyle22
    Guest

    Re: Excel scatter plot assistance please

    How would you recommend that I setup this code? Like I said Im a newb

    If its asking the user to enter the month. Where is the user entering it?

  13. #13
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Excel scatter plot assistance please

    How you get the user to provide the information is more up to you than me to decide

    Here is an example with the code used in conjuction with a data validation list on the first of the 3 data sheets.
    Attached Files Attached Files

  14. #14
    DannyStyle22
    Guest

    Re: Excel scatter plot assistance please

    Thank you for being so patient with me... Everything worked perfectly!

+ 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