How to find incident which has changed multiple priority during his life-cycle

rkvalu

New Member
Joined
Sep 13, 2017
Messages
5
Hi Team,

I have been brainstorming this from past couple of months. I work in reporting team and during month end I pull all incident report which has changed priority from P1-P2-P3-P4, P2-P3-P4 or P3 to P4. Currently, I am performing it manually (4000+ count). Below is the sample excel where I would highlight in a different color if priority changes from P1-P2-P3-P4, P2-P3-P4 or P3 to P4. Attached is the Spreadsheet.

So basically I want to check column A, if it has more than 2 similar value it should check the final priority in column B based on Column C's updated Date and time and it should return value as P1-P2-P3-P4, P2-P3-P4 or P3 to P4 in Column D. Any help would be appreciated.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Below is the data

NumberValueDate&Time
IMA201552Priority 42017-07-04 17:24:46
IMA201552Priority 32017-07-04 17:57:19
IMA201552Priority 42017-07-04 20:55:53
IMA201552Priority 32017-07-05 14:04:26
IMA201552Priority 42017-07-07 14:52:50
IMA212500Priority 32017-07-26 22:34:28
IMA212500Priority 42017-07-27 00:33:59
IMA222660Priority 32017-07-27 12:55:24
IMA222660Priority 42017-08-02 15:40:53
IMA226274Priority 32017-07-05 15:47:10
IMA226274Priority 42017-07-06 13:00:48
IMA226274Priority 32017-07-14 09:37:34
IMA226274Priority 42017-07-22 00:26:25
IMA228506Priority 32017-07-12 13:50:41
IMA228506Priority 42017-07-12 16:41:12
IMA229891Priority 32017-07-26 21:14:40

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
i believe that this is going to need an array lookup formula to be added to your Col D. Unfortunately I am not the person to assist with this.
If you don't get a response within 24 hours bump this thread.
 
Upvote 0
Below is the data
Could you post that same data again but also include the expected results so that we can see
- exactly what the expected results are, and
- where the result(s) should appear
 
Last edited:
Upvote 0
Hi Peter,

So basically I will be pulling incident report every month end which has changed the priority in that particular month.

So my excel sheet has two sheets, the first one has raw data with below information. (Sample data)
NumberPriority
IMA201552Priority 4
IMA201552Priority 3
IMA201552Priority 4
IMA201552Priority 3
IMA201552Priority 4
IMA212500Priority 3
IMA212500Priority 4
IMA222660Priority 3
IMA222660Priority 4
IMA226274Priority 3
IMA226274Priority 4
IMA226274Priority 3
IMA226274Priority 4
IMA228506Priority 3
IMA228506Priority 4
IMA229891Priority 3
IMA229891Priority 4
IMA241020Priority 4
IMA241020Priority 3
IMA241020Priority 4
IMA241020Priority 3
IMA241489Priority 3
IMA241489Priority 4

<colgroup><col><col></colgroup><tbody>
</tbody>

So, in 2nd sheet, I will keep the same data by removing duplicate entries.

As a result, on the 2nd sheet, I would like to see what all priorities an incident has gone through. For eg. If the incident has changed its priority from priority1 to priority2, the result should come as P1-P2, if the priority1 to priority2 to priority3 to priority4 the result should come as P1-p2-p3-p4.

For eg.

IMA212500- P3-P4

Hope I am clear. Thanks in advance

Regards
Ratish
 
Upvote 0
Hope I am clear.
I'm afraid not clear enough. Your original sample data included dates and your description of what was required referred to that column.
check the final priority in column B based on Column C's updated Date and time
I asked for the expected results for that original data.

Instead, you have provided different data, with no date/time column and just one expected result. Please address each of the points below.

1. Could we see a set of sample data and the full expected results for that data, not a word description of the expected results?

2. Does the list of Image numbers (with removed duplicates) already exist in the second sheet, or are you requesting that to be created as part of the solution?

3. What are the 2 sheet names and identify which is which?

4. Would a macro solution be acceptable if that seems like the best way to go?

5. What version of Excel are you using?
 
Last edited:
Upvote 0
Hi Peter,

Sorry for the confusion created. Please ignore above data. Below is refreshed data. So On my sheet 1 of excel sheet, I have below information

NumberValue
IMA201552Priority 4
IMA201552Priority 3
IMA201552Priority 4
IMA201552Priority 3
IMA201552Priority 4
IMA212500Priority 3
IMA212500Priority 4
IMA222660Priority 3
IMA222660Priority 4
IMA226274Priority 3
IMA226274Priority 4
IMA226274Priority 3

<colgroup><col><col></colgroup><tbody>
</tbody>
IMA282027Priority 1
IMA282027Priority 4

<colgroup><col><col></colgroup><tbody>
</tbody>
IMA282021Priority 2
IMA282021Priority 3

<colgroup><col><col></colgroup><tbody>
</tbody>

On Sheet 2 I have removed the duplicate values of above data and manually looked up the priority change. Below is the result

NumberPriority Change
INC0201552No Change
INC0212500P3-P4
INC0222660P3-P4
INC0226274No Change

<colgroup><col><col></colgroup><tbody>
</tbody>
INC0282027P1-P4

<tbody>
</tbody>
INC0282021P2-P3

<tbody>
</tbody>


4. Yes, Macro solution would be acceptable
5. Excel version is 2010

Hope I am clear.
 
Upvote 0
On Sheet 2 I have removed the duplicate values of above data .... Below is the result
:unsure: How is it that the first column in Sheet 1 are all "IMA... " values and when you have removed duplicates in Sheet 2 they are suddenly all "INC..." values?
 
Last edited:
Upvote 0
Sorry My Bad.

NumberPriority Change
IMA201552No Change
IMA212500P3-P4
IMA222660P3-P4
IMA226274No Change

<tbody>
</tbody>

IMA282027P1-P4

<tbody>
</tbody>

IMA282021P2-P3

<tbody>
</tbody>

Regards
Ratish



:unsure: How is it that the first column in Sheet 1 are all "IMA... " values and when you have removed duplicates in Sheet 2 they are suddenly all "INC..." values?
 
Upvote 0

Forum statistics

Threads
1,215,013
Messages
6,122,690
Members
449,092
Latest member
snoom82

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top