+ Reply to Thread
Results 1 to 4 of 4

Labelling Graphs Once Every N Amount of Minutes/Hours/Days

  1. #1
    Registered User
    Join Date
    08-29-2015
    Location
    Scotland
    MS-Off Ver
    2013
    Posts
    13

    Labelling Graphs Once Every N Amount of Minutes/Hours/Days

    Hi guys,

    So basically i have a large table of data that is constantly growing and a graph that is plotting the data in this table.

    My table contains a date/time column that is attached to the x-axis and 5 profit columns that are all plotted on the y-axis

    I would like to plot some labels on my graph and i thought it would be cool if i could get it to plot the value of each profit just once every day.

    The issue is, the date/time column in my table isnt regular - sometimes it plots values every 2 minutes, and sometimes values are absent for hours and days at a time.

    Is there a way to do this?

    Thanks,
    Cam

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Labelling Graphs Once Every N Amount of Minutes/Hours/Days

    Short but useless answer -- Yes, I'm sure there is a way to do this. I'm not sure there is enough information in your post to provide a more useful solution.

    As I see it, you have data with 0 to n entries for each day. You want to analyze the data so that there is 1 entry per day. I would expect a process like this:

    1) Create a column that lists the days of interest.
    2) For days that have more than 1 entry, choose a value that represents that day.
    3) For days that do not have an entry, use the surrounding days to choose a value for that day
    4) Use these "helper columns" to create the chart.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    08-29-2015
    Location
    Scotland
    MS-Off Ver
    2013
    Posts
    13

    Re: Labelling Graphs Once Every N Amount of Minutes/Hours/Days

    Yeah that is exactly the kind of thing i am looking for!

    Really not sure where to start with the coding though....

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Labelling Graphs Once Every N Amount of Minutes/Hours/Days

    Having broken the problem down into steps, I would probably start with step 1 -- fill a column with the dates of interest.

    You could try a technique like this: http://www.excelforum.com/excel-gene...ml#post4303128
    Or enter the starting date in the 1st cell of this column, then use a formula like =E2+1 and copy down.

+ 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. converting minutes to days, hours and minutes.
    By TheGrimm in forum Excel General
    Replies: 8
    Last Post: 11-23-2015, 02:23 AM
  2. convert days hours minutes seconds to just minutes
    By hollylynn in forum Excel General
    Replies: 4
    Last Post: 08-28-2015, 08:53 AM
  3. Convert Days:Hours:Minutes:seconds to minutes.
    By Kevingardner1 in forum Excel General
    Replies: 4
    Last Post: 06-03-2014, 06:44 PM
  4. [SOLVED] Function or macro to convert string with weeks, days, hours, minutes to Hours
    By kknb0800 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2012, 11:35 AM
  5. [SOLVED] converting Days Hours & minutes into just minutes in excel
    By Six Sigma Blackbelt in forum Excel General
    Replies: 5
    Last Post: 04-28-2006, 04:45 PM
  6. format minutes to days hours & minutes
    By M.Siler in forum Excel General
    Replies: 4
    Last Post: 02-03-2006, 01:50 PM
  7. Formula for minutes to days:hours:minutes
    By QueenCutieT in forum Excel General
    Replies: 3
    Last Post: 02-09-2005, 09:06 PM

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