thank you for the response.
but when I debug and group and expand, I get an Exception Unhandled errror?
Now the table by Item, I noticed that the Code column was giving me A,B,C,D, and E? which is not the case.
Item 1002 compare to Item 1001 both unique so this should give me both A. and again comparing this items(1001, 1002, &1004) this should give another A because all