Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Earned Vacation time Formula

I think i have the formula down, but i keep receiving error messages. i think
it is a bracket problem, but no one here understands enough to help. I've
been looking at it for hours now and think i've just lost perspective.

=if((today()=Date(2009,01,01)),"",if(today()<=dat e(2007,12,31)),"",IF(TODAY()<=(DATE(2008,12,31))), ((TODAY()-(DATE(2008,1,1)))*0.22),IF(TODAY()=(DATE(2008,12, 31))),((TODAY()-(DATE(2008,1,1)))*0.22),0))

i was hoping that if the current date was outside the parameters it would
simply show up blank, otherwise it would process the formula regularly
showing {number of days this year} * 0.22.

Excel-03

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Earned Vacation time Formula

Not very sure, maybe you meant this:
=IF(YEAR(TODAY())<2008,"",IF(TODAY()<=DATE(2008,1 2,31),TODAY()-DATE(2008,1,1)*0.22,0))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Savage666" wrote:
I think i have the formula down, but i keep receiving error messages. i think
it is a bracket problem, but no one here understands enough to help. I've
been looking at it for hours now and think i've just lost perspective.

=if((today()=Date(2009,01,01)),"",if(today()<=dat e(2007,12,31)),"",IF(TODAY()<=(DATE(2008,12,31))), ((TODAY()-(DATE(2008,1,1)))*0.22),IF(TODAY()=(DATE(2008,12, 31))),((TODAY()-(DATE(2008,1,1)))*0.22),0))

i was hoping that if the current date was outside the parameters it would
simply show up blank, otherwise it would process the formula regularly
showing {number of days this year} * 0.22.

Excel-03

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 258
Default Earned Vacation time Formula

Savage --

Another similar route:

=IF(YEAR(TODAY())=2008,(TODAY()-DATE(2008,1,1))*0.22,"")

For May 28, returns 32.56.

HTH

"Savage666" wrote:

I think i have the formula down, but i keep receiving error messages. i think
it is a bracket problem, but no one here understands enough to help. I've
been looking at it for hours now and think i've just lost perspective.

=if((today()=Date(2009,01,01)),"",if(today()<=dat e(2007,12,31)),"",IF(TODAY()<=(DATE(2008,12,31))), ((TODAY()-(DATE(2008,1,1)))*0.22),IF(TODAY()=(DATE(2008,12, 31))),((TODAY()-(DATE(2008,1,1)))*0.22),0))

i was hoping that if the current date was outside the parameters it would
simply show up blank, otherwise it would process the formula regularly
showing {number of days this year} * 0.22.

Excel-03

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
Figuring Vacation Hrs. Earned using Current Date minus Hire Date Sharon Excel Worksheet Functions 6 May 3rd 07 10:32 PM
Accruing Vacation Time as Time Passes Hugnuffer Excel Worksheet Functions 3 November 28th 06 05:10 PM
Detailed Time Sheet (overtime, comp time, vacation used) Robert D. Sandersfeld New Users to Excel 2 May 22nd 06 10:14 PM
converting time worked to dollars earned. gail New Users to Excel 3 August 30th 05 01:59 AM
How can I calculate Vacation Time earned based on length of emplo. Kim Excel Discussion (Misc queries) 2 March 15th 05 08:04 PM


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