Forum Discussion

username965's avatar
username965
Copper Contributor
Feb 22, 2023
Solved

ICD 10 codes

Hello!

 

I am trying to add a period after the third character in the ICD codes but if there are no characters following the third character, I do not want to add a period. I have a picture of a sample file with highlighted data. The highlighted data is the data that I do not want a period after.

Any Suggestions?

 

9 Replies

  • username965 

    =IF(LEN(D2)=3,D2,CONCATENATE(LEFT(D2,3),".",RIGHT(D2,LEN(D2)-3)))

    You can try this formula which seems to return the expected result.

     

    • username965's avatar
      username965
      Copper Contributor
      I tried that formula but it still seems to be giving me the period after the 3rd character for all values

Resources