Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Microsoft Excel formulae....... How to do this?

views
     
dopodplaya
post May 8 2008, 03:07 PM

Look at all my stars!!
*******
Senior Member
2,280 posts

Joined: Jun 2006
use datediff la brother.
gile panjang kod, tapi tak betul muahaha.
dopodplaya
post May 8 2008, 03:20 PM

Look at all my stars!!
*******
Senior Member
2,280 posts

Joined: Jun 2006
The syntax for DATEDIF is as follows:
CODE
=DATEDIF(Date1, Date2, Interval)


Where:
Date1 is the first date,
Date2 is the second date,
Interval is the interval type to return.

Example - different of date in month
CODE
=DATEDIF(Date1,Date2,"m")


QUOTE
Code for Interval

m - Months Complete calendar months between the dates.
d - Days Number of days between the dates.
y - Years Complete calendar years between the dates.
ym - Months Excluding Years Complete calendar months between the dates as if they were of the same year.
yd - Days Excluding Years Complete calendar days between the dates as if they were of the same year.
md - Days Excluding Years And Months Complete calendar days between the dates as if they were of the same month and same year.
This post has been edited by dopodplaya: May 8 2008, 03:21 PM

 

Change to:
| Lo-Fi Version
0.0159sec    0.78    6 queries    GZIP Disabled
Time is now: 12th December 2025 - 12:30 AM