Sum By Name & Hours For Total Amount
I have pivot tables where I need to look through a series of names and sum the hours and dollars charged by that person. When I try to do a pivot I can get it to read
column 1 Column 2
John Doe $4000
Mary Smith $ 500
But if I try to add the hour columns it breaks it out by the week the hours was charged
column 1 Column 2 Column 3
John Doe $2000 4
2000 4
Mary Smith $ 250 5
250 5
I want it to just give me one dollar total and one hour total per employee.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Sum The Total Hours By Project Between Two Dates
I need to sum the total hours by project between two dates. There can be multiple projects and the two dates can vary. So... In column A are the project # (say A2 001, A3 001, A4 002, A5 003) In column B is Yes or No for each project (contract Signed?) In Column C through Z, row 1, are dates (shows the Monday of each week) In Column C through Z, row 2-5 (which corresponds to the projects 001, 001, 002, and 003 above) are the number of hours worked that week. On a separate tab (lets call it MonthTab) is the start and end date for each month (Jan through Dec) On a separate tab I want to SUM the hours by Month for each project (so for project 001 would need to go across multiple rows), that has a Yes in column two. Therefore the hours summed For January will be taken from MonthTab and be between StartJan and EndJan.
View Replies!
View Related
Format Total Hours To Days, Hours & Minutes
1) The output of an excel duration is : 22.00:8.00:25.00 ( day:hour:minutes ) - excel cannot average and work with this number format 2) resolution - =(LEFT(L2,4))+MID(L2, FIND(":",L2)+1,4)/24+MID(L2, FIND(":",L2,7)+1,4)/1440 as an array and Custom Format the cell as [h]:mm - works perfectly. Q: to be conistent, the initial reporting is dd:hh:mm and then I convert to hh:mm so that excel can process the data. How can I convert from hh:mm to dd:hh:mm so that the excel report can be consistent in presenting the data to senior management? example attached.
View Replies!
View Related
Returning A Value If The Dates/times In Two Cells Are Between X Amount Of Hours
I have a spreadsheet used for calculating information based on the dates specific shifts are requested/cancelled by our clients. I have a formula for working out if a date & time of cancellation is less than 48hrs notice of the shift starting. This is because we have cancellation fees based on this. What I have is this formula: =IF(A16="","",IF(INT(A16)-INT(G16)<2,1,"")) that returns a 1 if that shift is cancelled within 48hrs notice. This works fine but I have to now change the notice periods to the following: 72hrs+ - return 1 48hrs-72hrs - return 2 13.5hrs-48hrs - return 3 0-13.5hrs - return 4 edit this formula to take this into account? I figure it's using multiple IF's and changing the <2 into something else like the number of hours but I'm not sure of the exact syntax.
View Replies!
View Related
Calculation A Total Amount
I am trying to write a calc for a total an amount based on a list choice Here is the Set up Fields A1 thru A255 are number 1 to 255 Fields B1 thru B255 are number 255 to 1 Field C1 is a List box set using A1 to A255 and its list Field D1 is set as the needed Calculation When you choose a number in C1 the D1 calculation should total the amount of Fields B* to B1, * being the corrisponding B field to the A field from the list Example C1=100 (Field A100) D1=Sum of Fields B100 to B1
View Replies!
View Related
Formula To Subtract Invoices From Total Amount Available
I have 2 tables, one with invoices, the other with purchase orders. I would like to have a "PO Amount Remaining" column on the invoice table that looks up the PO listed on the invoice with the PO $ amount on the PO table. Once it is matched, I would like to subtract the total invoices to give me the amount of the PO that is left. Basically I would like the "PO Amount Remaining" column right now to have $4,200 listed in each row for invoices 1 & 2.....
View Replies!
View Related
Operational Model - Shift Start Time Plus Amount Of Hours Worked In One Cell.
Is it possible that a cell contains both numeric and alphanumeric data and to do calculations on that? For example: if a cell conatain the value "10a" or "8.5b" etc. Would it be possible to have a column that gives me the hours worked (the numeric value in the cell) and a line that gives me the amount of people that are working on shift "a" (the alphanumeric value in the cell). Is this at all possible? Or does that require VBA/Macros and stuff (in which case this is posted in the wrong part of the forum )
View Replies!
View Related
Formula That Calculates The Total Rent Amount For Particular Dates
I need a formula that calculates the total rent amount for particular dates. Example would be a formula that includes a date starting at the first of the month (October 1, 2009 to September 30, 2010) and also would include a date starting at a date later than the first (October 3, 2009 to September 30, 2010). The figures needed would be the monthly rent (ex: $1,000) and a pro rated rent amout for a lease that starts after the first of the month. The pro rated amount would also have to include the years with a leap year. I have been working on this but I know there has to be an easier way.
View Replies!
View Related
Inserting A Total Amount Field In Each Empty Row
to run a macro that enters a new row after each set of currencies (which have been sorted). I now need to enter a total balance cell within this empty row which calculates the total amount for each currency. I need to do this using the SUMIF function below: SUMIF($J$3:$J$300,"L/C",$I$3:$I$300)-SUMIF($J$3:$J$300,"L/D",$I$3:$I$300) the above basically lets me calculate the total but as no - and + signs were input it does this by recognising the 'dr' and 'cr' in the column next to the amount.
View Replies!
View Related
Prorate A Total Dollar Amount By A Selected Number Of Attendees
I need to prorate a total dollar amount by a selected number of attendees. How can I do that with code, I know the formula for excel, but how do I put that on my user form so it only does the math as a new entry is submitted? I do not want to have the formula on the spreadsheet which is my report unless there is an entry on the row, which will only be the case when a user completes the user form. I just do not want the div/# error on the sheet visible if at all possible.
View Replies!
View Related
Total Hours Between 2 Dates
I want to add the numbers of hours in a 4 week period. I have used the following formula (from this site) to total according to month but I don't seem to be able to adapt it to change it to only add hours between 2 dates or for the 28 day period. I thought maybe I should be using a SUMIF but I can't get that happening either. I have attached a simple file( I think!!) =SUMPRODUCT((TEXT($B$3:$B$61,"mm/yy")="07/07")*($C$3:$D$61))
View Replies!
View Related
Keep A Running Total Of Hours
I want to keep a running total of hours. I know what to do when I add them- if the number is positive then a payment is due, if its 0 then the employer is "Up to Date" But what if they pay me more than they owe? I owe them hours, how can I have excel know that there is a surplus and to deduct the future hours worked from the surplus until i've paid it off? I have my problem in an excel spreadsheet but I don't know how to upload so you can download it for reference.
View Replies!
View Related
Add Together The Total Hours For A Week
I am trying to add together the total hours for a given week.The spreadsheet is used to show the total hours worked from the signing off and on times given. CELL C11 CORRECTLY SHOWS THE TOTAL FOR ONE DAY AS 08:30 AND F11 AS 07:30. BUT WHEN THEY ARE TOTALLED IN CELL B13 IS SHOWS 1122:00 INSTEAD OF 16:00.
View Replies!
View Related
Incorrect Total For Summed Hours
I am stumped on a formula answer I am getting on a simple timesheet. The timesheet is set up with an In and Out column for each day and person for the entire month. A formula calculates their total hours worked on a daily basis, minus their lunch (30 minutes per day). So far, so good. The trouble comes when I try to sum the hours worked for the entire month. I am getting an incorrect total. The example I am working I am summing E3:BN3, which show the employee working 15 days in a month, 12 net hours per day. 15x12=180 hours a month. My sum total is showing up as 300:00:00. It may help to know we use a 24 hour format. I have the results cell formatted as [h]:mm.
View Replies!
View Related
Records The Total Number Of Hours
I'm trying to create a userform which calculates and records the total number of hours a user puts in, however it can not exceed 40 hrs. Dim intProject1 As Integer Dim intProject2 As Integer Dim intProject3 As Integer Dim intTotal As Integer intProject1 = txtProject1.Text intProject2 = txtProject2.Text intProject3 = txtProject3.Text intTotal = txtTotal.Text If txtTotal > 40 Then txtTotal = txtProject1.Text + _ txtProject2.Text txtProject3.Text txtTotal.Text = Format(txtTotal, "currency") Else MsgBox ["Total exceeds 40 hours."] End If If you guys could help me out I appreciate it Thanks End Sub Private Sub lblProject1_Click()
View Replies!
View Related
Formula To Calc Total Hours For Each Instance
I want to find out how many hours, in total, relate to "consolidation 1, 2, 3; Lease Renewal 1,2 3 etc. What formula can I use. I am working on a "sumif" but it's not working out for me. Hours 1 Consolidation 4.75 3 External Sublea 3 Consolidation 2 3 Special Project 2 External Sublea 1 Lease Renewal w 1 New Lease w/o T 4 1 New Lease w/o T 1 1 External Sublea 3 Lease Renewal w 1 2 Lease Renewal w .5
View Replies!
View Related
Formula To Total Hours And Minutes In A Column
I am using a formula such as =Text(A5-E5,"H:MM) to get the difference in clock-in time and clock-out time on a daily basis (Monday-Saturday). I want to add the results as a total for the week. I am not sure what formula to use to get that result. I prefer not to use decimals unless I have to. Also, the above formula does not work when the time goes past 12 midnight.
View Replies!
View Related
Format To Calculate Total Hours And Minutes
Having trouble adding a column of minutes and converting the total into hours and minutes. Say Cell A1 through Cell A18 each have 12 minutes in each cell. I want cell A19 to tell me how many hours and minutes of total time that have elapsed. I have tried hh:mm, [hh]:mm, but nothing works.
View Replies!
View Related
Subtracting Break From Total Hours Worked
This is probably a very simple problem that has me going around in circles. I am attempting to set up a time roster, where I simply want to check: If "end-time" minus "start-time" is greater than 4:00 (hrs), then deduct 00:30 (minutes) and place that result in another cell. If it is not greater than 4:00 (hrs) then leave unchanged. I have read thru countless examples on the Forum - but I think that such great learning is driving me mad. Although I do believe that I have the correct format [h].mm - but attempts with IF's have got me confused. This is one of those "Looking down the tunnel towards the flickering light" moments.
View Replies!
View Related
Trying To Add Total Hours Worked In Current Month
I'm trying to figure out what is wrong with this formula. =(SUMIF(Q14:Q4995, "<="&EOMONTH(TODAY(),0),W14:W4995))-(SUMIF(Q14:Q4995, "<="&EOMONTH(TODAY(),-1)+1,W14:W4995)). I've got a cell that adds Total hours worked which pulls from the same column of entered data as the formula above and that cell works. My hours for the month however just shows up as zero. If I try and edit the formula or even just highlight it to copy it and then tab out of the cell this shows up... 1/0/00 If I undo the highlight and tab it will go back to showing zero. I've checked my dates that I entered and they are correct. I'm at a loss as to how to fix this formula.
View Replies!
View Related
Day Hour Minute Format To Total Hours
We have a system called Datamart that outputs in excel formatted file. The output of a duration is : 22.00:8.00:25.00 ( day hour minutes ) I want to be able to add, subtract, average, calculate the 10 fastest/slowests durations from a list of durations in this same format. I have googled and tried custom formatting but excel does not like this format. when I try to sum a range and divide by the number excel gives me 0.
View Replies!
View Related
Rota - Add Up The Total Number Of Hours Per Week Per Employee
I am trying to create a rota in excel but I am struggling to get it to add up the total number of hours per week per employee. It get a little complicated as they work split shift so they may do 4 hours in the afternoon and another shift in the evening going into the next day, example they may work 11.00 am - 3.00 pm and 8.00 pm untill 2 am.
View Replies!
View Related
Convert Total Time To Days & Hours, Minutes
I have a column of tasks that take a certain amount of time to complete formated as h:mm:ss. I want to total the column and convert the total to days, hours and minutes. Is that posible and if so how do I configure a formula and format the cell? example: task 1 54:00:00 task 2 20:45:00 task 3 27:05:20 task 4 51:10:45 total 153:01:05 How many days, hours and minutes?
View Replies!
View Related
Count Duplicates As Unique Record, Sum Amount
I have a spreadsheet will a large amount of invoice numbers, some of which are multiple occurrences of the same number. I need to count the duplicates as one unique record and sum but I need to sum the total $ amount of each amount attached to each occurrence. Please look at the sample to see what I mean. W234678 has three amounts that are added to give a total amount for that number and it is added to the count as one record. I had this code kindly borrowed from someone else which helped me find the duplicates but it is not meeting my needs. Dim rCell As Range, rRng As Range, vKey, lrow As Long Set rRng = Range("F2:F199") With CreateObject("Scripting.dictionary") .comparemode = vbTextCompare
View Replies!
View Related
Sum Overtime Hours
I have a report given to me formatted as general. These are overtime hours for 5000+ associates. The time is shown as 4.52 being 4 hours and 52 minutes. If I sum 4.52, 5.1, .18... I get 9.8 when in fact it is 10hrs 20m. I need this to display as 10.2 In fact I have done it in the past but lets just say im ready for the weekend.
View Replies!
View Related
Pulling Out Hours When Sum Exceeds 24 Hrs
There is probably a simple solution to my problem that I am just not seeing because I cannot believe I'm the only one trying to pull out the number of hours after summing a column of times when the total exceeds 24 hrs. I have attached a sample spreadsheet which has columns for start time, end time and time used (ie end - start time) Originally when I totalled the column of time used, I got 20:27 hrs instead of the correct 44:27 hrs. After doing some research I found out that I had to create a custom format of [h]:mm to get it show beyond 24 hrs. However, now that I can see the 44 hrs and 27 min as 44:27, I cannot seem to pull out the 44 hrs to use it in a calculation of multiplying total time against a charging rate ($/hr) to get a total cost in $. The sum using [h]:mm is in cell F68 and I was hoping to convert this [h]:mm into a number of hrs as a decimal (ie 44:27 to 44.45 hr) by =((HOUR(F68)+MINUTE(F68)/60)) but I get back to the 20 hrs of a h:mm format. I was originally surprised that I couldn't sum a column of times and get the total time without creating a special format. But I am really surprised that it isn't intuitive to pull out the correct number of hours when it exceeds 24 hrs. I am sure that it's simple because it seems something that a lot of people would have going on in accounting type of spreadsheets. I am going to be doing a lot of summing times coming up and would appreciate suggestions. This forum helped me once before and I hope for the same results!
View Replies!
View Related
Formala To Get Total Hours Worked Not "0"
I am using this formula to calculate employers hours. =IF(COUNT(E18:F18,H18:I18)=4,24*(MOD(F18-E18,1)-MOD(I18-H18,1)),0) I have four columns i.e E=Time in , F=Time out, H=lunch in, I=lunch out Purpose of above mentioned formula is calculate total hours and to get "0" if employee forget to "time in", "timeout" or "lunch in" or "lunch out". I am trying to get "0" only if employee forget either "time in" and "time out OR "lunchin" and "Lunch out". e.g Column Column Column Column E F H I Total hours (time in) (timeout) (lunch in) (Lunch out) 1) 10:00AM 6:00PM - - 8 2) 10:00AM 6:00PM 3:00PM 3:30PM 7.5 3) 10:00AM - 3:00PM 3:30PM 0 2) 10:00AM 6:00PM 3:00PM - 0 Currently getting "0" if any of the columns missing time.Which is useless because if employee don't take lunch break then I suppose to get total hours worked not "0"
View Replies!
View Related
Cumulative Sum For Weekly Average Hours Over A Month
I have a column called "Weekly Working Hours" which totals the number of hours worked per week. The cell is filled in every Saturday. In the next column I have "Average Weekly Working Hours per Month" which needs to calculate the average number of weekly hours every four weeks, filled in every Saturday. Please see attached file. I am referring to columns J and K ....
View Replies!
View Related
Time Card & Sum Hours And Minutes
Just basic enter a start time in column A a finish time in column B and column C gives you total in hours and minutes and then maybe a way to sum those hours and minutes. how to do "Math" on time and how it should be entered (formatted) for it to work properly.
View Replies!
View Related
Get A Sum Total Based On Three Criteria
I've got a spreadsheet with headers in column A and in rows 9 and 10. The headers in column A start in row 11 and are sizes (i.e XS, S, M, etc..). The headers in row 9 start in column B and are names (ie. First, Second, Third). The headers in Row 10 can be either Net Sales or On Hand Units. There are then values starting in B11 to L19. The headers in column A do not repeat but the headers in row's 9 and 10 can repeat. What I need to do is create a function for a report page that will total all of the values that match to a particular header in column A, the header in row 9 and the header in row 10. So for example I would want to get the total for any instance when the header in column A is M, the header for row 9 is Second, the header for row 9 is Net Sales. I've attached a sample of what my data dump would look like as well as the separate reporting worksheet where I want the totals to appear.
View Replies!
View Related
|