Free Microsoft Excel 2013 Quick Reference

How to calculate Night Differential

Good Day,

I have two cells in my Excel file that contains the Start and Stop time, I was able to get the time difference between the 2 cells. Their cell format is dd/mm/yyyy 00:00 PM/AM (Custom).

I want to get the time differential (night shift) between the two cells but I can't figure it out. Night shift starts at 10:00 PM - 6:00 AM (next day), please see sample below.

C2: 08-July-2010 8:00 PM (Start)
D2: 09-July-2010 8:00 AM (Stop)

Would appreciate if you could help me build a formula to get the time accumolated for night differential.

Thank you.


Post your answer or comment

comments powered by Disqus
Dear All,
I have two dates for check in and check out and I need to calculate length of stay.
The following example:

today() is 01/17/2011

	VB:
	
A           B                 C 
check In    check out    length of stay 
01/05/2011  01/10/2011   5                     =If(ISBLANK(B2),SUM(TODAY()-A2),SUM(B2-A2)) 
01/05/2011               12 
01/05/2011  01/15/2011   10 

If you like these VB formatting tags please consider sponsoring the author in support of injured Royal Marines
How to calculate the customer count today based on checked in and not checked out yet ( column B is empty)

Thanks in advance.

ACC2000: How to Calculate Row-Level Statistics

... Microsoft Access has several built-in functions that enable you to perform statistical ... For more information about statistical formulae, click Microsoft Excel Help on the Help ...

Hi,

How to calculate total for closed order only?

Exapmel:

Or Here:
[img=http://aycu32.webshots.com/image/44751/2005401807983014304_th.jpg]

Regards.

Hello, i am new to VBA and have been trying how to figure something out in VBA now for hours... I have created a Banking program and would like to know how to calculate a monthly fee.

Heres What it looks like:

Enter Loan Amount: (TextBox1)

Enter the Amount of Months in the loan: (Textbox2)

Enter Anual Interest Rate: (TextBox3)

BUTTON: CALCULATE MONTHLY FEE!

I am trying to display the monthly fee in Listbox3!

Thank You!!

how to calculate the area under the curve in the excel?

I want to know how to calculate an unknown number based on facts.
I'm basically trying to perform algebraic equations with excel.
Could someone give me a hand with this theoretical question:
A man, when asked by his niece how old he was, replied, "My age is now four
times yours, but five years ago it was five times yours." How old was he?

How to calculate the day before last two working day of each month? e.g.,
28th of June, 27th of July, 29th of August, 28th of Sept...?

I want to know how to calculate return on an open-ended mutual fund where
investor can invest at different points of time at different NAV and offload
the investment at a certain NAV.

I am trying to set up a spreadsheet with driving test results including one
column to say pass one to say fail and calculate the percentage of each on a
monthly basis. I can enter the info but don't know how to calculate the
percentages

i would like to know to how to calculate year,month and date between to dates
Example
01/10/1977 and 10/04/2002 . i want to know the formula for getting correct
years, months and days between above dates

Hi,

I assume that you actually want to add the negative values and positive
values seperately. To compute the sum of negative values and positive
values, use the sumif funtion.

Regards,

"Dmitry Kopnichev" wrote:

> Hello
> How to calculate a pay-back period by the accumulated cash-flow
> automatically? How to count number of negative values in a row range? How to
> count ratio of a first positive value to module of the last negative value
> automatically?
>
>

I want to know how to calculate how many times did Over or Under happened in a row. For instance 6U in a row happened 5 times, 5U in a row happened 10 times etc. There is third result T, It should be skipped, like it is not there.

I also want to calculate what is the probability of happening U after 3 Us, for instance. What is the probability that 2, 3, 4 Overs or Unders happen in a row?

The data in the attached file is just small par of the data that i'll be analising .

Hi peers,

I have tickets numbers in this format (111122 , 222333,..etc) , those Tickets numbers are not considered as numbers.
what i am able to do is to count those tickets monthly / quarterly which is OK..
but what i need is how to : calculate the average of the count Quarterly = count (month1)+count(month2) + count (month3) / 3 ..

Any help will be appreciated

thanks

My Title/Question even confuses myself, so let me try and explain! I have searched for this and found some answers but nothing that fits my query exactly.

I have cell D4 and E4 that show a start time and finish time of a shift (eg D4 is 21:30 and E4 is 23:59). I have figured out how to calculate how many hours it is, and how to round the figure to the next 1/2 hour:

=ROUND(SUM(E4-D4)*48,0)/48

The problem with this is that it shows the result as 2.30, which is obviously 2hrs and 30mins, but I need to show the result as 2.50 (2 1/2 hrs) because that cell will then be linked to an hourly rate of pay.

So, how can I change it so that the result shows as 2.5?

Any help would be greatly appreciated.
Cheers
Glenn

Hello,

Ok I may have some difficulty in expressing this one, please bare with me....

We have team leaders starting at specified times (8 hr shifts):
I want to calculate total staff coverage over the teamleader 8 hr shift.
there are ptime shifts of 6hrs and fultime staff 8hr shifts

The most simple example would be:
Team leader starts at 0700 and has
3 f/t staff starting at 0700 = 3
2 staff starting at 1300 = 4hrs (1300-1500 x 2 will cross team leaders 0700 - 1500 shift))
2 pt staff starting at 1100 = 8hrs (11-1500 x 2 will cross team leaders 0700 - 1500 shift)
so total for this day would be 4.5 staff crossing his shift. Attached is a sample of how i have set up the spread sheet minus the formulas...

