I can calculate total hours when a user enters a start date/time and a finish date/time. The kick is I only want to include hours from 2:00 PM to 12:00 AM (10 hour period). So assuming all the start and end times will be in this range, how can i calculate work hours over multiple days? For example: Start date/time = 2/26/13 2:30 PM and end date/time = 2/28/13 10:30 PM. I want my calculated hours to show 28 hours.
I would like a solution for the automatic calculation of the end date and end time for project tasks. I have already spent hours on the issue, thanks for any help on this.
The parameters are: A1 = Start time 08:00 B1 = End Time 17:00 A2 = break lunch 12:00 B2 = back from lunch 13:00
Task parameters
A5 = start date 01/03/10 (entered manually) B5 = start time 10:00 (entered manually) C5 = duration 02:00 (hrs entered manually) D5 = "end date" >>> (to be calculated exluding breaks and holidays) E5 = "end time" >>> (to be calculated exluding breaks and holidays)
the next line should be filled in automaitically according to the hours needed and the previous end date & time
A6 = "start date" >>> (after line 5: to be calculated exluding breaks and holidays) B6 = "start time" (after line 5: to be calculated exluding breaks and holidays) C6 = duration 14:00 (entered manually) D6 = "end date" >>> (to be calculated exluding breaks and holidays) E6 = "end time" >>> (to be calculated exluding breaks and holidays)
I have a user form with textBox1 = start time (entered as "[h]:mm") and text Box2 = finish time (entered as "[h]:mm"). I would like textBox3 to display the difference between the start time and finish time as a general number!
For example Start time: 21:00 Finish time: 06:30 Hours worked: 9.50
I have a workbook that is generated from the system(AS400)but it wont subtract the time finish -time start. I get a #Value error in the cells I tried two different formulas.
I am trying to get the start time and finish time for breaks.
I have 4 columns Name, status, start, finish. In the name column there are multiple names, under status there 6 different status's. and under the time columns there are in and out times dependant on status. I am trying to us index match match. I have tried vlookup and hlookup as a nested function. I keep getting errors.
NameStatus MessageStart TimeFinish Time Cameron WilliamsTech All & Billing12:31:4812:31:52 =index(starttime,match(name,namefield(match,"on lunch",starttime)))
I am working on an excel spreadsheet for work and I have to show a chart that shows the time of day a space is in use. Right now I am having to mark all of these by hand which takes me forever because I have a couple thousand lines of information.
I need to mark the hours in use based off the start and finish time.
For Example: 1) If the start time was 7:00 and the end time was 10:45 then the markers would only mark 7am and 10am 2) If the start time was 7:15 and the end time was 10:00 then the markers would only mark 7am and 9am 3) If the start time was 7:30 and the end time was 10:30 then the markers would only mark 7am and 10am 4) If the start time was 7:45 and the end time was 10:15 then the markers would only mark 8am and 9am
I was given the formula and it works to count the whole hour but now I need the formula tweaked and I don't know how...I need the formula to account for quarterly hours...and I don't know how to fix it.
Attached is an example of the spreadsheet of what I currently have and of what I need. Book1.xlsx
I need to calculate the time elapsed between start and finish dates. I've figured the TODAY function, as explained here but I'm referring solely to dates in cells. How to?
I have a spreadsheet containing milestones for several different projects. The number of milestones per project varies.
I need to get the max date for each project using VBA.
Simple Example: 'Project Name' is in column A and the 'Scheduled Finish Date' is in column B.
Project X has 5 milestones with the following Scheduled Finish Dates: (8/15, 8/16, 8/17, 8/18, 8/19) Project Y has 3 milestones with the following Scheduled Finish Dates: (8/20, 8/21, 8/22) Project Z has 6 milestones with the following Scheduled Finish Dates: (8/23, 8/24, 8/25, 8/26, 8/27, 8/28)
I need the macro to return 8/19 for Project X, 8/22 for Project Y and 8/28 for Project Z.
I have problem to make an excel evidence which will track total working hours of employee during the month, how many times employee was late for work and how many times employee was on lunch break longer than 30 minutes.
And I made table which count all these things but problem is Saturday because on that day start work is 9::00 AM and all other days is 8:00 Formula for counting how many times employee was late is:
COUNTIF(D8:AC8,">0.336805555555555555555555555555") where D8:AC8 is range where are all start work times in month and 0.336805555555555555555555555555 is 8:00 AM (serial number which is equivalen of 8:00 AM) How to improve this formula to count properly because now it counts as a late when employee start work on Saturday on 9:00 AM (and that shouldnt count as a late) [IMG]file:///C:/DOCUME%7E1/Nesa/LOCALS%7E1/Temp/moz-screenshot.jpg[/IMG]
That leaves the cell null if there is no time in the day... If there is time, checks to see if more than 6 hours... If so, deducts 1/2 hour, else does the difference calculation This does work, but is it the elegant or simple way? recommend?
3) At the bottom of each day totals are calculated by this :
=Text((SUM(E5:E36)),"[H]:mm")
This also works to sum the individual totals to the bottom But is this the best way to work with the times?
4) the individual then inputs the Actual Hours worked by the team... And the sheet does a variance calculation between actual hours Worked vs. Scheduled hours...
=TEXT((D38-D39),"[H]:mm")
Now this is a problem...cannot do negative times....need help!
5) Am having a problem with totaling the individuals weekly total using ...
I'm trying to auto input names from my schedule into dailytasks for my servers. Sometimes the amount of servers on a specific day changes(i.e Mondays 3 to 5 servers and Friday - Sunday there is 4-6 servers on) and times could change also as of now it works with
=VLOOKUP("6:00",AC$25:AJ$46,8,FALSE)
Not sure how to set up lookup value and return the name
i am trying to create a spreadsheet that will tell me when employees have booked the same days of with other employees in the same department i have attached the part of my workbook which i am having the problem, i then want to email the clash dates
I am working on a sheet that will allow a user to enter a start month (from a pre-defigned drop down list) and an end month (again from ddl). What I need to calculate is in what months the employee worked in so I can calculate their salary cost by quarter.
It can populate other cells in order to do the calculation if needed. So, for example if an employee started in May, and worked until December, I need to calculate that he worked 2 months in Q1, 3 months in Q2, 3 months in Q3, and 0 months in Q4. Our fiscal year is April to March.. ;-) I have thought of several options, but none of them have worked 100%.
I want to use a line graph to display an amount over time - that's the easy part. On the other hand, I would like to have to group the lines based on a value.
A short example: Imagine you own 3 different stores and you're selling oranges. So your table looks like this: http://img179.imageshack.us/my.php?image=orangeshm4.jpg
Now I'd like to have one graph (3 different graphs won't work as the rows increase -I need to select the whole column as data source):
Date on the x axis, Oranges sold on the y axis, and one line per store (e.g. a green one for store A, a red one for B and a blue one of C, doesn't matter).
I am attempting to pick up a date with time entry on a worksheet and place it into a TextBox on a UserForm. Format on the sheet is mm/dd/yyyy h:mm AM/PM. The UserForm is placing the value as mm/dd/yyyy 12:00 AM. here is the
Private Sub UserForm_Initialize() If Not Range("dDate").Value = "" Then TextBox2.Value = Range("dDate").Value TextBox2.Text = Format(DateValue(TextBox2.Text), "mm/dd/yy h:mm AM/PM") Else TextBox2.Value = "" TextBox2.SetFocus End If End Sub
"dDate" is the named range where the date is sitting. The format is also set on the TextBox2 exit event. Can anyone see why only the date portion is being transfered with the default 12:00 AM for no time component of the value?
I need to create a leave tracker wherein i will get the names of the person who want to take leave in that particular month. I have prepared a calendar to make an entry. I need to take care of the following things
1) The person must have sufficient leave balance available to take the leave. so i have to first check if he/she has sufficient leave balance.
2) There are four team leaders and each team has around 13-14 members. so if lots of people from the same team apply for the leave then they will not be eligible for leave. this i want to know in percentage as to how much percentage of people are taking leave from that particular team.
I'm trying to extract pieces of a part number and place each section in another cell. It's kind of like a text to columns, but in a formula and removing part of the data. This is what I'm starting with: Cell 3A: HB149E.505
I'm trying to figure out a formula that will fill the following which are currently blank:
Cell 3A: HB149 Cell 3B: .505
Cell 3A will always have 5 digits prior to the decimal and 3 digits afterward so that is not a problem.
I have a homework assignment where I have a list of companies with the products they have with one other company. The original company and their products are listed on the same row, with a dollar value assigned to the product. So Cell A1 has company name, cell B1 has product a, and Cell c1 has the amount they pay for that product. Is there a function I can use to split that one row into 3 separate rows, to show the company name 3 times and the product and dollar amount as it's own row, next to the company?
i would like to be able to use a macro that will delete all columns in the sheet that do not contain one of 5 pieces of text in cells 1 to 20.
It is driving me mad, i have managed to find macros that delete empty columns, but they do not remove the columns that do not contain any of the 5 words. often the cells are empty down to row 5, when the data starts
I work in HR MI and am compiling an equality spreadsheet. Out of everyone who is on the list I want to see how many men and women we have which I have figured out using = SUMIF(GENDER,"MALE",NUMBER) but from that I want to say theres 50 male in total and out of that 30 are White and 20 are Indian. Is there anything I can add to this formula so it looks at more than two defined sets of information??
In column E of row 1 I have one column with a long line of text containing information in that should be separated into cells for the following fields:
The formula above was inspired by an "extract text between two strings" post, but will not work.
I tried to make a formula that would extract everything between the strings "Notes:" and "Team Stream:" or for example, so I could get the result "Thank you for using our excel forum! thesmartestpeopleever.com" or "Year" and "Make" so I could get the result "2001" if using the example above. I was not able to do it.
I have attached a sample photo and an excel file.
How do I separate/extract each columns data to the appropriate column?
Attached Image : excel string pic.jpg
Attached File : excel string formula conundrum.xlsx
I have loaded a .csv file in which the first column contains date/times, e.g. 01/12/2012 00:00. How do I now tell Excel (2010) that this is in fact a date/time format? If I select one or more of the cells, click on the Number dialog box launcher and try to pick a suitable format tghe cells resolutely refuse to budge from being text (i.e. left-justified, still allows me to edit the 'seconds' component to a number > 60). Also which data type should I be using? The only one that appears to have a full date/time format listed is Custom (not Date or Time).
If the columns A, B, and C were constant and never changed and only column H changes from job to job, how do I: SUM the TOTAL number of pieces (pcs per X qty) if the value in column B is "A"? I need to do this without creating a seperate mutliplication column for the sum of the pieces. It all needs to be done without adding any new columns.
I import data from a program that exports dates and times as text. I have been successful using "text to columns" to separate the time from the date and then using =text(A1,"00:00")+0 to get the time to show as serial time but I'd love to be able to do the whole date/time string in one step. In cell A1 there is data that is general format and is in this format:
01/01/13 00001
No matter how you try to format it, it is not a date or time. For this project I need the serial number for the date/time. Any formula that will format it as date/time and then allow it to show as a serial date/time?
I have 04/02/08 12:00:01 AM (mm/dd/yy hh:mm:ss AM/PM) in text format in a cell. I need to convert this to date/time custom format as given above so that I can make comparisons with NOW() output.
I am using Excel 2013. Anyway, the first issue is that I need to pull a date and a time period from text. So, for example, if I see something like Sunday Prime Time 7/6/14 8:37PM, I would want to pull ONLY the "7/6/14 8:37PM" out of it. Each text box could potentially be different, so it might not always be in the same format as "Sunday Prime Time 7/6/14 8:37PM" it might only show just the date and/or the time without all the extra text i.e. 7/6/14 8:37PM. Some of the cells will have text, others might only have just the time or even just the date and the time. The only thing that I am worrying about in each cell is extracting just the date and time. If this is too much to ask of excel, I would be ok with extracting ONLY the time - 8:37PM and not the date, but I would much rather be able to get both the time and date.
THEN, onto part two of my question. After I would pull the dates and times, I need to compare them with each other. So, when I have the same date with two separate times on that date, I need to write a formula to show if those times on that date are less than 30 minutes apart. So, if I have 6 times on 7/6/14, I need to know if any of them are less than 30 minutes apart.
I would need to have the formula say something like "Problem" if the times on 7/6/14 would be 5:30PM, 5:48PM, 7:00PM, 8:00PM, 8:15PM, and 9:00Pm for example. I would like to see the word "Problem" since 5:30PM and 5:48Pm is only 18 minutes apart, and "Problem" after 8:15PM since that is only 15 minutes past the 8:00PM which is obviously under 30 minutes. The times that are more than 30 minutes apart such as 7:00PM and 9:00PM for example are more than 30 minutes apart from any of the other times that were extracted.