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


ADVERTISEMENT

Set Up Spreadsheet To Calculate Margin On Stock Positions

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

Data Validation To Calculate Profit Margin

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

Excel Macro Or VBA To Calculate Desired Profit Margin Depending On Cost

Sep 12, 2013

I need to develope a macro for Excel to calculate desired profit margin depending on our cost of each item. Here's the scenario.

A1: landing cost
If 0

View 4 Replies View Related

Calculate Proposed Selling Price By Entering Desired Profit Margin Percentage

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

Calculate Hours Worked With Lunch / Overtime / Holiday / Vacation And Saturday Hours?

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

How To Calculate Hours Between 2 Or 3 Days Exclude Non-Working Hours

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

Calculate Hours Between Date And Time Within Business Hours?

Apr 4, 2013

find a formula that will calculate the hours between the two below values but only take in to consideration the business hours (from 9 to 17) and exclude any weekends?

08/03/2013 13:32:00
02/04/2013 09:32:50

View 4 Replies View Related

Calculate The Hours

Jun 16, 2009

How to calculate the Hours
Check the attached file

View 5 Replies View Related

Calculate Hours

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

Calculate Hours Between Two Times Per Day And Add Them Up?

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

Calculate Duration Of Hours

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

Calculate Hours Between Two Dates

Jan 1, 2010

I would like to calculate the total hours between two dates using a unique formula and without inserting new columns. I have attached an example of the data I'm working with.

View 4 Replies View Related

Calculate # Of Hours & Minutes

Aug 31, 2009

Cell D2 (Receiving) : 8/17/2009 17:19
Cell E2 (Dispatch) : 8/18/2009 10:33

I need to know the number of hours and minutes between the two (E2 - D2) in Hr:mm format.

View 4 Replies View Related

Calculate Hours For Various Equipment

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

Calculate Working Hours

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

Formula To Calculate Hours

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

Calculate Overtime Hours

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

Calculate Each Employee Work Hours

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

Calculate Number Of Idol Hours?

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

Rota - Calculate The Hours Every One Has Done Each Week

Nov 19, 2007

way to calculate the hours every one has done each week to make sure everyone has done the correct hours. I was about to start using a calculator and then realised it would take forever.

I've included a zip file of the excel file

View 14 Replies View Related

Calculate Hours: Sum Up The Minutes In The Particular Column??

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

How To Calculate Number Of Hours Between Two Times

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

Formula To Calculate Hours Worked

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

Calculate Times Greater Than 24 Hours

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

Calculate Normal Working Hours

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

Macro To Calculate Hours Worked

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

Calculate The Hours Between The Two Dynamic Dates

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

Calculate Total Hours Past 24

Aug 17, 2007

Is there a method to calculate the total number of hours in excel. In my attached file, the excel treat the 24 hours as time and recalculate from 0 hour.

View 2 Replies View Related

Calculate Total Hours Per Week Per Schedule

Dec 14, 2013

Please refer to attached sheet.

I am using the attached to schedule the employees. All I want is a formula to add up all schedule hours per week per schedule in cell R2,R3 and R4.

Book2.xlsx‎

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved