Duplicate numbers

Anthony Gall
edited 01/23/24 in Smartsheet Basics

Hi,

I am trying the identify duplicated numbers using the =IF(COUNTIF([CAM Number]:[CAM Number], [CAM Number]@row) > 1, 1, 0) however, it does not seem to work with zeros in the front 00215.0009888 (The zeros are generated from a a system and can't be modified). However, if I remove the zeros from the beginning the formula works. Is there a duplicate formula that recognizes zeros?


Thank you

Answers

  • KPH
    KPH ✭✭✭✭✭✭

    Hi @Anthony Gall

    Smartsheet is converting the number to text by adding a ' at the start to retain your leading zeros.

    Try adjusting the formula to:

    =IF(COUNTIF([CAM Number]:[CAM Number], @cell = [CAM Number]@row) > 1, 1, 0)

    If it works, just accept it and don't ask me why! I don't know, but I've done this successfully.