KnightFhawker
New Member
- Joined
- Dec 7, 2016
- Messages
- 17
- Office Version
- 365
- 2016
- Platform
- Windows
- Mobile
- Web
Hi everyone!
I hope someone can help me get to the final step. Using a formula, most likely an array, I would like to reorder my list of names in chronological order (by date). I have already created columns of data that I believe would get me to the final step, but I can't seem to finalize the formula with the correct structure. Based on the columns I have included as an example below, the Name (By Date) column is the one I need to find a formula for to get the Name Column in Date order, essentially matching the order of the Sorted Date column. If you can help I would greatly appreciate it. Thanks in advance!
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Count[/TD]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Sorted Date[/TD]
[TD]Date Count[/TD]
[TD]Name (By Date)[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Name A[/TD]
[TD]2/5/17[/TD]
[TD]1/18/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Name B[/TD]
[TD]3/1/17[/TD]
[TD]2/5/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Name C[/TD]
[TD]4/1/17[/TD]
[TD]3/1/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Name D[/TD]
[TD]5/1/17[/TD]
[TD]3/20/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Name E[/TD]
[TD]8/1/17[/TD]
[TD]4/1/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Name F[/TD]
[TD]9/1/17[/TD]
[TD]4/1/17[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Name G[/TD]
[TD]1/18/17[/TD]
[TD]4/1/17[/TD]
[TD]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Name H[/TD]
[TD]4/1/17[/TD]
[TD]5/1/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Name I[/TD]
[TD]3/20/17[/TD]
[TD]5/1/17[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Name J[/TD]
[TD]4/1/17[/TD]
[TD]6/20/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]Name K[/TD]
[TD]5/1/17[/TD]
[TD]7/15/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]Name L[/TD]
[TD]6/2/17[/TD]
[TD]8/1/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]Name M[/TD]
[TD]7/15/17[/TD]
[TD]9/1/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I hope someone can help me get to the final step. Using a formula, most likely an array, I would like to reorder my list of names in chronological order (by date). I have already created columns of data that I believe would get me to the final step, but I can't seem to finalize the formula with the correct structure. Based on the columns I have included as an example below, the Name (By Date) column is the one I need to find a formula for to get the Name Column in Date order, essentially matching the order of the Sorted Date column. If you can help I would greatly appreciate it. Thanks in advance!
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Count[/TD]
[TD]Name[/TD]
[TD]Date[/TD]
[TD]Sorted Date[/TD]
[TD]Date Count[/TD]
[TD]Name (By Date)[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Name A[/TD]
[TD]2/5/17[/TD]
[TD]1/18/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Name B[/TD]
[TD]3/1/17[/TD]
[TD]2/5/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Name C[/TD]
[TD]4/1/17[/TD]
[TD]3/1/17[/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[T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