Date on the X-axis
Solved
Cabrina
Posted messages
273
Status
Member
-
tontong Posted messages 2575 Registration date Status Member Last intervention -
tontong Posted messages 2575 Registration date Status Member Last intervention -
Hello,
I have a table with the dates of working days, then two columns with data that I enter based on my productions.
When I create my chart, the x-axis automatically includes all the dates (Saturday and Sunday included).
How can I ensure that only the dates from my table are displayed?
Thank you in advance
I have a table with the dates of working days, then two columns with data that I enter based on my productions.
When I create my chart, the x-axis automatically includes all the dates (Saturday and Sunday included).
How can I ensure that only the dates from my table are displayed?
Thank you in advance
3 answers
-
Hello,
You could try this:
https://www.cjoint.com/c/HHCkSlAhCFD
done on an old Excel 2003. The formula converts "numeric" dates into "text".
Best regards,
Alain-
-
Hello,
With an old 2003 version, going through an intermediate "text" formula is not necessary.
The Axes Options tab of the chart offers 3 possibilities: Automatic, Category, Chronological; you just need to choose Category.
The same choice exists in newer versions but is presented differently. (The term chronological has disappeared)
The default value is "Automatic" and as soon as Excel can interpret data as dates, it is the numerical value of the dates that takes precedence.
-
-
I suggested the scatter plot type to get a real scale on the horizontal axis.
You can simplify Alain-92's formula, which I salute by the way, in D6
=TEXT(B6;"dd/mm/yy")
Best regards. -
Hello
With the Scatter plot type
https://www.cjoint.com/c/HHCjvgLuTlB
Best regards