LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
 
Posts: n/a
Default calculating time with text

I am trying to get my spreadsheet to calculate hours paid for an
employee but I need it add overtime and subtact how late they were as
well. I have it in text format and need it to calculate in time
format. I am also trying to get it to read each cell. Is there any
way I can get to read each cell and calculate the time.


The formula you see here is what I am using.


COUNTIF(F6,"P*")/6 +
COUNTIF(G6:J6,"p*")/4.8 +
COUNTIF(G6:J6,"eh*")/4.8 +
COUNTIF(G6:J6,"mu*")/4.8 +
COUNTIF(G6:J6,"l*")/4.8 +
COUNTIF(G6:J6,"el*")/4.8 +
IF(RIGHT(G6,4) =3D "0:15",RIGHT(G6,4),0) +
IF(RIGHT(H6,4) =3D "0:15",RIGHT(H6,4),0) +
IF(RIGHT(I6,4) =3D "0:15",RIGHT(I6,4),0) +
IF(RIGHT(J6,4) =3D "0:15",RIGHT(J6,4),0) +
IF(RIGHT(G6,4) =3D "0:30",RIGHT(G6,4),0) +
IF(RIGHT(H6,4) =3D "0:30",RIGHT(H6,4),0) +
IF(RIGHT(I6,4) =3D "0:30",RIGHT(I6,4),0) +
IF(RIGHT(J6,4) =3D "0:30",RIGHT(J6,4),0) +
IF(RIGHT(G6,4) =3D "0:45",RIGHT(G6,4),0) +
IF(RIGHT(H6,4) =3D "0:45",RIGHT(H6,4),0) +
IF(RIGHT(I6,4) =3D "0:45",RIGHT(I6,4),0) +
IF(RIGHT(J6,4) =3D "0:45",RIGHT(J6,4),0) +
IF(RIGHT(G6,4) =3D "0:60",RIGHT(G6,4),0) +
IF(RIGHT(H6,4) =3D "0:60",RIGHT(H6,4),0) +
IF(RIGHT(I6,4) =3D "0:60",RIGHT(I6,4),0) +
IF(RIGHT(J6,4) =3D "0:60",RIGHT(J6,4),0) -
IF(OR(AND(LEFT(G6,1)=3D"L",RIGHT=AD(G6,4)=3D"0:08 ",RIGHT(G6,4)<"0:=AD23"),=
RIGHT(G6,4)=3D"0:15"),"0:15=AD",0)

-
IF(OR(AND(LEFT(G6,1)=3D"L",RIGHT=AD(G6,4)=3D"0:23 ",RIGHT(G6,4)<"0:=AD37"),=
RIGHT(G6,4)=3D"0:30"),"0:30=AD",0)

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cells formated as numbers are calculating like text MM_BAM Excel Discussion (Misc queries) 4 July 7th 05 01:29 AM
Time from Text BenjieLop Excel Discussion (Misc queries) 3 May 26th 05 06:58 AM
unmet challenge boris Excel Worksheet Functions 2 March 16th 05 02:13 PM
Calculating Time in XP takes forever Dan Excel Discussion (Misc queries) 3 December 22nd 04 10:06 PM
Calculating effective time from start/end date+time Stefan Stridh Excel Worksheet Functions 8 November 27th 04 03:50 PM


All times are GMT +1. The time now is 06:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"