Please use following formula in the list validation.
=IF(LEN(TestColumn)=5,IF(ISNUMBER(TestColumn+0),TRUE,FALSE),FALSE)
Result:
1.If the column contains letter,
2.If the column contains 6 number,
3.If the column contains 5 number,
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.