How to add a secondary X axis to an Excel scatter plot?

Anonymous
2019-09-03T14:05:43+00:00

Please have a check at the following Excel chart.

I have a problem in plotting (x-y scatter plot) series using 2 horizontal axis, one being a date ("date no") and the other one a calculated person age at that date. Series 1 is on the primary vertical axis while Series 2 is on the secondary vertical axis.

The problem I have is plotting the 2nd horizontal axis ("age") corresponding to the "date no".

I had a similar question in the past but found the solution too complex to implement, There must be a more straightforward solution. Tks.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. HansV 462.4K Reputation points MVP Volunteer Moderator
    2019-09-09T11:02:19+00:00

    Indeed, a dummy series would be the way to do that.

    1 person found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. HansV 462.4K Reputation points MVP Volunteer Moderator
    2019-09-08T15:08:58+00:00

    I basically did what I described in my first reply, except that I used this for series 2:

    =SERIES(Sheet1!$A$5,Sheet1!$B$3:$I$3,Sheet1!$B$5:$I$5,2)

    1 person found this answer helpful.
    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. HansV 462.4K Reputation points MVP Volunteer Moderator
    2019-09-07T21:54:28+00:00

    I'm afraid I don't really understand what you want.

    Could you create a stripped-down copy of the workbook (without sensitive information) and make it available through one of the websites that let you upload and share a file, such as OneDrive, Google Drive, FileDropper or DropBox. Then post a link to the uploaded and shared file here.

    0 comments No comments
  2. Anonymous
    2019-09-08T13:26:25+00:00

    Thank you HansV!

    From your reply I start to be sure there is a much smarter way that I am trying to plot my data and you might suggest something. Sorry to let you spend time on something which may not make any sense!

    In any case, the link is here: https://1drv.ms/x/s!Ak3dSUA99okYgjDKFmj7AapwbDty

    You have two plots of the same data, one plotted “by date” and one “by age”.

    I would like to have Excel to include automatically, in the plot “by date”, a secondary H axis where the min value is 73.7 (age corresponding the date 02/03/2014) and the max is 76.4 (age corresponding to 26/11/2016).

    Note that in the second plot “by age” I could not get automatically 73.7 and 76.4 as min and max values. I did not look how to force that.

    Thank you!

    0 comments No comments
  3. HansV 462.4K Reputation points MVP Volunteer Moderator
    2019-09-08T14:07:06+00:00

    See if the version I uploaded to DropBox does what you want:

    https://www.dropbox.com/s/umfpy68amq80iim/TEST%20for%20MS%20Community.xlsx?dl=1

    0 comments No comments