I have 3 sheets:
1. Sheet 1 is for data entry
2. Sheet 2 is for the results
3. Sheet 3 is a work sheet
All columns in sheet 3 are correct. Columns J and K are sorted in the correct sequence. When the results are in place on sheet 2, the dates are in the correct sequence, but the time is not. This occurs only when the same date and time are entered into sheet 1 more than once but on the second occurrence the time is < the first one entered for the same date.
Sheet 1
<tbody>
</tbody>
Sheet 2
<tbody>
</tbody>
Sheet 3
Col f Col G Col H Col I Col J Col K Col L
<tbody>
</tbody>
Define name - Input_Events= =data!$F$3:$I$102
Column F = Event
Column G = Date
Column H = Time
Column I = Notes
Column J = sorted date (using small)
Column k = sorted date (using small)
Column L = Formula-=IFERROR(IF(COUNTIF($J$3:J3,J3)=1,MATCH(J3,INDEX(Input_Events,,2),0),MATCH(J3,INDEX(INDIRECT(ADDRESS(ROW(Input_Events)+L2,6,1,1)):data!$G$102,,2),0)+L2),"")
Any help would be greatly appreciated.
1. Sheet 1 is for data entry
2. Sheet 2 is for the results
3. Sheet 3 is a work sheet
All columns in sheet 3 are correct. Columns J and K are sorted in the correct sequence. When the results are in place on sheet 2, the dates are in the correct sequence, but the time is not. This occurs only when the same date and time are entered into sheet 1 more than once but on the second occurrence the time is < the first one entered for the same date.
Sheet 1
Follow-Up | Notes | MM/DD/YY | Time |
Test 1 | AAAA | 2/10/19 | 7:00 PM |
Test 2 | BBBB | 2/10/19 | 5:00 PM |
<tbody>
</tbody>
Sheet 2
Date | Follow-Up | Notes | Time |
2/10/19 | Test 1 | AAAA | 7:00 PM |
2/10/19 | Test 2 | BBBB | 5:00 PM |
<tbody>
</tbody>
Sheet 3
Col f Col G Col H Col I Col J Col K Col L
Event Name | Event Date (2019) | Time | Notes | Sorted 2019 Date | Sorted 2019 Time | Row number Date |
Test 1 | 2/10/19 | 7:00 PM | AAAA | 2/10/19 | 5:00 PM | 1 |
Test 2 | 2/10/19 | 5:00 PM | BBBB | 2/10/19 | 7:00 PM | 2 |
<tbody>
</tbody>
Define name - Input_Events= =data!$F$3:$I$102
Column F = Event
Column G = Date
Column H = Time
Column I = Notes
Column J = sorted date (using small)
Column k = sorted date (using small)
Column L = Formula-=IFERROR(IF(COUNTIF($J$3:J3,J3)=1,MATCH(J3,INDEX(Input_Events,,2),0),MATCH(J3,INDEX(INDIRECT(ADDRESS(ROW(Input_Events)+L2,6,1,1)):data!$G$102,,2),0)+L2),"")
Any help would be greatly appreciated.
Last edited: