Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ginger
 
Posts: n/a
Default Meal Break on Time Sheet in Excel

How do I set up a cell in Excel to reject an in time if it is not equal to or
greater than 30 minutes?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Michl
 
Posts: n/a
Default Meal Break on Time Sheet in Excel

Use Data Validation on the date entry cell.

From the menus Data Validation

Settings: Allow Decimal; Data Greater than or Equal to; 30

- John Michl

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ginger
 
Posts: n/a
Default Meal Break on Time Sheet in Excel

Thank you so much John. This does allow me to limit the entry to a great
then-equal to value. However what I am trying to accomplish is settting a
time within a timesheet which limits the employee to a meal break of at least
30 minutes. This procedure you describe only allows time to be 30 minutes, it
doesn't allow anything over, i.e, if they clock out at 12 noon it won't allow
them to clock back in unless it is 12:30. I only want it to stop them if they
are trying to return to work before their 30 minutes are up.

"John Michl" wrote:

Use Data Validation on the date entry cell.

From the menus Data Validation

Settings: Allow Decimal; Data Greater than or Equal to; 30

- John Michl


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Michl
 
Posts: n/a
Default Meal Break on Time Sheet in Excel

Change the data validation to:

Settings: Allow Time
Data Greater than or Equal to
Start Time: A1 + 1/48

Where A1 is the cell that contains the log out time. 30 minutes is
also 1/48 of a day so adding that to the log out time would give the
earliest log in time. Note this will be very picky. 29 minutes and 59
seconds would not be allowed.

- John

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ginger
 
Posts: n/a
Default Meal Break on Time Sheet in Excel

Thank you John, that did it :-)

"John Michl" wrote:

Change the data validation to:

Settings: Allow Time
Data Greater than or Equal to
Start Time: A1 + 1/48

Where A1 is the cell that contains the log out time. 30 minutes is
also 1/48 of a day so adding that to the log out time would give the
earliest log in time. Note this will be very picky. 29 minutes and 59
seconds would not be allowed.

- John


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Excel Time Sheet - Rounding To Quarter Hours C A Excel Worksheet Functions 2 October 18th 05 07:21 PM
excel to read a row, if word 'x' in then put on other sheet ?? Andy100 New Users to Excel 12 October 13th 05 02:49 PM
Imported Date & Time format with calcs. managed in excel from imrp Todd F. Excel Worksheet Functions 0 July 8th 05 09:03 PM
Hyperlink to specific sheet in Excel Web File jd17 Links and Linking in Excel 0 December 8th 04 09:03 PM


All times are GMT +1. The time now is 05:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"