Determining the next historical row for a Support Case and getting one field from there

Alice Morland

New Member
Joined
Apr 26, 2018
Messages
37
Hi guys and girls,

Here's me hoping there's an easy way to produce this. Help will be enormously appreciated!

In short, this is the situation: I have one Support Case which went through different Stages on different Dates:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Case Number[/TD]
[TD]Change ID[/TD]
[TD]Change Date[/TD]
[TD]Old Status[/TD]
[TD]New Status[/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]aaaaaaa[/TD]
[TD]01/01/2018[/TD]
[TD]None[/TD]
[TD]Created[/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]eeeeeee[/TD]
[TD]05/05/2018[/TD]
[TD]Created[/TD]
[TD]In Progress[/TD]
[/TR]
[TR]
[TD]222[/TD]
[TD]gggggg[/TD]
[TD]07/07/2018[/TD]
[TD]In Progress[/TD]
[TD]On Hold[/TD]
[/TR]
</tbody>[/TABLE]



Goal: in the first row, (change ID aaaaaaa) I need to add the next change date (so change ID eeeeeeee, 05/05/2018).

Why?: because I need to learn how long did it stay in that status.

Problem: I have no idea how to determine which row that is.

Help a girl out
16x16_smiley-happy.png


Alice
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Pretty sure there will be a better solution to this out there, but in the absence of that so far...

If you next date is always going to be below the current row then you an use a VLOOKUP to look below the current row.

Assuming your table is Column A1- E4 then in F2 you could use;

Code:
=VLOOKUP(A2,A3:E4,3,FALSE)

And drag down to bring back the date for eeeeeee.

Not very eloquent but... :)
 
Upvote 0

Forum statistics

Threads
1,225,740
Messages
6,186,759
Members
453,370
Latest member
juliewar

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