Finding last occurrence cell of a multiple partial text in a row and retrieving contents adjacent to that cell

shyna23

New Member
Joined
Jul 11, 2019
Messages
1
Finding last occurrence cell of a mu[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Item
[/TD]
[TD]Action date
[/TD]
[TD]ACTION TYPE PERFORMED BY
[/TD]
[TD]Action date
[/TD]
[TD]ACTION TYPE PERFORMED BY
[/TD]
[TD]Action date
[/TD]
[TD]ACTION TYPE PERFORMED BY
[/TD]
[TD]Action date
[/TD]
[TD]ACTION TYPE PERFORMED BY
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]45685
[/TD]
[TD]2-Jun-2019
[/TD]
[TD]Submitted (Jansson [Requestor])
[/TD]
[TD]4-Jun-2019
[/TD]
[TD]Submitted (Jansson[Requestor])
[/TD]
[TD]3-JUN-2019
[/TD]
[TD]

<colgroup><col width="64"></colgroup><tbody>
[TD="class: xl66, width: 64"]Submitted (Monica [Admin])
[/TD]

</tbody>
[/TD]
[TD]6-JUN-2019
[/TD]
[TD]

<colgroup><col width="64"></colgroup><tbody>
[TD="class: xl66, width: 64"]Submitted (Mahesh [Admin])
[/TD]

</tbody>
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]25698
[/TD]
[TD]8-JUN-2019
[/TD]
[TD]Submitted (Peter [Requestor])
[/TD]
[TD]10-JUN-2019
[/TD]
[TD]Submitted (Nagraj [Admin])
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]

[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
ltiple partial text and retrieving contents adjacent to that cell . Below
table shows how my data looks.

In the result file I need to display as below. If you notice the 1 row had submitted [Requestor] status twice and I need the date from 2nd occurrence of action. I tried using INDEX and MATCH but was not successful Can anyone help me with a formulae to retrieve the date beside the occurrence of a text.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Item
[/TD]
[TD]Submitted ([Requestor])
[/TD]
[TD]Submitted ([Admin])
[/TD]
[/TR]
[TR]
[TD]45685
[/TD]
[TD]4-Jun-2019
[/TD]
[TD]3-JUN-2019
[/TD]
[/TR]
[TR]
[TD]25698
[/TD]
[TD]8-JUN-2019
[/TD]
[TD]10-JUN-2019
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,880
Messages
6,175,154
Members
452,615
Latest member
bogeys2birdies

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