• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Custom formula to allow only numeric entries in a range.

Frncis

Member
I am trying to write a custom formula to allow only numeric entries in the cell range of E4:E10, E13:E17. I entered the formula below in Data Validation & received a error message saying "A named range you specified can not be found." What am I doing wrong? When asked if I wanted to "apply these settings to all other cells with the same settings", I checked the box. If I did not follow the rules regarding posting formulas, let me know how to post formulas.
=if(e4="",true,if(iserror(sumproduct(search(mid(e4,row(indirect("1:"&len(e4))),1),”0123456789”))),false,true))
 
Top