Hi,
Currently I have several formulas in use but the principle will be the same.
Formulas in this example are:
=(COUNTIF($I1,"*TCN*A*")+COUNTIF($I1,"*A*TCN*"))>0
=COUNTIF($I1,"A**********")
The reference number starting with A will always have 10 digits and always start with A - A1234567890
Reference number with TCN will always start TCN and always have 5 digits - TCN12345
Sheet 1 Rows 7&8 shows using the above formulas the rows will highlight green when these reference numbers are found, however, Rows 11&12 show they still show green when the reference numbers are typed incorrect.
Sheet 2 uses no formulas but just shows required results.
Is there a way to lookup a specific number of digits in a cell and return false if format is incorrect?
Duplicate post
https://www.excelforum.com/excel-pro...g-in-cell.html
solved with VBA but still interested to see if it can be done with formula so conditional formatting can be used.
Thanks
Bookmarks