+ Reply to Thread
Results 1 to 4 of 4

Data Validate to Even Numbers

  1. #1
    Registered User
    Join Date
    11-16-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2003
    Posts
    31

    Data Validate to Even Numbers

    Hello

    I'm sure this is an easy one for most of you but can I use Data Validation to only allow even numbers in my cells

    Thank you

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Data Validate to Even Numbers

    You can apply a Custom Rule of:

    Please Login or Register  to view this content.
    where A1 is the "active" cell when the validation is first set

    edit: in reality the ISNUMBER test isn't required... =MOD(A1,2)=0 would suffice.
    Last edited by DonkeyOte; 02-24-2011 at 07:51 AM.

  3. #3
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: Data Validate to Even Numbers

    This can be one way
    Attached Files Attached Files
    regards

    johnjohns

    When you are not sure where to go, every road takes you there!

  4. #4
    Registered User
    Join Date
    11-16-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Data Validate to Even Numbers

    Thank you. Job done. Wasn't aware of the Mod function

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1