+ Reply to Thread
Results 1 to 13 of 13

Alarm Sorting Plan

  1. #1
    Registered User
    Join Date
    06-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    9

    Alarm Sorting Plan

    Hi Guy & Girls,

    Have a current situation with an alarms list from DCS system at work output file is .CSV.

    Each alarm has specific tag and all have priority ratings

    What I would like is a template type WorkSheet with possibly some code/VBA where by when the alarms list in copied and pasted from DCS to excel file all high priority alarms are flagged i.e. cell turns red or something to that effect

    Dont have much knowledge of VBA but would appreciate push in the right direction. Using Excel 2007 also

    Thanks for your help in advance.

  2. #2
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Alarm Sorting Plan

    Hi bstack10 - welcome to the forum.

    It would help if you were to upload a sample worksheet that includes your source data before any work is done on it.

    Copy your csv file and paste it into A1 and then save. It sounds as if a macro could be built to do the rest (I'm thinking text to columns) and c/f for flagging the high priority cases.

    Cheers

    Russell
    Last edited by Russell Dawson; 07-16-2012 at 01:35 AM.
    If I helped, please don't forget to add to my reputation. (click on the star below the post)

    If the problem is solved, please: Select Thread Tools (on top of your 1st post) -> Mark this thread as Solved.

    Failure is not falling down but refusing to get up.

  3. #3
    Registered User
    Join Date
    06-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Alarm Sorting Plan

    Hi Russell,
    Thanks for the quick reply, I have pasted a link of the of the worksheet couldn't seem to find out where to upload excel file?

    Included is all the columns of the worksheet:
    The Tag Name is unique and does not appear anywhere else.
    Element Number, Alarm Message, Priority, Action, Responsibility and Comments are not unique.

    Not all alarms will occur in a daily process (i.e. maybe only 3000 and some may never alarm) thus what I need is a template type file, where by the alarms that occur on a specific date can be copied from the DCS into this file.

    Once copied they will then flag each appropriate Tag Name and also if possible to have a counter for the amount of time an alarm has being processed.

    Shown here is a link to Dropbox with the Excel file attached

    https://www.dropbox.com/s/j52xnwt6fn...ll%20List.xlsx
    Last edited by bstack10; 07-16-2012 at 07:08 PM.

  4. #4
    Registered User
    Join Date
    06-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Alarm Sorting Plan

    Cant Seem to find Attachment button Any ideas??
    Last edited by bstack10; 07-16-2012 at 07:01 PM.

  5. #5
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Alarm Sorting Plan

    Go Advanced - select attachment icon or Manage Attachments.

    Are you adding to the list on a daily basis? Do you simply paste it at the bottom off existing range of data? Or are you having to select certain data from the DCS.

    alarms that occur on a specific date
    There is no column with a date.

    Which is higher priority 1 or 5?

    Is "Full list" the end result? What do you see as being the end result if not?

    a counter for the amount of time an alarm has being processed.
    How is this measured? Where is the data?

    Clearly you have something in mind but that is missing in my mind at the moment so bear with me if I don't understand at first. You are familiar with the processes you are using but I have never seen it before and I will need some guidance on what you may consider trivial.

    To my untrained eye, it appears that there will be many occurances. Is that right.

    I hope I can get a better understanding once you have answered the above. Apologies if you think you already have is your explanations.

    Cheers

    Russell

  6. #6
    Registered User
    Join Date
    06-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Alarm Sorting Plan

    Cheers got the attachment info.

    Adding to List on daily basis
    Wont be adding to this on a daily basis this is the full DCS alarm list.
    What I would like is a daily task to be undertaken by an operator to take the DCS alarms from that day. Then paste it into this Master excel file (on Sheet 2) while Sheet1 contains all DCS alarms and then this will highlight (Red) which alarms have being initiated

    Date Issue
    When daily report is taken from DCS, this shows date and time at which alarm occurred this field could be added certainly

    Priority
    1 = High Priority
    5 = Low Priority

    Counter Issue
    The use of a pivot table maybe

    Thank you for your help so far bit new to system myself but this is generally what I would like but I am open to interpretation for other ways to do things looking to have this system as automated and fool proof as possible

  7. #7
    Registered User
    Join Date
    06-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Alarm Sorting Plan

    File is attached
    Attached Files Attached Files

  8. #8
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Alarm Sorting Plan

    Am I correct in thinking then that the workbook you have uploaded is the Master and will not change other than being added to I suppose when new alarms are introduced?

    A daily process takes place whereby sheet2 is populated with new data (alarms that have been initiated (is that "set off"?)) and sheet1 (currently "Full list") is compared against it and any matches are highlighted on sheet1 depending on the priority level. Am I right?

    What does the new data for sheet2 look like or is it exactly the same as on sheet1 but presumably much shorter?

  9. #9
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Alarm Sorting Plan

    You've added a link to your cross post at Ozgrid, why not here
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  10. #10
    Registered User
    Join Date
    06-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Alarm Sorting Plan


  11. #11
    Registered User
    Join Date
    06-03-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Alarm Sorting Plan

    Russell Dawson;2862181]Am I correct in thinking then that the workbook you have uploaded is the Master and will not change other than being added to I suppose when new alarms are introduced?
    You are correct no new alarms will occur just repeats of the current list.

    A daily process takes place whereby sheet2 is populated with new data (alarms that have been initiated (is that "set off"?)) and sheet1 (currently "Full list") is compared against it and any matches are highlighted on sheet1 depending on the priority level. Am I right?
    You are correct just used sheet 2 as an example bare in mind there is currently no priority from the daily DCS alarms thus I want create a sheet which flag the Tag Name which are unique which have High priority

    What does the new data for sheet2 look like or is it exactly the same as on sheet1 but presumably much shorter?
    Sheet 2 will just be the amount of alarms that occur on that day

  12. #12
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Alarm Sorting Plan

    bstack10

    I maybe wrong, but isn't it just conditional formatting in col.D ?

  13. #13
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Alarm Sorting Plan

    Sheet2 - please show us how it looks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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