Using VBA or Macros to get multiple results

jarust91

New Member
Joined
Sep 21, 2017
Messages
8
Hello,

I currently have a table with a couple thousand pieces of data. What I am trying to do is create a formula of some type to know all the corresponding dates to a certain person based on their status.

[TABLE="width: 289"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Status[/TD]
[TD]Last Modified[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]Completed[/TD]
[TD="align: right"]16-Aug[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Scheduled[/TD]
[TD="align: right"]15-Aug[/TD]
[/TR]
[TR]
[TD]Jimmy Doe[/TD]
[TD]Exited[/TD]
[TD="align: right"]14-Aug[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]Completed[/TD]
[TD="align: right"]10-Aug[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Reg. Completed[/TD]
[TD="align: right"]4-Aug[/TD]
[/TR]
[TR]
[TD]Jimmy Doe[/TD]
[TD]Registration[/TD]
[TD="align: right"]1-Aug[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]Unreachable[/TD]
[TD="align: right"]31-Jul[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Completed[/TD]
[TD="align: right"]31-Jul[/TD]
[/TR]
[TR]
[TD]Jimmy Doe[/TD]
[TD]Scheduled[/TD]
[TD="align: right"]29-Jul[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]Reg. Completed[/TD]
[TD="align: right"]25-Jul[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Abandoned[/TD]
[TD="align: right"]25-Jul[/TD]
[/TR]
[TR]
[TD]Jimmy Doe[/TD]
[TD]Exited[/TD]
[TD="align: right"]15-Jul[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]Scheduled[/TD]
[TD="align: right"]15-Jul[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Completed[/TD]
[TD="align: right"]14-Jul[/TD]
[/TR]
[TR]
[TD]Jimmy Doe[/TD]
[TD]Completed[/TD]
[TD="align: right"]14-Jul[/TD]
[/TR]
[TR]
[TD]John Doe[/TD]
[TD]Scheduled[/TD]
[TD="align: right"]13-Jul[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Completed[/TD]
[TD="align: right"]13-Jul[/TD]
[/TR]
[TR]
[TD]Jimmy Doe[/TD]
[TD]Scheduled[/TD]
[TD="align: right"]10-Jul[/TD]
[/TR]
</tbody>[/TABLE]

This is what the table looks like. I would want to know all the corresponding dates from John Doe when his status is completed. Ideally, I would be able to do this for all of the names.

Any help would be great appreciated.

Thanks,

Jarust91
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,224,828
Messages
6,181,215
Members
453,024
Latest member
Wingit77

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