Sorry I know it will be simple

want a1 to have text of either "andrew" or "trudy" what is the formula for this? I don't want a drop down menu just a formula and alert if it is not either of these

regards

andrewm