+ Reply to Thread
Results 1 to 3 of 3

Building a hazard table

  1. #1
    Registered User
    Join Date
    09-20-2018
    Location
    US
    MS-Off Ver
    Professional Plus 2013
    Posts
    7

    Building a hazard table

    I am trying to analyze hazards for a project. I have a table of potential hazards, where the risks are reduced to a hazard number:

    Task Hazard H# Consequence Level Likelihood Level
    Build base Insufficient pylons BB-1 3 2
    Build base Require more Vespian gas BB-2 2 5
    Launch Missiles Target lock fail LM-1 5 2

    I want to display those on what is essentially a re-formatted sub-table, like this:
    L 5 BB-2
    I 4
    K 3
    E 2 BB-1 LM-1
    L 1
    I 1 2 3 4 5
    C O N S E Q

    I have some 60 hazards, so each hazard square will have multiple H#'s on it. For example, if I had an LM-2 hazard with the same likelihood/consequence vales as BB-1, then the cell for (2,3) would need to contain the string "BB-1, LM-2", or at least both the "BB-1" and "LM-2" strings so they are both readable. I have tried two approaches:
    1. A scatter plot. I couldn't figure out how to label the points with the text of the H# cell, and because the points overlap exactly I can only ever see the first or last point plotted there.
    2. I tried to build a string using some fancy INDEX() non-sense, but best result with INDEX was an array formula. As the arrays are of unknown/changing size, I couldn't really build a table based on that approach.

    Any thoughts on how to do this?

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Building a hazard table

    Please try the attached. It uses a user defined function to concatenate matching values.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Martin

  3. #3
    Registered User
    Join Date
    09-20-2018
    Location
    US
    MS-Off Ver
    Professional Plus 2013
    Posts
    7

    Re: Building a hazard table

    That works nicely, thank you! It's also really concise. I had hoped to find some way to do this without a macro, but anything close to solutions were far less easy to follow and use than this script!

+ 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] building a table based on an other table
    By qjawaid in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-20-2019, 03:17 AM
  2. Auto Table building
    By Tim_C1979 in forum Excel General
    Replies: 2
    Last Post: 11-15-2016, 01:21 PM
  3. Replies: 1
    Last Post: 02-03-2013, 09:05 AM
  4. Help with building a pivot table
    By AllanNWSPP in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-15-2013, 02:29 PM
  5. Building a data table
    By jwongsf in forum Excel General
    Replies: 0
    Last Post: 03-09-2010, 11:19 AM
  6. Building table
    By Alf in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-14-2006, 04:30 PM

Tags for this Thread

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