Share via

UNIQUE function

Anonymous
2025-01-16T13:10:04+00:00

hi everybody

I have a list of customers in column B which contains repetitions. I need a unique list of their names. I have used the UNIQUE function which works however, because I have selected the whole of column B, it gives me the list but then a 0 at the end because there are empty cells in the range. What can I do to the formula so the 0 isn't returned?

I can't just select the exact range with their names in because if any new names are entered into column B, these need to be picked up too.

TIA, Louise

Microsoft 365 and Office | Excel | Other | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2025-01-22T12:40:51+00:00

It returns the array as a single column. It already is a single column but it has an argument ignore that I used to ignore blanks (value 1):

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2025-01-16T13:38:10+00:00

=TOCOL(UNIQUE(B:B),1)

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-01-22T12:43:47+00:00

    Ah, I get it! Thank you - never used that before.

    Louise

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-22T12:42:47+00:00

    Hi

    Thanks very much for your reply. I've tried this and it returns the CALC error. Here's my formula - what have I done wrong? Are you able to give me a breakdown of the steps?

    TIA, Louise

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-01-22T09:18:14+00:00

    Hi, thank you for your response. I've never used this function before - what does TOCOL mean? Also, what is the number 1 doing at the end? Just so I understand how this works.

    Thank you, Louise

    Was this answer helpful?

    0 comments No comments