Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Subtract based on Ending Time

Columns:
Late, Sick, Coaching, Meeting, Training

When a person is out for any of these reasons, the time start and end are
entered onto a sheet (time format)

Times range from 7:00 am to 6:45am (every 15 minutes).
At any given time, there are a number of people present, however, if PersonA
is not present from ex: 7:30AM to 8:00AM because of training (could be any
of the reasons), I need to calculate the number of people present. When
8:00AM hits (PersonA comes back), I need the calculation to add him back as
present when that time has arrived.

EX:
PersonA Has a meeting from 7:30Am to 8:00Am.
In my sheet, I enter the Meeting start time and meeting end time.
On another sheet, I am subtracting all persons out at any given time from
the total that should be present. However, When 8:00AM hits, the total
present will be increased by 1, because PersonA has returned (at least thats
what the Meeting End time records).

Any suggestions?

Thank you so much
Terry V


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Subtract based on Ending Time

Terry

Try

Application.Ontime (time stamp),"subroutine"

"terryv" wrote:

Columns:
Late, Sick, Coaching, Meeting, Training

When a person is out for any of these reasons, the time start and end are
entered onto a sheet (time format)

Times range from 7:00 am to 6:45am (every 15 minutes).
At any given time, there are a number of people present, however, if PersonA
is not present from ex: 7:30AM to 8:00AM because of training (could be any
of the reasons), I need to calculate the number of people present. When
8:00AM hits (PersonA comes back), I need the calculation to add him back as
present when that time has arrived.

EX:
PersonA Has a meeting from 7:30Am to 8:00Am.
In my sheet, I enter the Meeting start time and meeting end time.
On another sheet, I am subtracting all persons out at any given time from
the total that should be present. However, When 8:00AM hits, the total
present will be increased by 1, because PersonA has returned (at least thats
what the Meeting End time records).

Any suggestions?

Thank you so much
Terry V



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
Calculate items based on calendar year ending today Illogical Lucy Excel Worksheet Functions 1 May 6th 09 10:14 PM
Converting Dates to Week Ending time period drew Excel Worksheet Functions 8 June 24th 08 04:09 PM
Subtract hours from a time and get the correct time casey Excel Worksheet Functions 1 June 22nd 08 08:41 PM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
Subtract a group of cells from a total based on ending date Nicholas Scarpinato Excel Discussion (Misc queries) 0 May 17th 05 03:25 PM


All times are GMT +1. The time now is 12:38 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"