I read the csv file and use data analysis to create a graph. I would like to change the scale of the x-axis from "date/time" to "minute" and start from 0 just like the y-axis.
The formatting of the axis does not work because it is a serial value relationship.
In this case, can I set it up using a VBA or other method?
vba excel
Excel date is a serial number of days since January 1, 1900.If you have two days/hours of cells, the difference is 24*60
multiplied by minutes.On the sheet side, calculate the age of minutes and change the x-axis from the date/time display column (row) to the number of minutes elapsed column (row).
=(B3-B$2)*24*60
© 2024 OneMinuteCode. All rights reserved.