How do i give the word "CLOSE" a value?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to make it so that the word close is equal to 1:00 AM... I can get 2
different cells to do that... but i need for example cell C3 to say close...
but the word close is equal to 1:00 AM so that my formula can still calculate
how many hours are workd

example

(what i have)
IN OUT
5:00 PM 1:00 AM = 8

(what i need)
IN OUT
5:00 PM CLOSE = 8

the word CLOSE needs to equal 1:00 AM

please advise
 
=SUM((C8<B8)+C8-B8)+((E8<D8)+E8-D8)+((G8<F8)+G8-F8)+((I8<H8)+I8-H8)+((K8<J8)+K8-J8)+((M8<L8)+M8-L8)+((O8<N8)+O8-N8)


that's the formula i'm using... is there an easier way to do it???
 
A) No need for SUM, just
=(C8<B8)+C8-B8)+((E8<D8)+E8-D8)+((G8<F8)+G8-F8)+((I8<H8)+I8-H8)+((K8<J8)+K8-J8)+((M8<L8)+M8-L8)+((O8<N8)+O8-N8

BE) Insert | Name | Define
Name: Close
Refers to: =TIME(1,0,0)

best wishes
 
I could suggest a way to use "Close" as 1:00 AM, but not in the way you're
configuring your time sheet to be horizontal.
Normally, the days are vertical, with a daily calculation, which is then
totaled for the week at the bottom of a column.

With a daily calculation, I could easily suggest a way to test for "Close"
as being an "OUT" value, and reference a formula to evaluate it to a
particular numeric value.

If you're set in your design, then I can't suggest anything ... Sorry!
 
Back
Top