# unique formula

#### Gaurav Karira

##### Board Regular
Hi Guys

This one is simple for uuu....

I have a Column which contains material codes....... now these codes repeat a lot..... so i need to know only unique codes in next colmn........ i dont wana use advanced filter option or macro...... can neone suggest some formula for this.....

in summary i need to get formula to get unique records in column B from repeating values in Column A

### Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},\$Z\$1:\$Z\$99,\$Y\$1:\$Y\$99),2,False) to lookup Y values to left of Z values.

#### Gaurav Karira

##### Board Regular
Hi Guys ,,,,

thx for the help on this topic over last time......

But can someone really help me in one advanced thing....

I need a formula which gives me unique records and that tooo after sorting ie..... all blanks need to appear in bottom...... if some can help i wd be really gr8full.... else i have to use a very long route... please help....

##### MrExcel MVP
Gaurav Karira said:
Hi Guys ,,,,

thx for the help on this topic over last time......

But can someone really help me in one advanced thing....

I need a formula which gives me unique records and that tooo after sorting ie..... all blanks need to appear in bottom...... if some can help i wd be really gr8full.... else i have to use a very long route... please help....

Both systems eliminates the empty cells or rather sinks them at the bottom of the unique list. Did you try them out? No, I guess you mean these are very long routes and you want a single formula that does all in one go in a column, right?

#### just_jon

##### Legend
Gaurav Karira said:
Hi Guys

This one is simple for uuu....

I have a Column which contains material codes....... now these codes repeat a lot..... so i need to know only unique codes in next colmn........ i dont wana use advanced filter option or macro...... can neone suggest some formula for this.....

in summary i need to get formula to get unique records in column B from repeating values in Column A

Unless I'm missing something - wouldn't be the 1st time - with codes in column A would this in column B do --

=IF(COUNTIF(\$A\$1:\$A1,A1)=1,A1,"")

Sort on column B

Replies
1
Views
131
Replies
3
Views
131
Replies
0
Views
126
Replies
12
Views
130
Replies
1
Views
96

1,187,188
Messages
5,962,102
Members
438,584
Latest member
MASV

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back