If you have a remote idea of what i am trying to express please check out and edit the spreadsheet at will :-)

This question is more about how to calculate than anything I guess - thanks guys...

Isabella

Dear Experts,

Can someone please advise how to calculate percentage using a aphabets?

What I mean is I want to know the percentage of the cell which says "completed" vs nothing in the cell.

I've attached the excel sheet.

Please advice.

How to calculate something using equation from Chart' directly?
I have some equation that gerenarted from the trendline in the chart (Power
equation). The other iteration want to use the formula directly from the
chart. Somehow I don't know how to do that since I can't find in the Help.

I want to know how to calculate an unknown number based on facts.
I'm basically trying to perform algebraic equations with excel.
Could someone give me a hand with this theoretical question:
A man, when asked by his niece how old he was, replied, "My age is now four
times yours, but five years ago it was five times yours." How old was he?

I have three columns, one is called "name", one is called "credit" and the other is called "current". For example:

Name Credit Current

David 50 50
John -90 -90
John 40 -50
David 30 80
Tim 30 30

The problem is how to calculate the column "current", which is the sum of all the credits of that person at that time. Can anyone shed some light on this? Thanks.

Does anyone know how to calculate the # of Sundays between two dates and also the # of Saturdays between two dates? I can't figure out how. Thanks for any help

Hello
How to calculate a pay-back period by the accumulated cash-flow
automatically? How to count number of negative values in a row range? How to
count ratio of a first positive value to module of the last negative value
automatically?

To illustrate future payments of an annuity where the
first monthly payment is $2,500 compounded annually by 3% -- I know
how to calculate what the payment will look like say in the 10th year
which is $40,317, with this formula :

P = future value
C = initial deposit
r = interest rate (expressed as a fraction: eg. 0.06)
n = # of times per year interest is compounded
t = number of years invested
>
> But I can't figure out how to calculate the total amount paid in the
> 10th year which is $425,761. I got the answer by building a
> table and summing the yearly payments as follows - but, I want a formula that will return the answer of $425,761 with the variables I have.
>
> $2,500 3% $30,000 $30,000
> $2,575 $30,900 $60,900
> $2,652 $31,827 $125,509
> $2,732 $32,782 $159,274
> $2,814 $33,765 $194,052
> $2,898 $34,778 $229,874
> $2,985 $35,822 $266,770
> $3,075 $36,896 $304,773
> $3,167 $38,003 $343,916
> $3,262 $39,143 $384,234
> $3,360 $40,317 $425,761

Thanks,

John

How to calculate with years...

IE: Date in Cell(A1) 16/12/1993
Value in B(1)= 12 (Years)

should give date 16/12/2005
-------------------
TIA
Andrew

I need to figure out how to calculate the cumulative weekly average cost of
something, accross several worksheets.


No luck finding an answer? You could always try Google.