Calculating Order Entry Times With A Multiplier
Sep 16, 2009
B2: =SUMPRODUCT(--(INT('Order Entry'!$B$2:$B$37)=Summary!$A2) )
C2: =SUMPRODUCT( (INT('Order Entry'!$B$2:$B$37)=Summary!$A2) * 'Order Entry'!$A$2:$A$37) / Summary!B2
D2: =MIN(IF(INT('Order Entry'!$B$2:$B$37)=Summary!$A2, 'Order Entry'!$A$2:$A$37))
E2: =MAX(IF(INT('Order Entry'!$B$2:$B$37)=Summary!$A2, 'Order Entry'!$A$2:$A$37))
The overall picture is an order tracking sheet that has start times in column B, end times in column C, number of jobs in an order number in column D and the processing time in column A. On the Summary sheet I have dates listed for each workday.
Next to these dates I am wanting a formula that will traverse through column B of the Custom and Order Entry sheets and provide the number of orders and average processing time that match this. There can be multiple jobs per order number so it needs to order the Sumproduct by column D for each.
View 4 Replies
ADVERTISEMENT
Oct 4, 2013
I have a user form and in my code I am using the Erow function
EROW = Sheet1.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Row
the form works fine and is loading the data to the spreadsheet and inserting it into the first empty row. I need to reverse the order of entry into the spreadsheet. So instead of the data from the form going into the first empty row down the spreadsheet, I need to insert the data in a common fixed row at the top of the sheet, every time and then shift the older data out of the row and down the sheet. Essentially putting the oldest data at the bottom and the newest at the top, which is reverse of the EROW entry process, Last row command would essentially do the same thing and I don't know what command would do what I want.
View 6 Replies
View Related
Sep 23, 2009
I am building Food Stand Orders Record Table, which I would like to automate and reduce the data entry process as much as possible so that it will take as long to enter all 400 orders into the spreadsheet and mitigate errors and calculate totals. I am looking for ideas as to how to make this easier to update. Also, I am not set on the concept of the spreadsheet, if there is a better way to capture this data.
Below is a list of columns in my Order Record Spreadsheet: My spreadsheet start on A5. The Header row is A5:N5
No. = record input number
Order # = The number of the order taken (i.e. 35306 – 11, 35306 – 12)
Item = The Items sold from each order #
Item Category = Was the item sold a special order or standard order
Date = The date the items and orders were sold
Time = The time the order was taken
Quantity = how many of the item was sold for that order #
Order Taker = record of who (order taker) took the order #
Item Price = What is the price of one unit x the quantity of the item sold
Total Order = What is the total cost of each item price associated with the same order #
Cash Received = We only accept cash, what was the cash tendered with the order#
Change = What is the change amount given to back to the customer associated with the order #
Donation Received = Is the change amount, When customer associated with order# did not accept the Change.
Notes = special notes related to the order#
View 15 Replies
View Related
Nov 24, 2009
I had an excellent response last time I posted here, this time I’m stuck again with a new formula. I’m trying to calculated amounts between different times, but keep tying my self in knots with complicated IF formulas.
Is there an easier way to work out hours worked between 2 times, but too complicated things further I need three separate amounts so I’m guessing I’ll need three separate formulas
Hours between 00:00 – 06:00
Hours between 06:00 – 19:00
& hours between 19:00 – 00:00
An example could be, 05:00 – 20:00 should be 1,13,1
View 11 Replies
View Related
Apr 2, 2009
In Column B I have dates and in column C I have values correponding to the dates in B.
In Column J I have dates and in column L I have values correponding to the dates in J.
The first date entry in column B and J are equal but after that it is different based on a workday formula adding months, years, days etc. etc.
B31 = 06-apr-09 and J31 = 06-apr-09
B32 = 06-apr-10 and J32 = 06-Oct-09
B33 = 06-apr-11 and J33 = 06-apr-10
B34 = 10-apr-12 and J34 = 06-Oct-10
B35 = 08-apr-13 and J35 = 06-apr-11
B36 = 07-apr-14 and J36 = 06-Oct-11
J37 = 10-apr-12
J38 = 08-Oct-12
J39 = 08-apr-13
J40 = 07-Oct-13
J41 = 07-apr-14
As may notice column B adds 1 year to the previous date while column J adds 6 months to the previous date. (This is changing and B can add 1 month while J adds 3 months etc. etc.
I need a formula in column N that will look at the dates in column B and in column J and list them in column N in ascending order while not taking into account double entries.
View 9 Replies
View Related
Dec 30, 2007
I found the following code which works fine until I start to select multiple cells in cell B for deletion etc. At this point it throws up a run-time error 13 type mismatch, which will cause problems when other people start to use the spreadsheet.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column <> 2 Then Exit Sub
If Target.Offset(0, -1) = "" Then
Target.Select
Application.EnableEvents = False
Target = ""
Application.EnableEvents = True
MsgBox ("You must enter Atlas Part No. first")
End If
End Sub
View 2 Replies
View Related
Apr 13, 2009
=C4+(0.3*(C5-((C2-1)*C3)))
Where C4 is 'Qualifying time', C5 is 'Starting fuel', C2 is 'Lap number' and C3 is 'Fuel consumption'. I also plan to make the 0.3 a changeable variable.
I'm not fussed as to whether or not this is a realistic function that would work in a real race, it's only hypothetical. However I would like to have a function that would give me the over all race time at any given lap, not just the lap time for it.
View 7 Replies
View Related
Apr 10, 2014
I would like to add up multiple time in and time out for my pay sheet.
As you can see, the total hours worked for Weed A is correct, but the Total Hours Worked for Monday is incorrect. The forumla I am currently using is:
=((B12-A12)*24)+((B13-A13)*24)+((B14-A14)*24)
But I would just like the total hours worked for each day to be the actual hours (2.5 hours).
View 2 Replies
View Related
Aug 3, 2008
we work 8hrs 30mns for 4 days 7hrs 30mns for 1 day this is monday to friday
using Excel i need a formula that will add the following:-
a1 8.30
a2 8.30
a3 8.30
a4 8.30
a5 7.30
total 41.30
View 3 Replies
View Related
Mar 29, 2007
I am trying to calculate the difference between a scheduled start time and an actual start time. If the actual start time is greater than the scheduled start time a negative time (hh:mm:ss) should be returned. instead the cell is populated with #############....
I have tried to reformat using the custom formats, but the only options in excel 97 are for either standard numerics or £ (these return a minus figure).
I've had a look at the time functions but could not see a suitable one.
I'm sure there is a simple format solution to this.
View 3 Replies
View Related
Oct 14, 2013
I am trying to create a booking calculation sheet for facilities. I want it to create something like a quote for customers. So when booking facilities, the hourly rate changes after 6pm. What I want to do is to put in a start time and a finish time and it calculate how many hours are before 6pm and charge them at $12 per hour, as well as how many hours after 6pm and charge them $18 per hour. I have tried a few things but they don't seem to work. I'm struggling with the logic of it really. This is mainly because the start time may or may not be before 6pm, as too the finish time.
View 6 Replies
View Related
Apr 30, 2014
calculating project completion % based on Project start date and end dates .
View 5 Replies
View Related
Mar 12, 2009
i want to calculate the TAT between two times. the TAT target is <= 2 hours. i used the following formula
a1 has 3/13/2009 (received date)
b1 has 7:08 AM (received time)
c1 has 3/13/2009 (completed date)
d1 has 9:08 AM (completed time)
e1 has TAT formula :- '=IF((D1-B1)*1440<=120,"Met TAT","Not Met TAT")
however this formula does not work in the following conditions.
In these conditions, it is considered that TAT is met.
1. When the difference in time is <=2 hours .... for TAT calculation, on working days and working hours are taken into consideration.
To illustrate.
Day begins : 8:00 AM
Day ends : 4:00 PM
If job is received at 3:30 PM and completed the next working day by 9:30 AM, then it is considered TAT is met.
calculation = 4:00 PM - 3:30 PM = half hour + next day's 9:30 AM - 8:00 AM = 1.5 hours, therefore, total working hours used to complete the job is within the agreed TAT.
If job is received and completed on non working days and during non working hours, it is considered TAT met.
If job is received almost at the end of the day, say, 3.30 PM and job is completed at 8:00 PM same day, then it is considered TAT met, rationale, only half an hour of working hours used to complete the job.
View 11 Replies
View Related
Nov 11, 2013
I need to calculate the amount of time it takes to pick up a document whilst taking into account:
- If the document was submitted before 9am or after 5pm, I need the pick up time to count from only 9am
- If the document was submitted on a different date to the pick up date, I need to factor in the days inbetween into the calculation (eg, if the document was submitted on 1st Jan at 9am, but wasn't picked up until 10am on 3rd Jan, the time to pick up would be 17 hours in total)
- If the document was picked up outside of the SLA hours, I only need to count up to the SLA starting/ending (eg, if something was submitted at 4.50pm and picked up at 8am the next day, the pick up time would be 10mins)
I've tried multiple ways of doing this and as soon as I think I have it cracked, I get an error. Below is a sample of the table I am working with:
Submit date
Submit time
Pick up date
Pick up time
Time to pick up
3/11/13
09:50:42
5/11/13
12:03:14
??????
6/11/13
11:13:54
6/11/13
14:14:31
?????
View 4 Replies
View Related
Sep 25, 2006
i need to get a formula that will calucate hours and min. its for how many hours the employee has not worked. some of them would be strait hours some would be just min there is no way to tell.
example
lates 2 hours
anp(absent no pay) 12 hours
sicks 55.5 hours
no calls
early outs 21 min
(this is just an example if it were real this person would be fired)
i know this adds up to 69.85 hours but i can't fuiger out a way to get it to calucate in excel. i know i could have it all changed to min and then devied by 60 to get the hours but how do i get it to read what is mins and whats hours?
View 7 Replies
View Related
Aug 10, 2009
I need to calculate the difference between a start time and end time in hours and minutes.
Start
01/07/2008 11:40
End
01/08/2008 19:28
Start and End columns are formatted as 'Custom' m/d/yyyy h:mm.
I'm not sure what formula to write to calculate the hours and minutes between the two times. Everything I've tried doesn't count over 24 hours. Also what do I format the result cell as?
View 3 Replies
View Related
Aug 21, 2013
It will be easier to explain in an example:
A B
Time (hh:mm:ss) Digital
1 10:03:00 0
2 10:03:01 0
3 10:03:02 1
4 10:03:03 1
5 10:03:04 1
6 10:03:05 0
[code]....
From the data above I am searching for the duration of when the digital column says '1', i.e my function = A5-A3 which would output 2 secs or 00:00:03 & likewise A9-A8.
The problem I have is that the digital signal is staggered and does not always have the same frequency. I have over 6848 lines of time to check so to do this manually would take me all day.
View 8 Replies
View Related
Sep 20, 2013
I'm currently working on a rota for which I would like the worksheet to automatically tell me how many staff members I have beginning their shift before 9am and those finishing after 7pm. I currently have this working via a very crude set of IF statements for each staff member for each day of the week, returning 1 if true and 0 if false. Then I have a sum statement at the bottom of each day. Is there a much tidier and simpler way for me to calculate this?
I've attached the worksheet. A quick note is in Q52.
View 3 Replies
View Related
Feb 22, 2010
I have a number of processes that I would like to calculate the finish times of.
For example, Process A may take 18 hours to complete, Process B may take 28 hours to complete and Process C may take 125 hours to complete etc
However these processes only run during certain times, i.e. 9am to 5pm.
Ideally I would like to setup a spreadsheet that when given the start time and process time calculates the (date and) time the process will finish.
I can get it to work on a 24 hour day but I've been tearing my hair out trying to take out the none-working part of the day (the 5pm to 9am).
View 9 Replies
View Related
Feb 12, 2014
I am trying to come up with a formula that calculates total time someone has worked in a day. The scenario is an individual will work at a home and start working with an individual. Their start/end times look like this in a pivot:
Min Start Max Start Min End Max End
Location A+Counselor A 8:56 AM4:01 PM 1:11 PM 7:00 PM
Location A+Counselor B 12:00 AM 8:00 PM 6:00 AM 11:59 PM
Location B:Counselor C 7:00 AM 12:00 PM 2:00 PM 4:00 PM
Location C+Counselor D 8:00 AM 8:00 AM 4:00 PM 4:00 PM
Some people work split shifts while others work a straight shift. The formula I created was this:
=IF(OR(B9=C9,E9=D9,D9=C9),E9-B9,IF(D9>C9,((E9-D9)+(C9-B9)),IF(C9>D9,((D9-B9)+E9-C9),"New Formula Needed")))*24
(I use a pivot table to show max min for start and end times)
This works great except for the individuals that have multiple punches during the same time frame. The one scenario I am having trouble solving for is when someone punches in more than once during their shift displaying. This occurs when a counselor starts a shift working with one person but then adds another person mid shift. An example of this could be:
Location A+Counselor E Min Start Max Start Min End Max End
Consumer 1 1:00 PM 1:00 PM 8:30 PM 8:30 PM Total Time: 7.5
Consumer 2 12:00 PM 12:00 PM 2:35 PM 2:35 Pm Total Time: 2.6
Pivot says that they worked a total of 10.1 because it is grabbing the max and mins and calculating. The actual total time worked is 8.5 hours in reality.
The raw data comes in like so:
Location Counselor Consumer Start Time End Time
A A A 1:00 PM 8:30 PM
A A B 12:00 PM 2:35 PM
A A C 12:00 PM 5:00 PM
Is this solvable with a formula?
View 1 Replies
View Related
Apr 18, 2013
Calculating Lead time (in hours) between two dates/times, excluding holidays and weekend
Start Time
End Time
Lead Time
12/26/2012 15:50
1/2/2013 12:38:00
??????????
View 4 Replies
View Related
Feb 26, 2014
Here is the Formula.
=SUMIF(***!$F$6:$F$951,B16,***!$G$6:$G$951)
excel screen shot.PNG
This is the page it is referencing to.
PO screen shot.PNG
This is where the formula is. It is in "I16"
What I want to do is Take this and add in the multiplier from column "H" in the "***" page. I need to change the name of that tab, I am not trying to be foul. I just use that short for assembly. It looks bad, but usually, I'm the only one that sees it.
Basically, I want to take the material qnty and multiply it by the multiplier and put that in the box on the po page that accumulates the material.
View 14 Replies
View Related
Jun 14, 2013
I have a spreadsheet using a SUMIF formula =SUMIF(G:G,A2,D:D) that is working fine.
However, I wish to introduce a "multiplier" column (E). That is, if the corresponding row has a figure in the E column I wish to multiply that figure with the corresponding figure in D.
D E G
6 5 A
5 0 B
4 0 A
A = 6 x 5 + 4 = 34
B = 5
View 3 Replies
View Related
Nov 10, 2007
this formula and have tried various nested ifs and I can come up with a formula that works. What I am trying to do it to is detirmine what my multiplier should be based on a range of numbers. Let me try and explain lets say A1 is a number and B1 is a number and I need the Formula for C1.
If B1 is between 0 and 5 multiply A1 by 2 if B1 is between 5 and 10 multiply A1 by 4. and so on and so on. Is there an easy formula for this? I know it might be trivial but im stumped for some reason.
View 9 Replies
View Related
Mar 20, 2014
I have a percentage in R3.
If I make an entry in D13 then I want the R3 to be duplicated into C27 otherwise C27 should be 0.
View 4 Replies
View Related
Nov 29, 2008
I looked at threads realted to printing but wasn ot able to find something similar to what I need. So here is my problem:
I have a file with more than 100 worksheets (each sheet contains the invoice for one store). I would like to create a macro that would enable me to determine the order in which worksheets would be printed. How to do it?
Idea #1: the printing order would be based on the value in cell L1 that would contain the route number for each store. Stores belonging to the same delivery route will have the same value in L1. So, the macro should first print all sheets with 1 in cell L1, then print all sheets with 2 in cell L1 and so on...
Idea #2: Creating a separate data sheet with the list of all stores and their corresponding route number. Let's say info is contained in range A1:B150, where Column A contains the name of the stores and column B contains the route numbers. The macro then should look at that list to determine the printing order of the subsequent worksheets (the name of the store in column A would be the same as the name of the worksheet corresponding to that store).
Idea #3: sorting my 150 worksheets manually. It does not solve my problem fully, though, because stores do not always belong to the same route. So the manual sorting should be carried out daily and would not save time at all.
View 9 Replies
View Related
Mar 1, 2008
I need a way to re-order an excel worksheets columns based on another worksheet.
Data is extracted from a database into excel however users can configure the columns in the initial system. to how they like This causes problems when the data is copied into an excel spreadsheet I have created as the data copied will not be in the same column order as is required.
How can i reorder the columns without physically having to cut and paste the columns to match?
I have attached a sample spreadsheet.
You will see on the spreadsheet that 'fixed columns' is the order that i require the data however 'variable columns' is not in the same order.
View 3 Replies
View Related
Sep 11, 2013
I am having a sheet where I keep track of when online surveys have been sent to users. The users enail address (column K) may be on the list for several times, but I need to make sure that there is at least a 7 days pause between sending the first mail and the second, depending on the visit date (column G).If there are less than 7 days between two entries with the same email address, the user is not qualified for taking another survey.
I was thinking to write an IF formula which returns either 1 or 0 and then let conditional formatting highlight and HIDE the row via a VBA loop.
View 3 Replies
View Related
Mar 14, 2014
Is there a formula that will allow me to look for the existence of any number value in a row of one worksheet and then return a specific number value in a cell on another worksheet? For example, if the formula finds any number value it will always return the number 15 to a cell on another worksheet.
View 3 Replies
View Related
Feb 23, 2010
In my workbook I have about 20 sheets (less in the attached sample), and on most sheets I’d like to query data for each day and find an average value based on the time and then copy that result into another sheet. I’m not sure if I’ll need 2 macro’s for this or if one can be used.
Here’s a quick description:
Assuming that I am currently in the sheet I want to run the macro, then I will either input “1:45” or “0:45” into a popup box, or I could always simply input the 1:45 or 0:45 in the code itself. I’m flexible
1:45:
If I input 1:45, then I’d like the macro to find the first 1:45 in Column B and the value in the same row in Column F will be used in the calculation. Once 1:45 is located, then the macro moves up to find 22:45 in Column B and the value in the same row in Column F will be used in the calculation.....
View 11 Replies
View Related