Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Keeping records for working hours with excel

Hi

I've made working hour record keeping tool with excel. This is how it
looks. It works well,
but I would like to know how it would be possible to create easier.

DATE DAY HOURS1(E) HOURS2(G) SALDO1(H) SALDO2(I)
-----------------------------------------------------------------
21.3.2007 Ke 6:06 6,10 -36,90 -36:54


My sheet is used by typing in HOURS1 value, which is actual working
hours in
format HOURS:MINUTES.

HOURS2 is created by excel using formula:
=IF(E79="";"";HOUR(E79)+MINUTE(E79)/60)

SALDO1 using formula(7,5 is my normal working hours):
=IF(E79="";"";H76+G79-7,5)

SALDO2 using formula:
=IF(H79="";"";IF(H79<0;"-"&INT(ABS(H79))&":"&IF(LEN(INT((ABS(H79)-INT(ABS(H79)))*60))=1;"0"&INT((ABS(H79)-INT(ABS(H79)))*60);INT((ABS(H79)-INT(ABS(H79)))*60));INT(ABS(H79))&":"&IF(LEN(INT(( ABS(H79)-INT(ABS(H79)))*60))=1;"0"&INT((ABS(H79)-INT(ABS(H79)))*60);INT((ABS(H79)-INT(ABS(H79)))*60))))

Is there easier way to convert time in decimal format back to time
format. Even if that time is
negative value.

Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default Keeping records for working hours with excel

=IF(H79<0;"-";"")&TEXT(ABS(H79)/24;"[h]:mm;;;")

On 26 Mar, 07:32, Lauri Kelo wrote:
Hi

I've made working hour record keeping tool with excel. This is how it
looks. It works well,
but I would like to know how it would be possible to create easier.

DATE DAY HOURS1(E) HOURS2(G) SALDO1(H) SALDO2(I)
-----------------------------------------------------------------
21.3.2007 Ke 6:06 6,10 -36,90 -36:54

My sheet is used by typing in HOURS1 value, which is actual working
hours in
format HOURS:MINUTES.

HOURS2 is created by excel using formula:
=IF(E79="";"";HOUR(E79)+MINUTE(E79)/60)

SALDO1 using formula(7,5 is my normal working hours):
=IF(E79="";"";H76+G79-7,5)

SALDO2 using formula:
=IF(H79="";"";IF(H79<0;"-"&INT(ABS(H79))&":"&IF(LEN(INT((ABS(H79)-INT(ABS(H*79)))*60))=1;"0"&INT((ABS(H79)-INT(ABS(H79)))*60);INT((ABS(H79)-INT(ABS(H79*)))*60));INT(ABS(H79))&":"&IF(LEN(INT( (ABS(H79)-INT(ABS(H79)))*60))=1;"0"&I*NT((ABS(H79)-INT(ABS(H79)))*60);INT((ABS(H79)-INT(ABS(H79)))*60))))

Is there easier way to convert time in decimal format back to time
format. Even if that time is
negative value.

Thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Keeping records for working hours with excel

To convert a time in hh:mm to decimal just multiply by 24 and fomat cell as
GENERAL.

A1=07:30
B1=A1*24 (=7.5)

HTH

"Lauri Kelo" wrote:

Hi

I've made working hour record keeping tool with excel. This is how it
looks. It works well,
but I would like to know how it would be possible to create easier.

DATE DAY HOURS1(E) HOURS2(G) SALDO1(H) SALDO2(I)
-----------------------------------------------------------------
21.3.2007 Ke 6:06 6,10 -36,90 -36:54


My sheet is used by typing in HOURS1 value, which is actual working
hours in
format HOURS:MINUTES.

HOURS2 is created by excel using formula:
=IF(E79="";"";HOUR(E79)+MINUTE(E79)/60)

SALDO1 using formula(7,5 is my normal working hours):
=IF(E79="";"";H76+G79-7,5)

SALDO2 using formula:
=IF(H79="";"";IF(H79<0;"-"&INT(ABS(H79))&":"&IF(LEN(INT((ABS(H79)-INT(ABS(H79)))*60))=1;"0"&INT((ABS(H79)-INT(ABS(H79)))*60);INT((ABS(H79)-INT(ABS(H79)))*60));INT(ABS(H79))&":"&IF(LEN(INT(( ABS(H79)-INT(ABS(H79)))*60))=1;"0"&INT((ABS(H79)-INT(ABS(H79)))*60);INT((ABS(H79)-INT(ABS(H79)))*60))))

Is there easier way to convert time in decimal format back to time
format. Even if that time is
negative value.

Thanks in advance.


Reply
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
Keeping cell data with records from a query Secret Squirrel Excel Discussion (Misc queries) 0 January 23rd 07 05:41 PM
How do I make a ledger for keeping records of church dues spenn Excel Discussion (Misc queries) 6 March 15th 06 09:47 PM
working excel files keeping on desktop Eddy Stan Excel Worksheet Functions 1 February 17th 06 12:42 PM
how do I set a record keeping template for church records? Toopay Excel Discussion (Misc queries) 0 January 14th 06 06:59 PM
Can I use Excel to add hours and minutes like keeping a dive log? BobL Excel Discussion (Misc queries) 1 August 3rd 05 01:40 PM


All times are GMT +1. The time now is 12:00 AM.

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

About Us

"It's about Microsoft Excel"