G
Guest
I have a time field with values from 2 to 3 digits long, representing duration values; for example
30 (which equals 30 minutes
100 (which equals 1 hour
130 (which equals 1 hour 30 minutes
etc
I need to calculate the number of quarter-hours (15-minute intervals) within each of these values, and am at a loss on how to do this. I've contemplated dividing the field into two separate fields, but run into a problem extracting the hour digit since not every value has three digits (not to mention the result would be a text field that would prevent calculations). I am not familiar with VBA and how to create macros, so I'm pretty much limited to functions. Any help would be greatly appreciated
Thanks
Eric
30 (which equals 30 minutes
100 (which equals 1 hour
130 (which equals 1 hour 30 minutes
etc
I need to calculate the number of quarter-hours (15-minute intervals) within each of these values, and am at a loss on how to do this. I've contemplated dividing the field into two separate fields, but run into a problem extracting the hour digit since not every value has three digits (not to mention the result would be a text field that would prevent calculations). I am not familiar with VBA and how to create macros, so I'm pretty much limited to functions. Any help would be greatly appreciated
Thanks
Eric