Excel 2010 Data Validation allow specific layout
问题 I want to apply data validation to reference numbers, to force the following layout (ideally uppercase only): XX_NNX-XX_NNN_NN-XXX X = Numbers N = Letters Ex: 12_AB1-23_ABC_AB-123 The following custom formula allows all of it except for numbers - is there any workaround for this? I don't want to use * since it allows for more characters than I want. =COUNTIF(A1,"??_???-??_???_??-???") 回答1: You can choose AND to add a condition to the function you have already written. e.g. following shall