+ Reply to Thread
Results 1 to 5 of 5

Defect histogram

  1. #1
    Registered User
    Join Date
    05-10-2016
    Location
    Boston
    MS-Off Ver
    Office 2013
    Posts
    3

    Defect histogram

    I have hundreds of defects in a sheet with:
    Column A: Open date
    Column B: Closed date
    Column C: Severity

    I would like to create a stacked line chart that would show date on the x axis and on the y axis the volume of each severity(minor, serious, critical) that were open that day.

    I have not found any out of the box answers for this.

    Thanks in advance for any pointers you can give me.

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

    Re: Defect histogram

    It is not clear to me what you need. If I understand correctly, my first thought would be to use a pivot table to calculate the volume for each type of severity on each day. Then, use the pivot table to create your stacked line chart. I would expect the table to look something like:
    Please Login or Register  to view this content.
    If it turns out that a pivot table is not suitable, then use a COUNTIFS() function to build the same table. Then select the table and add your stacked line 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
    05-10-2016
    Location
    Boston
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: Defect histogram

    This will be easier to explain with an example. Each of the four lines below represents a defect which was opened on the first column, closed on the second column, and the severity of the defect in the third coulmn:
    5/1/2016 5/5/2016 Minor
    5/2/2016 5/4/2016 Minor
    5/2/2016 5/4/2016 Serious
    5/3/2016 5/3/2016 Critical

    Using the data above I would like a chart to show:
    5/1/2016 (1 Minor)
    5/2/2016 (2 Minor) (1 Serious)
    5/3/2016 (2 Minor) (1 Serious) (1 Critical)
    5/4/2016 (2 Minor) (1 Serious)
    5/5/2016 (1 Minor)

    HistoSample.PNG

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Defect histogram

    Hello
    As Mr.Shorty suggested, you can use COUNTIFS to summarize the data to create your chart. See the attached file. The formulas are in the grey cells. Note these dates are in UK format: dd/mm/yy.

    Hope this helps.
    DBY
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-10-2016
    Location
    Boston
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: Defect histogram

    Still confused by the pivot chart but was easily able to make use of the COUNTIFS. Thanks for showing me a new trick.

+ 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. Replies: 2
    Last Post: 10-24-2013, 08:45 AM
  2. defect mapping
    By nesh91 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2013, 05:33 AM
  3. To create defect mapping in macro
    By nesh91 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2013, 03:11 AM
  4. A Seriously MAJOR defect in excel
    By sonofearth in forum Excel General
    Replies: 8
    Last Post: 05-20-2012, 11:15 AM
  5. Defect per million DPMO
    By tkuia in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-03-2008, 06:05 PM
  6. I was creating a histogram; now i have data but no histogram.
    By ShannonMills3 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-13-2006, 07:10 PM
  7. [SOLVED] How to Histogram w/o raw data but histogram Table on Excel
    By 2005 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-01-2006, 02:50 AM
  8. Excel template available for Defect Tracking
    By Maury Brown in forum Excel General
    Replies: 0
    Last Post: 03-28-2005, 04: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