Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default formular discrepencies

Can anyone tell me why these two formulas give two different results? Can you
fix the discrepancy of three days

=IF(Q2=Q1,IF(AND(Q20,Q10),DAYS360(Q2,Q1),""),"" )
Tuesday, 1 July 2008
Monday, 24 November 2008
(143)

=DATEDIF(L2,TODAY(),"d")
Tuesday, 1 July 2008
146


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default formular discrepencies

DAYS360 is based on a 360 day year, 12 months * 30 days per month.

DATEDIF is based on a 365/366 day year.

--
Biff
Microsoft Excel MVP


"aussiegirlone" wrote in message
...
Can anyone tell me why these two formulas give two different results? Can
you
fix the discrepancy of three days

=IF(Q2=Q1,IF(AND(Q20,Q10),DAYS360(Q2,Q1),""),"" )
Tuesday, 1 July 2008
Monday, 24 November 2008
(143)

=DATEDIF(L2,TODAY(),"d")
Tuesday, 1 July 2008
146




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default formular discrepencies

And of course =TODAY()-L2 (if formatted as General or Number) gives the same
result as =DATEDIF(L2,TODAY(),"d")
--
David Biddulph

"T. Valko" wrote in message
...
DAYS360 is based on a 360 day year, 12 months * 30 days per month.

DATEDIF is based on a 365/366 day year.
--
Biff
Microsoft Excel MVP


"aussiegirlone" wrote in message
...
Can anyone tell me why these two formulas give two different results? Can
you
fix the discrepancy of three days

=IF(Q2=Q1,IF(AND(Q20,Q10),DAYS360(Q2,Q1),""),"" )
Tuesday, 1 July 2008
Monday, 24 November 2008
(143)

=DATEDIF(L2,TODAY(),"d")
Tuesday, 1 July 2008
146






  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default formular discrepencies

Thank you for that, as it was something I had overlooked.That means to have a
365/366 day formular I would need to do this?
=IF(G6=C6,IF(AND(G60,C60),DAYS360(G6,C6)-6))

"David Biddulph" wrote:

And of course =TODAY()-L2 (if formatted as General or Number) gives the same
result as =DATEDIF(L2,TODAY(),"d")
--
David Biddulph

"T. Valko" wrote in message
...
DAYS360 is based on a 360 day year, 12 months * 30 days per month.

DATEDIF is based on a 365/366 day year.
--
Biff
Microsoft Excel MVP


"aussiegirlone" wrote in message
...
Can anyone tell me why these two formulas give two different results? Can
you
fix the discrepancy of three days

=IF(Q2=Q1,IF(AND(Q20,Q10),DAYS360(Q2,Q1),""),"" )
Tuesday, 1 July 2008
Monday, 24 November 2008
(143)

=DATEDIF(L2,TODAY(),"d")
Tuesday, 1 July 2008
146







  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default formular discrepencies

I obviously overlooked the 360day formular and I think I found how to turn
that formular into a 366days which would look like this I guess
=IF(G6=C6,IF(AND(G60,C60),DAYS360(G6,C6)-6))

"T. Valko" wrote:

DAYS360 is based on a 360 day year, 12 months * 30 days per month.

DATEDIF is based on a 365/366 day year.

--
Biff
Microsoft Excel MVP


"aussiegirlone" wrote in message
...
Can anyone tell me why these two formulas give two different results? Can
you
fix the discrepancy of three days

=IF(Q2=Q1,IF(AND(Q20,Q10),DAYS360(Q2,Q1),""),"" )
Tuesday, 1 July 2008
Monday, 24 November 2008
(143)

=DATEDIF(L2,TODAY(),"d")
Tuesday, 1 July 2008
146







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default formular discrepencies

Throw away the DAYS360 function. You don't need it. Instead of
DAYS360(Q2,Q1) in your original formula, use Q2-Q1.
--
David Biddulph

"aussiegirlone" wrote in message
...
Thank you for that, as it was something I had overlooked.That means to
have a
365/366 day formular I would need to do this?
=IF(G6=C6,IF(AND(G60,C60),DAYS360(G6,C6)-6))

"David Biddulph" wrote:

And of course =TODAY()-L2 (if formatted as General or Number) gives the
same
result as =DATEDIF(L2,TODAY(),"d")
--
David Biddulph

"T. Valko" wrote in message
...
DAYS360 is based on a 360 day year, 12 months * 30 days per month.

DATEDIF is based on a 365/366 day year.
--
Biff
Microsoft Excel MVP


"aussiegirlone" wrote in
message
...
Can anyone tell me why these two formulas give two different results?
Can
you
fix the discrepancy of three days

=IF(Q2=Q1,IF(AND(Q20,Q10),DAYS360(Q2,Q1),""),"" )
Tuesday, 1 July 2008
Monday, 24 November 2008
(143)

=DATEDIF(L2,TODAY(),"d")
Tuesday, 1 July 2008
146









  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default formular discrepencies

Crikey david, thats what I like, its short, it's simple, and straight to the
point LOL,
thank you
aussiegirlone.

"David Biddulph" wrote:

Throw away the DAYS360 function. You don't need it. Instead of
DAYS360(Q2,Q1) in your original formula, use Q2-Q1.
--
David Biddulph

"aussiegirlone" wrote in message
...
Thank you for that, as it was something I had overlooked.That means to
have a
365/366 day formular I would need to do this?
=IF(G6=C6,IF(AND(G60,C60),DAYS360(G6,C6)-6))

"David Biddulph" wrote:

And of course =TODAY()-L2 (if formatted as General or Number) gives the
same
result as =DATEDIF(L2,TODAY(),"d")
--
David Biddulph

"T. Valko" wrote in message
...
DAYS360 is based on a 360 day year, 12 months * 30 days per month.

DATEDIF is based on a 365/366 day year.
--
Biff
Microsoft Excel MVP

"aussiegirlone" wrote in
message
...
Can anyone tell me why these two formulas give two different results?
Can
you
fix the discrepancy of three days

=IF(Q2=Q1,IF(AND(Q20,Q10),DAYS360(Q2,Q1),""),"" )
Tuesday, 1 July 2008
Monday, 24 November 2008
(143)

=DATEDIF(L2,TODAY(),"d")
Tuesday, 1 July 2008
146










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
formular readmynote student New Users to Excel 2 August 19th 08 07:01 AM
I still need help with formular? Buzz Local#30 Excel Worksheet Functions 2 April 21st 08 12:55 PM
formular Gee Setting up and Configuration of Excel 0 April 15th 08 03:10 PM
If formular Therese Excel Discussion (Misc queries) 5 March 30th 06 11:49 PM
Need Help With A Formular ximen New Users to Excel 3 April 11th 05 05:05 PM


All times are GMT +1. The time now is 04:17 PM.

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

About Us

"It's about Microsoft Excel"