+ Reply to Thread
Results 1 to 11 of 11

radar chart from duration (HH:mm:ss)

  1. #1
    Registered User
    Join Date
    05-01-2017
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    6

    radar chart from duration (HH:mm:ss)

    Hi,
    I have a column that has :

    3:35:21
    3:23:32
    3:28:03
    4:36:50
    3:39:41
    5:05:25
    3:33:26
    3:44:50
    3:25:24
    ....
    ...


    I want to create a radar chart that show how many times ranges 2-3 hours happened, the same for 3-4 hours, 4-5 hours,..etc

    Please your help is appreciated.

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

    Re: radar chart from duration (HH:mm:ss)

    I want to create a radar chart that show how many times ranges 2-3 hours happened, the same for 3-4 hours, 4-5 hours,..etc
    Charts don't really analyze data for us. If you want a chart that will show a count of something, then the first step will be to program the spreadsheet to provide those counts. For numeric data like that (assuming the times are actual time serial numbers and not text strings that look like times), I would probably use the FREQUENCY() function https://support.office.com/en-us/art...7-fd9ea898fdb9
    0) If your data are text, use TIMEVALUE() or other function to convert times to numbers.
    1) Enter your "bins" data
    2) Enter the FREQUENCY() function (note that FREQUENCY() is an array function so handle it accordingly)
    3) Insert Radar chart
    4) Format Radar chart as desired

    Where do you get stuck?
    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
    05-01-2017
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    6

    Re: radar chart from duration (HH:mm:ss)

    Thanks MrShorty,

    I am a java programmer, never used excel before, this morning my manager wanted me to create a radar chart from that data, that column is time.

    he wanted me to create ranges from that column :

    for example :
    3:35:21 will be 3-4
    4:36:50 will be 4-5
    5:05:25 will be 5-6
    the chart will display the ranges (3-4, 4-5,....) like how many times they occurred.
    Thanks.

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

    Re: radar chart from duration (HH:mm:ss)

    I am a java programmer, never used excel before,
    I am not a Java programmer. If you are more comfortable with Java, would it be easier for you to analyze the data in Java, output the results to a text file, then import that text file into Excel to create the chart? That is the way my mentor (who was a FORTRAN programmer) would do these sorts of things.

    The desired output you describe is exactly what the FREQUENCY() function should do. Did you look over the help file, study the example? Did it make sense? What did you not understand?

  5. #5
    Registered User
    Join Date
    05-01-2017
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    6

    Re: radar chart from duration (HH:mm:ss)

    is there any formula that convert :
    3:35:21 to 3-4
    and
    4:36:50 to 4-5
    ?

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

    Re: radar chart from duration (HH:mm:ss)

    With the time in A1, something like =CONCATENATE(ROUNDDOWN(A1*24,0),"-",ROUNDUP(A1*24,0)) will convert times to those text strings. If I understand the analysis you are trying to do, I don't see the value in converting times to text strings. I would:

    1) Enter a column of bin values:
    2:00:00 (for the 0 to 2 hour bin)
    3:00:00 (for the 2 to 3 hour bin)
    4:00:00 (for the 3 to 4 hour bin)
    etc.
    2) Enter the FREQUENCY() function
    2a) Select the cells adjacent to the bins columns + 1 cell (to capture the "more" entry from the FREQUENCY() function.
    2b) Enter =FREQUENCY(A1:A100,C1:C7) where A1:A100 has the raw times and C1:C7 has the bins. Confirm with ctrl-shift-enter.
    3) If you want the "0-2", "3-4", etc. text strings to use for the chart, then include an additional column for these values/formulas (something like the CONCATENATE function above).

  7. #7
    Registered User
    Join Date
    05-01-2017
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    6

    Re: radar chart from duration (HH:mm:ss)

    If I have :
    Duration(E) range(F) frequency(G)

    3:35:21 3-4
    3:23:32 3-4
    3:28:03 3-4
    4:36:50 4-5
    3:39:41 3-4
    5:05:25 5-6
    3:33:26 3-4
    3:44:50 3-4
    3:25:24 3-4
    3:22:07 3-4

    why do I need to create another column called bins ?

    how to get the FREQUENCY of ranges ?
    I did this : =COUNTIF(F2:F110,F2) to get the frequency, but it's not correct.

    Thanks.
    Last edited by mlotfi; 05-01-2017 at 12:33 PM.

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

    Re: radar chart from duration (HH:mm:ss)

    why do I need to create another column called bins ?
    The second argument of the FREQUENCY() function needs a "bins" array. Note that this needs to be an array (not a single value like you have) and it needs to be an array of numbers ("3-4" is a text string, not a number).

    I did this : =COUNTIF(F2:F110,F2) to get the frequency, but it's not correct.
    I am surprised this is not correct. It should have returned a count of how many "3-4" entries there are in column F. I note that you are using relative references, so the COUNTIF() function will not copy down correctly, but the first entry should have been correct. (https://support.office.com/en-us/art...es_in_formulas click on "using references in formulas" to get a discussion of relative and absolute references).

    I expect that, after getting a good computation of the frequency in column G, you will need to extract a table of "unique" values from column F so that you can get a good Radar Chart. If you base your radar chart on columns F and G, it is going to have all of those duplicate 3-4 entries (and, I assume, duplicates for all of the other ranges) and those duplicates are going to create an incorrect (or, at least, very difficult to read) radar chart. Rather than putting the COUNTIF() in column G, I would create a new table, where you put the "unique" entries from column F, then put the COUNTIF() formula in the adjacent column
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    05-01-2017
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    6

    Re: radar chart from duration (HH:mm:ss)

    COUNTIF() was correct for the first cell, the problem was when copping down, but when I used your last formula it worked.

    now I have :

    3:35:21 3-4 65
    3:23:32 3-4 65
    3:28:03 3-4 65
    4:36:50 4-5 9
    3:39:41 3-4 65
    5:05:25 5-6 1
    3:33:26 3-4 65
    3:44:50 3-4 65
    3:25:24 3-4 65
    3:22:07 3-4 65
    3:35:32 3-4 65
    4:06:38 4-5 9
    3:40:09 3-4 65
    3:31:02 3-4 65
    3:27:47 3-4 65
    ..........


    how can I create a radar chart from these last two columns ?
    Thanks lot.

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

    Re: radar chart from duration (HH:mm:ss)

    Select the data for the radar chart -> Insert Tab -> Charts Group -> Other Charts -> Desired radar chart subtype (assuming 2010 is similar to 2007).

    As I noted above, all of the duplicate 3-4 entries (and duplicate 4-5, etc.) are going to make this variation of the chart difficult or meaningless to read, because it will treat each duplicate as a new text/category entry and include it in the plot. You will probably need to pull out "unique" values from the table. If you are familiar with Excel's pivot table tools, that might be the easiest way (Range (F) as your row labels, and "Average of Frequency (G)" or even "Count of Range (F)" as your "values"". Then build the radar chart from the pivot table. http://www.excel-easy.com/data-analy...ot-tables.html

    Or, as suggested, put your "unique" entries in a column and place your COUNTIF() function in the adjacent column.

  11. #11
    Registered User
    Join Date
    05-01-2017
    Location
    Boston
    MS-Off Ver
    2010
    Posts
    6

    Re: radar chart from duration (HH:mm:ss)

    Thanks lot for your help, I just created another spreadsheet coping the ranges and frequency without duplicate, then created the radar chart, this was manually, I think I have to start spending some time to learn excel, thanks again.

+ 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. [SOLVED] Radar Chart - series chart type conversion issues
    By Prince Dakkar in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-20-2015, 08:44 AM
  2. xy radar chart
    By paascal in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-26-2014, 05:45 PM
  3. Can you help with a radar chart?
    By pablofu in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-22-2013, 04:45 AM
  4. radar chart
    By paachu in forum Excel General
    Replies: 1
    Last Post: 07-22-2010, 09:35 AM
  5. Radar Chart
    By gaffeuk in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-18-2008, 03:20 AM
  6. [SOLVED] Radar Chart
    By Angus Robinson in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-24-2005, 12:05 AM
  7. radar chart
    By Todd in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-03-2005, 12:06 AM

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