2
I'm trying to write a formula in Excel 2016 which outputs a "Yes" if the following two conditions are met:
- A2 value begins with 4 OR 9
- A2 value length is 8
Otherwise output "No".
This is the formula I've come up with:
=IF(AND(OR(LEFT(A2;1)="4";LEFT(A2;1)="9");LEN(A2)="8");"Yes";"No")
Problem is, it just doens't work :(
Any ideas?
Semicolons in formula is a regional thing, but removing quotation marks from LEN fixed it. Thanks a bunch! – igneous – 2015-10-20T14:31:47.807
Edited to reflect semi-colon usage for your region – panhandel – 2015-10-20T14:52:40.797