Forum Discussion

KevinWheatland's avatar
KevinWheatland
Copper Contributor
Jul 27, 2021

Excel Unique Function

I have Office 365/Windows10-64:
In a simple Exel sheet, I have a column of numbers, some duplicated.
I want to create a list of unique numbers without the duplicates.
In an empty cell, I enter =Unique(N6:N40) and press ENTER
The cell containing the formula just repeats the formula as if it was text and there is no list at all.

I defer to the experts.  Thank you.

8 Replies

  • KevinWheatland 

    Make sure that the number format of the cell has NOT been set to Text. If it is, change the format to General or to Number, then press F2 and Enter.

    • KevinWheatland's avatar
      KevinWheatland
      Copper Contributor

      HansVogelaar 

      Thank you for your very fast response.  You were right - the numbers were in text format because I need 3 digits, for later use (e.g. 001, 002, 003 etc).  Any thoughts on how I keep the three digit format but still get to use the Unique function?

      I have changed the first three entries in the column as you said, they are now 1, 1 and 2.  However, when I apply the Unique function to this column of three numbers, I still get the formulal as if it was text.

      • KevinWheatland's avatar
        KevinWheatland
        Copper Contributor
        In addition to the above, I have just entered a column of numbers(formatted as such) with duplicates and then tested the Unique function. No change, I still get the formula as text with no unique list

Resources