# How To Calculate The Sale And Margin Between Certain Hours

Sep 10, 2008
I have a table with daily sale entries and margins. I want a formula to calculate my sale and margin between certain hours.

The original data table is below.

Data table:

ABCDEF1DateHoursQuantityUNIT PRICESALEMARGIN201/07/0810:351-4,00-4,00-4,00301/07/0810:35122,0022,0010,05401/07/0810:5016,006,001,80501/07/0810:5016,006,001,80601/07/0811:0313,803,802,00701/07/0811:0316,806,801,67801/07/0811:0415,005,002,64901/07/0811:0733,339,993,901001/07/0811:0735,0015,008,071101/07/0811:1016,006,003,971201/07/0811:1115,605,602,971301/07/0811:1316,006,003,971401/07/0811:1412,602,601,831501/07/0811:1412,602,601,781601/07/0811:21111,6011,606,401701/07/0811:2226,0012,006,821801/07/0811:2413,503,501,471901/07/0811:28111,6011,603,952001/07/0811:4115,605,602,902101/07/0811:4115,605,602,902201/07/0811:42118,8018,806,722301/07/0811:4417,807,801,612401/07/0811:4523,507,002,942501/07/0811:4712,002,001,532601/07/0812:0113,203,201,84

The results I need:

ABCD1DATESALE BETWEENSALEMARGIN201/07/200810:00 TO 11:0030,009,65301/07/200811:00 TO 12:00148,8970,04

View 9 Replies
Nov 16, 2011

I am trying to set up a spreadsheet to calculate margin on stock positions.

There are 3 tiers, based on number of shares. My example:

400 shares in held in total.

1st 200 shs margin at 10%.

next 100 shs margin at 20%.

everything above 300 shs (ie 100) margin at 30%.

The 400 shs may be made up in any number of ways, (ie lots of smaller amounts) and i need a formula to give me the margin amount on each position, flexible enough for when positions are added / removed.

I've been looking at SUMPRODUCT but can only seem to make it work for the total, not each individual position.

View 9 Replies
View Related
Jan 25, 2005

I have a price sheet for my store in Excel. I want to make the spreadsheet easy for my sales people to use to calculate differing profit levels. I'd like to embed a drop down box at the top (I can do that part) that they can select, say, 10%...20%...30% markup. I know how to do that basic formula. I don't understand how to link that formula to a number selected in a drop down box. I don't know how to make the prices change based on the value selected in the drop down box. I can't do vlookup because it's about 1500 lines long. Also, it doesn't have to be drop down box based--that's just the idea in my head. I tried just making a macro that would run when they hit the button, but when the macro runs it switches the focus back to the top, very annoying if you were looking at prices on cell D811.

View 7 Replies
View Related
Jun 23, 2010

Is there an excel formula that can calculate a proposed selling price by entering a desired profit margin percentage and knowing the cost of goods sold?

I know that gross profit is calcualted by subtracting the cost of goods sold from the selling price and that the gross profit margin is calculated by dividing gross profit by the selling price..but not coming up with a way to back out a selling price by just knowing the cost of goods sold and entering a desire gross profit margin?

View 9 Replies
View Related
Jan 13, 2014

Lunch is not paid. Holiday and vacation hours get calculated at the regular pay rate. Overtime is anything in excess of 8 hours per day and/or in excess of 40 hours per week and/or over 5 working days per week. Saturdays for most the employees will be overtime because it will be their 6th workday of the week; but it will be regular time for one employee as it will only be his 5th workday of the week.

For accounting and payroll purposes, we need the totals to display in both hour and decimal format.

So far, I have Lunch, Regular and Overtime hours figured out, but I still need to work with Saturday, Vacation and Holiday hours. Also, currently, the time in and out has to be typed in with the colon and AM or PM. Is there another way to input the info without having to type in those items? I'm trying to make it as user friendly as possible.

View 2 Replies
View Related
Dec 29, 2013

I'm having difficulty to calculate hours between 2 or 3 days exclude non working hours.

Attached is the example of start date with time & end date with time.

The situation is like "when the case log in till the case assist in working hours." so i will get the hours from case log to case assist.

Testing.xlsx

View 8 Replies
View Related
Jan 9, 2007

I am designing a simple time card. Column D=time in, Column E=time out. My formula in column F to calculate total hours is =TEXT(E2-D2,"[h]hrs"). The result is not correct. Example: In at 9:30 out at 5:00 and the calculated total is -4 hours.

View 10 Replies
View Related
Jan 2, 2014

This is for employee time sheet and schedule. I have multiple employees work a specific shift on various days. I need the calculate the hours worked each day and then have them totaled at the end of the period. Here is and example:

Employee Monday Tuesday Wednesday Thursday Friday Saturday Sunday Total Hours Total Cost

John Smith 10-5 12-6 9-2 5-10:30 3-8:30

How do I get it to calculate the difference in the same cell, convert it to hours, add up all the results and place it in the totals columns then calculate those totals by their pay rate to get my Labor cost?

View 1 Replies
View Related
Nov 9, 2008

I'm trying to create a work sheet with start and ending times with a 30 minute meal break, for the end of the week I would like to calculate those hours as a general number.

View 2 Replies
View Related
Jan 3, 2007

I've got a spreadsheet that lists multiple pieces of equipment and when it was worked on or down. It has the following columns:

Date

Jeep #

Start Time

Stop Time

Total Repair Time

Other Downtime (which is most often blank, as below)

7/18/06.......35.....1:00 PM.....2:00 PM.......1:00

