I'm finding a formula which can filter out my data to only show 1 ID with 1 time associated date (if it has multiple date)
So my current Data table looks someting like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Date[/TD]
[TD]O1[/TD]
[TD]O2[/TD]
[TD]O3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1/1/2000[/TD]
[TD]123[/TD]
[TD]123[/TD]
[TD]123[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1/1/2000[/TD]
[TD]12[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2/1/2000[/TD]
[TD]14[/TD]
[TD]15[/TD]
[TD]16[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2/1/2000[/TD]
[TD]1234[/TD]
[TD]1234[/TD]
[TD]1234[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2/1/2000[/TD]
[TD]20[/TD]
[TD]21[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]3/1/2000[/TD]
[TD]23[/TD]
[TD]24[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]3/1/2000[/TD]
[TD]26[/TD]
[TD]27[/TD]
[TD]28[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to find a way to make new worksheet that can recognize and consolidate the date of particular ID, for example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Date[/TD]
[TD]O1[/TD]
[TD]O2[/TD]
[TD]O3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1/1/2000[/TD]
[TD]1234[/TD]
[TD]1234[/TD]
[TD]1234[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2/1/2000[/TD]
[TD]17[/TD]
[TD]18[/TD]
[TD]19[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]3/1/2000[/TD]
[TD]26[/TD]
[TD]27[/TD]
[TD]28[/TD]
[/TR]
</tbody>[/TABLE]
I found this a formula like this, which works OK, but I get multiple same date which I don't need..
=IF(ISERROR(INDEX(Data,SMALL(IF(RawData!$A:$A=$A$2,ROW(RawData!$A:$A)),ROW(1:1)),2)),"",INDEX(Data,SMALL(IF(RawData!$A:$A=$A$2,ROW(RawData!$A:$A)),ROW(1:1)),2))
Any suggestions?
So my current Data table looks someting like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Date[/TD]
[TD]O1[/TD]
[TD]O2[/TD]
[TD]O3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1/1/2000[/TD]
[TD]123[/TD]
[TD]123[/TD]
[TD]123[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1/1/2000[/TD]
[TD]12[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2/1/2000[/TD]
[TD]14[/TD]
[TD]15[/TD]
[TD]16[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2/1/2000[/TD]
[TD]1234[/TD]
[TD]1234[/TD]
[TD]1234[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]2/1/2000[/TD]
[TD]20[/TD]
[TD]21[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]3/1/2000[/TD]
[TD]23[/TD]
[TD]24[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]3/1/2000[/TD]
[TD]26[/TD]
[TD]27[/TD]
[TD]28[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to find a way to make new worksheet that can recognize and consolidate the date of particular ID, for example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Date[/TD]
[TD]O1[/TD]
[TD]O2[/TD]
[TD]O3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]1/1/2000[/TD]
[TD]1234[/TD]
[TD]1234[/TD]
[TD]1234[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]2/1/2000[/TD]
[TD]17[/TD]
[TD]18[/TD]
[TD]19[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]3/1/2000[/TD]
[TD]26[/TD]
[TD]27[/TD]
[TD]28[/TD]
[/TR]
</tbody>[/TABLE]
I found this a formula like this, which works OK, but I get multiple same date which I don't need..
=IF(ISERROR(INDEX(Data,SMALL(IF(RawData!$A:$A=$A$2,ROW(RawData!$A:$A)),ROW(1:1)),2)),"",INDEX(Data,SMALL(IF(RawData!$A:$A=$A$2,ROW(RawData!$A:$A)),ROW(1:1)),2))
Any suggestions?