I have two columns of data, one is a 3 digit alphabetical code denoting a record type and the second is a 6 digit numeric code indicating a supplier. I need a formula that will list, in a 3rd column the unique records in the 2nd column according to the record type. I need to have the record types grouped together and the suppliers sorted ascending.
Ideally, the solution would work as shown with the formula producing the data in column 3: I don't want to use a macro for this, it needs to be a formula and I cannot perform any filtering. This is a fixed format worksheet and can't be changed. Please help.
Col1 Col2 Col3
RBT 121011 RBT121011
RBT 121011 RBT122011
RBT 122011 RBT122012
RBT 122012 PKI403011
PKI 403011 PKI 403012
PKI 403011 BLK403011
PKI 403012 BLK403012
PKI 403012 BLK403011
BLK 403011 BLK403012
BLK 403011 BLK701011
BLK 403012 BLK701012
BLK 701011
BLK 701011
BLK 701012
I'm currently using an INDEX($A3:$A$34,MATCH(TRUE,INDEX($A3:$A$34<>A1,0),0)) formula which only partially works. It cannot negotiate the values in the first column to group them and instead skips them even if they are a different record type.
Ideally, the solution would work as shown with the formula producing the data in column 3: I don't want to use a macro for this, it needs to be a formula and I cannot perform any filtering. This is a fixed format worksheet and can't be changed. Please help.
Col1 Col2 Col3
RBT 121011 RBT121011
RBT 121011 RBT122011
RBT 122011 RBT122012
RBT 122012 PKI403011
PKI 403011 PKI 403012
PKI 403011 BLK403011
PKI 403012 BLK403012
PKI 403012 BLK403011
BLK 403011 BLK403012
BLK 403011 BLK701011
BLK 403012 BLK701012
BLK 701011
BLK 701011
BLK 701012
I'm currently using an INDEX($A3:$A$34,MATCH(TRUE,INDEX($A3:$A$34<>A1,0),0)) formula which only partially works. It cannot negotiate the values in the first column to group them and instead skips them even if they are a different record type.
Last edited: