Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default Mention the Day NOT the date please

Hi everyone,

I would like to establish a plan, that displays, the number of hours per
day. In the first Cell A1, mention the day (for instance: "Saturday" and not
the date: 16 Sept. 06). The date will not be introduced in any cell, so
nowehre.

In other words:

A1: "Monday"
A2: "Time(In): Time of arrival at work
A3: "Time(Out): Time of departure from work
A4: How many hours at 100%
A5: How many hours at 130%
A6: How many hours at 160%
A7: How many hours at 200%"

Remark100: From 07:00 - 19:00 Heures a 100%
Remark130: If one works later than 19:00 and the total number of hours is
less than 8.
Remark160: If one works later than 19:00 and the total number oh hours is
greater than 8.
Remark200: All hours done during Saturday and Sunday, during the day or the
night are equally considered at 200%.

Thanks very much for helping me
Tom
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Mention the Day NOT the date please

A4: =(AND(A1<"Saturday",A1<"Sunday"))*(MIN((A3-A2)*24,12))
A5:
=(AND(A1<"Saturday",A1<"Sunday"))*(((A3-A2)*24-A4)*(A3-A2<=TIME(12,0,0)))*
130%
A6:
=(AND(A1<"Saturday",A1<"Sunday"))*(((A3-A2)*24-A4)*(A3-A2TIME(12,0,0)))*1
60%
A7: =(OR(A1="Saturday",A1="Sunday"))*((A3-A2)*24)*200%

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Tom" wrote in message
...
Hi everyone,

I would like to establish a plan, that displays, the number of hours per
day. In the first Cell A1, mention the day (for instance: "Saturday" and

not
the date: 16 Sept. 06). The date will not be introduced in any cell, so
nowehre.

In other words:

A1: "Monday"
A2: "Time(In): Time of arrival at work
A3: "Time(Out): Time of departure from work
A4: How many hours at 100%
A5: How many hours at 130%
A6: How many hours at 160%
A7: How many hours at 200%"

Remark100: From 07:00 - 19:00 Heures a 100%
Remark130: If one works later than 19:00 and the total number of hours is
less than 8.
Remark160: If one works later than 19:00 and the total number oh hours is
greater than 8.
Remark200: All hours done during Saturday and Sunday, during the day or

the
night are equally considered at 200%.

Thanks very much for helping me
Tom



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
how to mention rows in alphetical format instea dof numbers Sampath Srinivasan Setting up and Configuration of Excel 2 October 15th 09 07:37 PM
How to mention a particular sheet name while opening excel with VB script. refina New Users to Excel 1 June 17th 08 02:32 AM
How to mention a particular sheet name while opening excel with VB script. refina New Users to Excel 2 June 16th 08 10:50 AM
Report Date - Date Recv = Days Late, but how to rid completed date MS Questionnairess Excel Worksheet Functions 1 January 24th 07 11:05 PM
How to mention a range of validation list in VBA? norika Excel Programming 2 June 15th 05 12:23 PM


All times are GMT +1. The time now is 05:49 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"