+ Reply to Thread
Results 1 to 2 of 2

Data validation formula - base 60

  1. #1
    Registered User
    Join Date
    11-05-2007
    Posts
    19

    Data validation formula - base 60

    Hi
    I have a worksheet change event macro that converts 1 to 4 digit integers entered into a particular range to hours and minutes. For example: 111 converts to 1:11; 12 converts to 0:12. This works fine - I have been trying to come up with a formula to use in data validation that would restrict user entries to base 60 eg. prevent an entry like 170. or 90 etc.

    Thanks for any suggestions.

    Richard

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    If you're using the Change event to change the cell value, why not just verify that the last two digits are less than 60 while you're there, i.e.,
    Please Login or Register  to view this content.

+ 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