A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Annual Leave calculation



 
 
Thread Tools Display Modes
  #1  
Old November 16th, 2009, 08:24 AM posted to microsoft.public.access.forms
Tia[_3_]
external usenet poster
 
Posts: 126
Default Annual Leave calculation

DEAR ALL,

i am trying to calculate the annual leave for the employees. i have
been using the excel and i used to use this:
=IF(TODAY()-Starting date5*360,2.5,IF(TODAY()-Starting
date1*360,2.5,IF(TODAY()-Starting date0.5*360,2)))

How can i translate the same to access

  #2  
Old November 16th, 2009, 11:43 AM posted to microsoft.public.access.forms
Kc-Mass
external usenet poster
 
Posts: 362
Default Annual Leave calculation

=IIF(Date-Starting date5*360,2.5,IIF(Date-Starting
date1*360,2.5,IIF(Date-Starting date0.5*360,2)))

"Tia" wrote in message
...
DEAR ALL,

i am trying to calculate the annual leave for the employees. i have
been using the excel and i used to use this:
=IF(TODAY()-Starting date5*360,2.5,IF(TODAY()-Starting
date1*360,2.5,IF(TODAY()-Starting date0.5*360,2)))

How can i translate the same to access



  #3  
Old November 16th, 2009, 04:56 PM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Annual Leave calculation

Maybe this way --
=IIF(Date()-[Starting date]5*360,2.5,IIF(Date()-[Starting date]1*360,2.5,2))

--
Build a little, test a little.


"kc-mass" wrote:

=IIF(Date-Starting date5*360,2.5,IIF(Date-Starting
date1*360,2.5,IIF(Date-Starting date0.5*360,2)))

"Tia" wrote in message
...
DEAR ALL,

i am trying to calculate the annual leave for the employees. i have
been using the excel and i used to use this:
=IF(TODAY()-Starting date5*360,2.5,IF(TODAY()-Starting
date1*360,2.5,IF(TODAY()-Starting date0.5*360,2)))

How can i translate the same to access



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.