Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default Excell spreadsheet formula

I have a worker who gets $10 daily for a job, but he's got to be there
promtly @7:30am. For each 5 minutes late, $1.00 is docked.

I'd like to be able to enter into the cell 7:33am and this will bring up
$9.00. 7:37am 8.00 and so on.

Any help for setting this up would really be appreciated.

Thanks all
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Excell spreadsheet formula

Hi,

First, you are underpaying your people.

Here is a formula that does that:

Assume that the 7:30 is entered in B1 and 7:33 is in C1 then:

=10-IF(C1B1,ROUNDUP((C1-B1)*24*60/5,0),)


--
Thanks,
Shane Devenshire


"Larry" wrote:

I have a worker who gets $10 daily for a job, but he's got to be there
promtly @7:30am. For each 5 minutes late, $1.00 is docked.

I'd like to be able to enter into the cell 7:33am and this will bring up
$9.00. 7:37am 8.00 and so on.

Any help for setting this up would really be appreciated.

Thanks all

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Excell spreadsheet formula

Secondly.........if worker is 41 minutes late gets paid nothing for the day.

Not much incentive to show up in that case.

Hope you have an abundance of workers waiting in the wings.

But maybe in the third-world country where you pay $10.00 a day there might be
many starving people willing to be called.

I'm just hoping this was example only.


Gord Dibben MS Excel MVP

On Wed, 24 Jan 2007 14:51:05 -0800, ShaneDevenshire
wrote:

Hi,

First, you are underpaying your people.

Here is a formula that does that:

Assume that the 7:30 is entered in B1 and 7:33 is in C1 then:

=10-IF(C1B1,ROUNDUP((C1-B1)*24*60/5,0),)


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default Excell spreadsheet formula

Hi, guys. Very nice of you in replying so fast and trying to help me.

1. Perhaps I didn't explain enough. It's daily but only for like 45 min. or
so. The job is basically sitting doing NOTHING. But I need it for something.
2. And yes, if he's 41 minutes late..........well he/she might stay
home.......lol.

3. This is what I entered in a seperate cell and it returns 0:00.
=10-IF(D12C12,ROUNDUP((D12-C12)*24*60/5,0),)

d12= 7:30am
c12 = 7:33am

What did I do wrong?

Thanks again all.


"Gord Dibben" wrote:

Secondly.........if worker is 41 minutes late gets paid nothing for the day.

Not much incentive to show up in that case.

Hope you have an abundance of workers waiting in the wings.

But maybe in the third-world country where you pay $10.00 a day there might be
many starving people willing to be called.

I'm just hoping this was example only.


Gord Dibben MS Excel MVP

On Wed, 24 Jan 2007 14:51:05 -0800, ShaneDevenshire
wrote:

Hi,

First, you are underpaying your people.

Here is a formula that does that:

Assume that the 7:30 is entered in B1 and 7:33 is in C1 then:

=10-IF(C1B1,ROUNDUP((C1-B1)*24*60/5,0),)



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Excell spreadsheet formula

Larry

Did you enter the times in C12 and D12 as times?

If you entered then as 7:30am Excel sees that as text, not a time.

C12 7:30:00

D12 7:33:00

Shane's formula in E12 returns 9

Thanks also for clearing up about the job duration.

Now we can back off with the critiques about you being a cheapskate<g


Gord

On Wed, 24 Jan 2007 15:47:03 -0800, Larry
wrote:

Hi, guys. Very nice of you in replying so fast and trying to help me.

1. Perhaps I didn't explain enough. It's daily but only for like 45 min. or
so. The job is basically sitting doing NOTHING. But I need it for something.
2. And yes, if he's 41 minutes late..........well he/she might stay
home.......lol.

3. This is what I entered in a seperate cell and it returns 0:00.
=10-IF(D12C12,ROUNDUP((D12-C12)*24*60/5,0),)

d12= 7:30am
c12 = 7:33am

What did I do wrong?

Thanks again all.


"Gord Dibben" wrote:

Secondly.........if worker is 41 minutes late gets paid nothing for the day.

Not much incentive to show up in that case.

Hope you have an abundance of workers waiting in the wings.

But maybe in the third-world country where you pay $10.00 a day there might be
many starving people willing to be called.

I'm just hoping this was example only.


Gord Dibben MS Excel MVP

On Wed, 24 Jan 2007 14:51:05 -0800, ShaneDevenshire
wrote:

Hi,

First, you are underpaying your people.

Here is a formula that does that:

Assume that the 7:30 is entered in B1 and 7:33 is in C1 then:

=10-IF(C1B1,ROUNDUP((C1-B1)*24*60/5,0),)






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 620
Default Excell spreadsheet formula

7:30AM is text, but 7:30 AM (with a space between) can be a time.
--
David Biddulph

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Larry

Did you enter the times in C12 and D12 as times?

If you entered then as 7:30am Excel sees that as text, not a time.

C12 7:30:00

D12 7:33:00

Shane's formula in E12 returns 9

Thanks also for clearing up about the job duration.

Now we can back off with the critiques about you being a cheapskate<g

Gord



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
Is this possible with excel ? ChrisB Excel Discussion (Misc queries) 14 December 30th 06 12:31 AM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Why would a formula stop working in an Excell spreadsheet? Number one Giraffe Excel Worksheet Functions 4 January 4th 06 07:07 PM
Formula for Returning values in another spreadsheet lrbest4x4xfar Excel Worksheet Functions 1 October 14th 05 02:52 PM
Linking formula to external spreadsheet Tunde Excel Discussion (Misc queries) 1 March 1st 05 03:05 AM


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