Initially we will try the formula without considering the new criterion (B1).
If it works, I'll try to add the new requirement.
Say you have this in All GK Data
[TABLE="class: grid"]
<tbody>[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
A
[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
B
[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
C
[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
D
[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
E
[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
F
[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
G
[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
H
[/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
I
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
1
[/TD]
[TD]
IDX
[/TD]
[TD]
Supplier
[/TD]
[TD]
RejNum
[/TD]
[TD]
DateIssu
[/TD]
[TD]
QtyRej
[/TD]
[TD]
Ship
[/TD]
[TD]
Item
[/TD]
[TD]
Descr
[/TD]
[TD]
Category
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
2
[/TD]
[TD]
1
[/TD]
[TD]
Bobalee
[/TD]
[TD]
109016
[/TD]
[TD]
07/03/2018
[/TD]
[TD]
1
[/TD]
[TD][/TD]
[TD]
S2J1014
[/TD]
[TD]
CYL CAB TILT
[/TD]
[TD]
Function
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
3
[/TD]
[TD]
2
[/TD]
[TD]
Bobalee
[/TD]
[TD]
109180
[/TD]
[TD]
07/10/2018
[/TD]
[TD]
1
[/TD]
[TD][/TD]
[TD]
S3J0193
[/TD]
[TD]
CYL ASSY BEAM TOP
[/TD]
[TD]
Dimensional
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
4
[/TD]
[TD]
3
[/TD]
[TD]
Bobalee
[/TD]
[TD]
179
[/TD]
[TD]
09/26/2018
[/TD]
[TD]
1
[/TD]
[TD][/TD]
[TD]
T2J0087
[/TD]
[TD]
CYL CAB TILT
[/TD]
[TD]
Missing
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
5
[/TD]
[TD]
4
[/TD]
[TD]
Bobalee
[/TD]
[TD]
382
[/TD]
[TD]
10/16/2018
[/TD]
[TD]
1
[/TD]
[TD][/TD]
[TD]
S2J1014
[/TD]
[TD]
CYL CAB TILT
[/TD]
[TD]
Orifice
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
6
[/TD]
[TD]
5
[/TD]
[TD]
Bobalee
[/TD]
[TD]
111
[/TD]
[TD]
10/18/2018
[/TD]
[TD]
1
[/TD]
[TD][/TD]
[TD]
S2J1014
[/TD]
[TD]
CYL CAB TILT
[/TD]
[TD]
Function
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
7
[/TD]
[TD]
6
[/TD]
[TD]
Bobalee
[/TD]
[TD]
222
[/TD]
[TD]
11/02/2018
[/TD]
[TD]
2
[/TD]
[TD][/TD]
[TD]
S3J0193
[/TD]
[TD]
CYL ASSY BEAM TOP
[/TD]
[TD]
Dimensional
[/TD]
[/TR]
</tbody>[/TABLE]
Other sheet
[TABLE="class: grid"]
<tbody>[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "][/TD]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
L
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
19
[/TD]
[TD]
List
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
20
[/TD]
[TD]
Function
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
21
[/TD]
[TD]
Dimensional
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
22
[/TD]
[TD]
Missing
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
23
[/TD]
[TD]
Orifice
[/TD]
[/TR]
[TR]
[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DCE6F1]#DCE6F1[/URL] "]
24
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
As you have more than 40K rows i suggest a more efficient formula
L20
=IFERROR(INDEX('All GK Data'!$I$2:$I$44444,SMALL(IF(FREQUENCY(IF('All GK Data'!$I$2:$I$44444<>"",MATCH('All GK Data'!$I$2:$I$44444,'All GK Data'!$I$2:$I$44444,0)),ROW('All GK Data'!$I$2:$I$44444)-ROW('All GK Data'!$I$2)+1),ROW('All GK Data'!$I$2:$I$44444)-ROW('All GK Data'!$I$2)+1),ROWS(L$20:L20))),"")
Ctrl+Shift+Enter
Follow these steps
Copy the formula above (Ctrl+C)
Select L20
Put the cursor in the Formula Bar and paste (Ctrl+V)
With the cursor still in the Formula Bar keep pressed the keys Ctrl and Shift
Hit Enter and release Ctrl and Shift
If everything works fine Excel automatically wraps the formula with curly braces {=IFERROR(.......)}. Check.
Now all you have to do is to copy (drag) the formula down till the result is a blank cell
Try it.
M.