Create Histogram in Excel using time data

Anonymous
2021-04-22T14:48:39+00:00

I am trying to take the duration data from a webinar and display it graphically via a histogram or bar chart.  In cells G2:G11 tried using =frequency(d2:d319,f2:f11) but I keep getting all zeros.  I am using custom format h:mm:ss in both columns.  

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. triptotokyo-5840 36,676 Reputation points Volunteer Moderator
    2021-04-22T16:06:57+00:00

    I am trying to take the duration data from a webinar and display it graphically via a histogram or bar chart.  In cells G2:G11 tried using =frequency(d2:d319,f2:f11) but I keep getting all zeros.  I am using custom format h:mm:ss in both columns.  

    Image

    1.

    Highlight the range where you want your Bins for example:-

    G2:G12

     - then enter:-

    =FREQUENCY(D2:D319,F2:F11)

     - then hit:-

    CTRL + SHIFT + ENTER

    2.

    Cells:-

    G2:G12

     - should now be filled with the correct values.

    3.

    Adjust above ranges to suit your own.

    4.

    See screen shot below.

    3 people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. triptotokyo-5840 36,676 Reputation points Volunteer Moderator
    2021-04-22T16:20:06+00:00

    PS See here also:-

    FREQUENCY function - Excel for Microsoft 365

     - where it states (in part):-

    Note: If you have a current version of Microsoft 365, then you can simply enter the formula in the top-left-cell of the output range, then press ENTER to confirm the formula as a dynamic array formula.

    Otherwise, the formula must be entered as a legacy array formula by first selecting the output range, entering the formula in the top-left-cell of the output range, and then pressing CTRL+SHIFT+ENTER to confirm it.

    Excel inserts curly brackets at the beginning and end of the formula for you. For more information on array formulas, see Guidelines and examples of array formulas.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-04-22T16:36:52+00:00

    Hi Brad Damman,

    I go through your post carefully as per your description, in Excel you can also go to Data tab>Data Analysis command to create a Histogram to find the data frequency.

    ![](https://learn-attachment.microsoft.com/api/attachments/faeef4af-7571-4d1a-8034-acfb02ef9a2d?platform=QnA

    0 comments No comments
  2. Anonymous
    2021-04-24T21:22:58+00:00

    Hi Brad Damman,

    Feel free to post back if you need further assistance.

    Best Regards,

    Waqas Muhammad

    0 comments No comments