#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Time sheet formula?

What should the formula be for calculating the 1st break in my sheet,
based on the following shift lengths?
Hours
<4 =0 Minute
4-5 =10 Minutes
5-7 = 15 Minutes
7-10.5 = 10 Minutes
10.5= 15 Minutes

=if(c6<4,0....

Thanks in advance

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Time sheet formula?

You need to look at the logic of your question, For example 5 could return
either 10 or 15 and likewise 10.5 could return two values. On the assumption
you don't mean this try.

=IF(C6<=4,0,IF(C6<=5,10,IF(C6<=7,15,IF(C6<=10.5,10 ,15))))

"Basic DB Question" wrote:

What should the formula be for calculating the 1st break in my sheet,
based on the following shift lengths?
Hours
<4 =0 Minute
4-5 =10 Minutes
5-7 = 15 Minutes
7-10.5 = 10 Minutes
10.5= 15 Minutes

=if(c6<4,0....

Thanks in advance


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Time sheet formula?

Are these values cumulative? If so, one way:

=LOOKUP(C6,{0,0;4,10;5,25;7,35;10.5,50})

In article .com,
"Basic DB Question" wrote:

What should the formula be for calculating the 1st break in my sheet,
based on the following shift lengths?
Hours
<4 =0 Minute
4-5 =10 Minutes
5-7 = 15 Minutes
7-10.5 = 10 Minutes
10.5= 15 Minutes

=if(c6<4,0....

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
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 06:18 PM
Formula to deduct unpaid breaks in time sheet Rick Excel Discussion (Misc queries) 3 August 27th 05 12:53 AM
Excel formula for a time sheet HRMSN Excel Worksheet Functions 1 August 10th 05 04:07 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 08:48 PM
How do I set up a formula on a time sheet to calculate time in 1/. gschmid Excel Discussion (Misc queries) 2 January 18th 05 02:48 PM


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

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"