Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 304
Default Vacation Time formula

Hello all,
Do you know of a formula what will let me know when have cumulated 40hr or
vacation time?

e.g. the list of hours

36.96
39.27
41.58 <-- 40hr of Vac time
43.89
46.2
48.51
50.82
53.13
55.44
57.75
60.06
62.37
64.68
66.99
69.3
71.61
73.92
76.23
78.54
80.85 <-- 40hr of Vac time
83.16
85.47
87.78
90.09


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Vacation Time formula

Assuming that your first entry, 36.96, is in cell A2. Then in another cell
on row 3 (as B3) put this formula and fill it down:
=IF(MOD(A3,40)<MOD(A2,40),"Added 40 Hours","")
See if that's what you are after.


"pgarcia" wrote:

Hello all,
Do you know of a formula what will let me know when have cumulated 40hr or
vacation time?

e.g. the list of hours

36.96
39.27
41.58 <-- 40hr of Vac time
43.89
46.2
48.51
50.82
53.13
55.44
57.75
60.06
62.37
64.68
66.99
69.3
71.61
73.92
76.23
78.54
80.85 <-- 40hr of Vac time
83.16
85.47
87.78
90.09


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 304
Default Vacation Time formula

That's cool. How does it work? Pleaes

"JLatham" wrote:

Assuming that your first entry, 36.96, is in cell A2. Then in another cell
on row 3 (as B3) put this formula and fill it down:
=IF(MOD(A3,40)<MOD(A2,40),"Added 40 Hours","")
See if that's what you are after.


"pgarcia" wrote:

Hello all,
Do you know of a formula what will let me know when have cumulated 40hr or
vacation time?

e.g. the list of hours

36.96
39.27
41.58 <-- 40hr of Vac time
43.89
46.2
48.51
50.82
53.13
55.44
57.75
60.06
62.37
64.68
66.99
69.3
71.61
73.92
76.23
78.54
80.85 <-- 40hr of Vac time
83.16
85.47
87.78
90.09


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Vacation Time formula

MOD(number,divisor) takes a value (number) and divides it by the divisor and
shows the remainder. As the value of accrued leave time increases, it has a
larger and larger remainder UNTIL it hits a value evenly divisible by divisor
(40) at which time it will drop.

So if you typed =MOD(78.54,40) the result would be 38.54, but at the next
entry =MOD(80.85,40) the result would be .85. So this drop in the value of
the remainder is what it keys off of: if the test for the current row has a
result smaller than the result of the MOD() of the previous row, we assume
you just passed a new 40 hour point (40,80,120,160, etc).


"pgarcia" wrote:

That's cool. How does it work? Pleaes

"JLatham" wrote:

Assuming that your first entry, 36.96, is in cell A2. Then in another cell
on row 3 (as B3) put this formula and fill it down:
=IF(MOD(A3,40)<MOD(A2,40),"Added 40 Hours","")
See if that's what you are after.


"pgarcia" wrote:

Hello all,
Do you know of a formula what will let me know when have cumulated 40hr or
vacation time?

e.g. the list of hours

36.96
39.27
41.58 <-- 40hr of Vac time
43.89
46.2
48.51
50.82
53.13
55.44
57.75
60.06
62.37
64.68
66.99
69.3
71.61
73.92
76.23
78.54
80.85 <-- 40hr of Vac time
83.16
85.47
87.78
90.09


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
Need Formula for Calculating Accrued Vacation Time jd_dps[_2_] Excel Worksheet Functions 2 December 26th 08 08:28 PM
Earned Vacation time Formula Savage666 Excel Discussion (Misc queries) 2 May 29th 08 03:54 AM
Accruing Vacation Time as Time Passes Hugnuffer Excel Worksheet Functions 3 November 28th 06 05:10 PM
Vacation Time calculation... HELP! brubru Excel Discussion (Misc queries) 1 July 22nd 06 10:10 PM
Detailed Time Sheet (overtime, comp time, vacation used) Robert D. Sandersfeld New Users to Excel 2 May 22nd 06 10:14 PM


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