PC Review


Reply
Thread Tools Rate Thread

Custom validation rule - must be 15 increment of time

 
 
Jarryd
Guest
Posts: n/a
 
      19th May 2010
Hi,

I have been using this formula to round time values to the nearest 15
minute increment:
=ROUND(E10*96,0)/96

This works fine for cells where the value is auto-calculated. However, I
have one cell where a value has to be manually entered are strictly 15
minute increments? What I thought I might do is create a Data Validation
rule that checks to see if the value * 96 is an integer. If it isn't then
it fails. How would I do this? I know it can be done, I am just having a
bit of a block.

TIA,

Jarryd

 
Reply With Quote
 
 
 
 
Jarryd
Guest
Posts: n/a
 
      19th May 2010
=INT(F13*96)/(F13*96)=1

"Simples"!

Cheers,

Jarryd

"Jarryd" <(E-Mail Removed)> wrote in message
news:8A788E92-80FB-4AD2-A1A3-(E-Mail Removed)...
> Hi,
>
> I have been using this formula to round time values to the nearest 15
> minute increment:
> =ROUND(E10*96,0)/96
>
> This works fine for cells where the value is auto-calculated. However, I
> have one cell where a value has to be manually entered are strictly 15
> minute increments? What I thought I might do is create a Data Validation
> rule that checks to see if the value * 96 is an integer. If it isn't then
> it fails. How would I do this? I know it can be done, I am just having a
> bit of a block.
>
> TIA,
>
> Jarryd


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom validation rule RipperT Microsoft Access Form Coding 4 20th Jul 2007 12:02 PM
validation rule for time field =?Utf-8?B?c2lnbmFsMjE4Mg==?= Microsoft Access Database Table Design 1 8th Jun 2006 09:06 PM
Validation rule - custom 5 digits w/ leading zeroes =?Utf-8?B?amVubmlmZXI=?= Microsoft Excel Worksheet Functions 1 27th Mar 2006 12:49 AM
date/time validation rule Marek Marek via AccessMonster.com Microsoft Access 1 25th May 2005 05:05 PM
Time Calculations and Validation Rule Problem Con Giacomini Microsoft Access Forms 1 11th May 2004 06:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:04 AM.