Count Function :: Vacation, Personal Time, & Sick Time
Nov 17, 2005
I am using the count function for attendance tracking of Vacation, Personal Time, & Sick Time. (Example: = COUNTIF($F6:$CQ6, "V")
I need to be able to do half days. I have tried many different formulas/ways to incorporate the half day scenario even without using the count function with no success.
Im trying to count people working during times of the day. They work shifts from 8am to 9pm. I need to know at each 30 minute interval of the day how many are working. IE at 12:00 or say 13:30 I need to know how many are working. I also need to be able to account for people that are sick. IE If a person works during the day I wouldnt count them as sick at night.
Im data is set up like Column A agent name Column B agents start time Column C agents end time Column D holds two variables either sick or support.
I have found a thread that counts the people working but doesnt account for the sick or support variables. I didnt link that thread as I thought it went against the rule "STATE WHAT YOU WANT TO DO, NOT WHAT YOU THINK YOU NEED TO ACHIEVE IT "
i am trying to find the answer for a value that my change from time to time. the example is dealing with time, a 24 hour period. the cell entry my look lilke.... "SE/10". that is where se = sick time used out of the 24 hour period. so in the example "SE" = 14. but this may change depending on how many hours taken
I am trying to create a spreadsheet that will show vacation time; accrued, taken, leftover. There are different accrual rates for years of service, and caps on carryover.
I have been trying to figure this out, however the accruals for employees over 1 year are higher than they should be.
Breakdowns are as follows: 1-2 years - 1 week vacation - 40 hours eligible for carryover each year 3-4 years - 2 weeks vacation - 80 hours eligible for carryover each year 5-9 years - 3 weeks vacation - 120 hours eligible for carryover each year 10+ year - 4 weeks vacation - 160 hours eligible for carryover each year
creating a formula to accrue PTO as well as track available PTO as it's used. And, not go negative if possible... if an employee reaches 0 PTO, they just take time off without pay, so a negative balance would cause issues with the calculations. Here are the specifics:
Pay periods are from the 1st of the month through the 15th. and the 16th through the end of the month. Each employee receives 3.33 hours of PTO for each pay period. Employees are eligible to START accruing PTO after 6 months of employment.
[URL]
That seemed close, however I'm just not efficient enough in Excel to understand exactly what the formulas are doing... specifically the formula for available vacation. I think I have the Rate formula figured out by using:
I have thousands of timestamps that have a start & end date and time in 2 separate columns. (one named start and one named end...)
I also have numerous set time periods that i'm interested in.. (about a dozen or so)
for example 01/01/2008 - 05/01/2008, 07:30:00 - 10:00:00
What i need is to be able to count the number of times the full time period i am interested (07:30:00 - 10:00:00) in falls in between the thousands of start and end timestamps i have. The time periods must also fall within the date range specifed.
So if my timestamps were Start: 01/01/2008 06:30:00 & End: 02/01/2008 11:00:00, based on the set time period above, there would be a count of 2
and if my timestamps were Start: 01/01/2008 07:05:00 & End: 02/01/2008 09:00:00 there would be a count of zero as there is not a full uninterupted timeperiod 07:00:00 - 10:00:00 between these timestamps.
and if my timestamps were: Start 01/01/2007 07:00:00 & End 02/01/2007 10:00:00 the count would be zer as this is a year early!
I am looking for a function to convert time given by my computer (Local time) in EST (Eastern Standard Time). We are several users of a same file (with timestamp macros) and all time need to be aligned to one time zone (EST), even if all users are working in different time zone (EST, CST and IST).
I need a sum function in A1 of a "Total"-sheet that totals cell A1 in every sheet with a certain color on the tab. The number of sheets can vary from time to time.
Any idea about a dynamic sum function that will do this, in combination with VBA?
I have a worksheet which contains START TIME in column A, then TIME USAGE in column B and END TIME in column C. User enters start time, followed by the number of time usage in minutes, how could i possibly display the end time automatically in this scenario? how do you add the entered time usage to the start time to display the end time? Say if I enter 1:00 AM at start time and 00:15 minutes on time usage, how can 1:15 AM be displayed on the end time automatically?
I m Trying to add some features to it and run into an issue. Here are the fields we are working with!
A1= 13:30:00 17/12/2008 (in other words 1:30pm on date given) - Need to know proper cell number format!!
B1= 23:00:00 (this represents 23 hours) - format for cell is [h]:mm:ss
C1= Unknown function (This field is my problem!!) Answer here SHOULD be "14:30:00 16/12/2008"
I need a function for C1 (using A1 and B1) that will give me the time and date 23 hours earlier or however many hours:mins:secs is specified in B1! Also need to know what number format to use for both A1 and C1
i didn't realize is that my current funcation that calculates vacation hours... will increase after a new year. i'd rather have it not increase until they are "reset" for the new year. how do i stop the function? =VLOOKUP(DATEDIF(A8,TODAY(),"y"),$S$8:$T$10,2)
basically goes to a lookup table with the caculations. PROBLEM: if a user's anniversery date passes, they may go from a 1-2 year status to 3 year bump... this will auto adjust the amount of vacation hours they have. if the reset button is ran to calculate the vacation hours, it might over calculate giving the user 40+ extra carryover hours. anyway i can make this vlookup stop when the current date is or has passed the anniversery date, yet has not been reset? maybe a count down timer, not sure. http://www.ozgrid.com/News/excel-eva....htm#ExcelTips
the vendor has a 21 hr working window; start from 7am and goes until 4am; Mon to Fri.
Here is a scenario: - i request for a product information from a vendor on 3-Feb-14 8:00am (Monday) - he replies with all of the product info on 6-Feb-14 12:00pm (Thursday)
can you find the time in above scenario consideration the working window?
Here is another scenario: - i request for a product information from a vendor on 6-Feb-14 8:00am (Thursday) - he replies with all of the product info on 11-Feb-14 12:00pm (Tuesday) - Sat & Sun are days off but keep in mind that my Friday shift ends on sat at 4am so the networdays formula wont work.
SOLVED: adjusted functions. creating a vba macro for other reset goals. other goals have changed as well.
I have a table where the subsheets have the specific days that an employee uses vacation, sick, personal or other hours of off time. i wrote alot here to get my goals/thoughts down
my goal is to master one section then apply it to the other vacation date types. i'm stuck on going with a formula or using vb. also another concern is odd months such as someone hired 10/31 compared to a month like 6/30. not sure if this is a real concern.
a. need to reset vacation hours for the year based on annual anniversary date -"vacation hours per year" -"vacation hours remaining" =E8-('Vacation 1'!B8+'Vacation 2'!B8) this data is taken from the subsheets. there is vacation 1 for jan-jun and vacation 2 for jul-dec
1year=40 hours after 1 year anniversary =80 hours 3 years+ =120 hours Vacation only rolls over for 3 months after anniversary date (this is a concern after part a is completed)
second part of my project: b. vacation hours remaining can be carried over up until 3 months after their anniversary date. at this point they are wiped back to 0 until the next anniversary date (where the carry over hours recalculate)
ATTACHED TEMPLATE
things i am changing in design: vacation hours per year (to include a formula to calculate anniversary date, with the amount given for 0 year, 1 year, 3 years....) rather than a manual added # (which was lets say 40 hours+ carry over hours) -thats why i am separating the carry over hours... which i'm hoping to auto calculate by taking
anniversary date - 3 months in a statement to reset it back to 0 after the three month period.
I am trying to get a count of supervisors and employees at any given time during a few day span. I think maybe a pivot chart might work but I'm stuck.
In my example I have a number of supervisors and employees in separate groups. I would like to type in two dates and two times for an in between time and get the total amount of employees working during a certain time.
I finally got an ontime code to work almost the way I want it. What it does not do correctly is necessarly copy paste information for the correct hour of the day. For example if the computer goes down it will start again copy/pasting for the next hour readings. Even if its three hours latter. The log should be blank for three hours since those hours wwere missed. My code is below, how can it be fixed to run "Capture" macro for the correct time of each day and leave the rest blank? Rich
Public LastSoon Function Soon() 'As Date Dim tm As Variant tm = Now tm = tm + 1 / 24 'next hour tm = tm - Int(tm) 'time only (no date) tm = Int(tm * 24) 'on the hour tm = tm / 24 - 5 / 1440 '5 minutes before hour Soon = tm
Trying to write an if statement giving a simple value of 1 if a time is outside of weekday hours 8am to 9pm. Cell formatted as (6/3/17 2:15 PM). Function should report "0" value as this is a Tuesday between 8am and 9pm.
A cell formatted as (6/3/14 7:54 AM) should result in "0" value.
I have a bunch of data and I want to be able to count the number of entries that fall within each of the 24 hour increments in a 24 hour clock. (military time)
For 12:00:00 all times would be between and including 12:00:00 and 12:59:59
I need to count the number of records having hospital admissions within one year prior to the index admission. The list of all admissions is in one worksheet, the index admission in another worksheet. They can be matched on ID number.
I have a data to filter and count it based on the time.
As you can see on the attached file, there is a table of time range wherein I will input the total counts of the partners.
For example:
I will filter Column B with "One" & "M One".
After filtering, on the table, i will count the data that is fit on the time range.
Let say on 1:00am time range, i just want to count the data that is less than 2:00am on the filter data, and put the result on the corresponding partners. Put "0" if there is no data on that time range.
i am trying to get totals from data and am using 2 different times to count from (eg. i am trying to find how many cells contain times in the 6:00 am to 2:30 pm range in the same column...I can't seem to be able to count these correct.
I am looking to create an Excel sheet that can manage the times of access of a certain location. The information is set in a way that there are several rows, and the rows for the time I am keeping track of are in the Row "I". I need to get a count of how many people accessed the location each hour.
I have managed to do this using the following formula: =COUNTIF(I:I,">=12:00:00")-COUNTIF(I:I,">13:00:00")
This gives me the Count for 12:00pm to 12:59pm. However, COUNTIF can only handle one variable, and I need to put a second variable in it. In Row B, there are several different states. For the most part, they are numbers, but occasionally, there are two separate occurances that I am not supposed to count with the others. I do have to count them separately, however:............
I have a function saved in my Personal.xls (attached) but it is returning a #NAME error when used in other sheets. I am guessing that the NAME error means that the function can't be seen by other excel woorkbooks. I have already checked the following with no result:
1. Testing the code in a different workbook. 2. The code is visible in the script editor, but personal.xls is open but hidden. 3. When I open Tools>Macro>Macros the option of "All Open workbooks" is selected from the drop downbox. 4. Macro security is on low. 5. saving the function as a .xla file and running as an add-in
I'm trying to calculate and average using a time frame in the day. I want to use a certain number "X" that correlates to a hour/minute in the current time. How do I write a statement to get me the correct "X" value?