7/20/06.......33.....1:00 PM.....2:00 PM.......1:00

7/28/06.......35.....9:00 AM....11:00 AM......2:00

10/18/06.....50.....6:30 AM.....7:00 AM.......0:30

10/18/06.....33.....9:00 AM.....11:00 AM.....2:00

(I hope the ... is okay, couldn't figure out how to make the columns line up.)

I can use Sheet Two for the next part, but I don't know how to to get a total time per month for each seperate jeep. Most of the time, there will only be one record per month per jeep, like the second line above. But lines one and three are for the same jeep, and so I need the formula to add column E up only for those two lines.

View 15 Replies
View Related
Nov 25, 2009

i had a sheet with the employee name,Working Place, Designation,Starting Time & Ending Time of each employee working in a Department. I want to track the no of hours each employee worked in the Format 1 Hr: 45 Mins .

i tried to get the result by substracting the ending time from starting time and then formatted the cells using the TIME FORMAT from the FORMAT Menu>Format Cells > TIME. But i m not getting the required result. I want a vba code or formula for extracting the no of Hrs & Mins the employee worked using the above formula.

View 14 Replies
View Related
Jan 3, 2007

im doing an excel spreadsheet. on 1st sheet i have a summary page for some clients, on sheet too i have worked out and done the formula so that it calculats values i put it. i want to take this total value i have worked out (which is a variable- will change from day to day) and move this value to sheet one. from here i want the number that i show in the summary page to deduct from a fixed total in the cell nxt to it. and ideas ive tried several options coming close but no ciga

View 2 Replies
View Related
Aug 6, 2008

I am trying to get my time sheet to work out right but for some reason the formulas are a little more then what I can do. My time sheet is set up on a weekly bases. I have a regular time line, an overtime line and a total time line. an example I have is I work 12 hours a day I need an 8 to show up in the regular hours, 4 in the overtime and 12 in the total hours.

View 5 Replies
View Related
Apr 11, 2013

Just like if I put the employee's number and work time for each day,

The excel will accumulate the hours automatically somewhere in the sheet. (I don't want the total hour cover each day's work time)

Is there anyway I can do it?

View 5 Replies
View Related
Jun 4, 2014

This is for a trucking company and I want to calculate how many hours an asset has been idol. I have the dates an times of use for each asset on a tracking sheet. Each row has a different instance on when the item has been utilized. I want another column to tell me how many house have elapsed between the current "time in" from the last time out.

I have attached a file with the column I would like to add to populate itself

Hours Idol.xlsx

I suspect it will be a match and index formula

View 1 Replies
View Related
Oct 19, 2008

I want to Sum up the minutes in the particular Column, so that at the end with i put formala, the output would be X Hrs X Mins, one more thing i would like to do in it is , I want to copy paste the value of formula in next column, for eg the formula is in A6, i want value of that formula in B6.

View 4 Replies
View Related
Jun 22, 2012

Is there a way to calculate the number of hours between two times specified like this:

Start

End

Hours

Comments

Mon 6:00p

Mon 9:00p

3.00

Same day

[Code]..

I think I can write a UDF and that may be the easiest. Is there a straightforward way without a UDF?

View 6 Replies
View Related
Feb 24, 2009

I have this spreadsheet and in it the time is changed from military time to regular and then I use a formula to calculate hours worked. On some of these the total is off by one minute. Does anyone know how to fix this?

I don't know how to paste the spreadsheet so you can see formulas,

View 9 Replies
View Related
Aug 20, 2008

I have problem to calculate the time which is more than 23:00:00hrs in a file. I need to compare the benchmark time and the difference of time(start time and end time) and show pass/fail depending on benchmark set time. For few of the times which is more than 23:00:00 hrs the format is taking different(example: for 49:15:48, it is showing 02/01/1900 01:15:48 in formaula bar) for which i am not able to use formula and know pass/fail.

View 4 Replies
View Related
Oct 31, 2009

I am currently using Excel 2007 and I am trying to find a good working formula for Normal Hours worked:

I have the following code for Total Hours, Time and a Half and Double Time hours but I can't seem to get the right formula for working up to 8 hours.

Whereas C11 = Total hours added for the day.

=MOD(SUMPRODUCT(C8:C10-C7:C9),1) =Total Hours Worked

=Normal work hours between 0 to 8 hour work day.

=MIN("04:00",MAX(0,C11-"08:00")) =Time and a Half hours over 8 hours worked.

=MAX(0,C11-"12:00") =Double Time hours over 12 hours worked

View 9 Replies
View Related
Feb 1, 2007

I need to develop a work sheet for agency booked people to count the number of hours worked by them on daily basis. Agency can clock in at three different times and clock out at 6 different times. i tried but could not even develop logic to calculate the total earned hours. i attached the sheet for reference.

View 5 Replies
View Related
Apr 18, 2007

How to calculate the hours between two dynamic dates.

Rules 1: It has to calculate only office hours (Let's say 9 AM to 5 PM)

Rules 2: The starting time may fall before 9 AM, then we have to do calculation from 9 AM on the same day. (Let's say start date with time 17/04/07 7:00:00 AM, then we have to consider the date with time from 17/04/07 9:00:00 AM for the calculation)

Rules 3:The starting time may fall After 5 PM, then we have to do calculation from 9 AM on the next day. (Let's say start date with time 17/04/07 8:00:00 PM, then we have to consider the date with time from 18/04/07 9:00:00 AM for the calculation)

Rules 4: It has to exclude the Saturday and Sunday

View 4 Replies
View Related