Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default count days from a one date to another date

If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to count
the number of days from A1 to B1

Please provide formula for doing so.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default count days from a one date to another date

HI
Try this: =B1-A1
You must format the cell as "General"
HTH
john
"confused!!" wrote in message
...
If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to
count
the number of days from A1 to B1

Please provide formula for doing so.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default count days from a one date to another date

=B1-A1, Format as General or Number

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"confused!!" wrote in message
...
If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to
count
the number of days from A1 to B1

Please provide formula for doing so.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default count days from a one date to another date

if you prefere something different from the Mike perfect anwer, you can use

=datedif(b1,a1,"D")


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"confused!!" escreveu:

If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to count
the number of days from A1 to B1

Please provide formula for doing so.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default count days from a one date to another date

HI Marcelo
I Think you meant =DATEDIF(A1,B1,"D")
Regards
John
"Marcelo" wrote in message
...
if you prefere something different from the Mike perfect anwer, you can
use

=datedif(b1,a1,"D")


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"confused!!" escreveu:

If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to
count
the number of days from A1 to B1

Please provide formula for doing so.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default count days from a one date to another date

sorry for the typo error

anwer = answer
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Marcelo" escreveu:

if you prefere something different from the Mike perfect anwer, you can use

=datedif(b1,a1,"D")


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"confused!!" escreveu:

If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to count
the number of days from A1 to B1

Please provide formula for doing so.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default count days from a one date to another date

Hi Marcelo
We all make errors, welcome to the human race.
Have a nice day
John
"Marcelo" wrote in message
...
sorry for the typo error

anwer = answer
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Marcelo" escreveu:

if you prefere something different from the Mike perfect anwer, you can
use

=datedif(b1,a1,"D")


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"confused!!" escreveu:

If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to
count
the number of days from A1 to B1

Please provide formula for doing so.


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default count days from a one date to another date

no datedif runs as oldest date first so as A1 has 09/17/09 and b1 has
10/30/08 b1 came first on the formula

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"John" escreveu:

HI Marcelo
I Think you meant =DATEDIF(A1,B1,"D")
Regards
John
"Marcelo" wrote in message
...
if you prefere something different from the Mike perfect anwer, you can
use

=datedif(b1,a1,"D")


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"confused!!" escreveu:

If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to
count
the number of days from A1 to B1

Please provide formula for doing so.



  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default count days from a one date to another date

Hi Again
Now I notice it's not the same year, you're right, my apologies.
That proves to you, I'm human :)
Regards
John
"Marcelo" wrote in message
...
no datedif runs as oldest date first so as A1 has 09/17/09 and b1 has
10/30/08 b1 came first on the formula

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"John" escreveu:

HI Marcelo
I Think you meant =DATEDIF(A1,B1,"D")
Regards
John
"Marcelo" wrote in message
...
if you prefere something different from the Mike perfect anwer, you can
use

=datedif(b1,a1,"D")


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"confused!!" escreveu:

If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need
to
count
the number of days from A1 to B1

Please provide formula for doing so.




  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default count days from a one date to another date

Correction on formula
=A1-B1
Sorry for my blindness.
John
"John" wrote in message
...
HI
Try this: =B1-A1
You must format the cell as "General"
HTH
john
"confused!!" wrote in message
...
If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to
count
the number of days from A1 to B1

Please provide formula for doing so.





  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default count days from a one date to another date

cheers

;)
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"John" escreveu:

Hi Again
Now I notice it's not the same year, you're right, my apologies.
That proves to you, I'm human :)
Regards
John
"Marcelo" wrote in message
...
no datedif runs as oldest date first so as A1 has 09/17/09 and b1 has
10/30/08 b1 came first on the formula

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"John" escreveu:

HI Marcelo
I Think you meant =DATEDIF(A1,B1,"D")
Regards
John
"Marcelo" wrote in message
...
if you prefere something different from the Mike perfect anwer, you can
use

=datedif(b1,a1,"D")


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"confused!!" escreveu:

If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need
to
count
the number of days from A1 to B1

Please provide formula for doing so.




  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default count days from a one date to another date

No, John. The OP asked for "the number of days from A1 to B1", so your
answer of -262 was correct.
--
David Biddulph

"John" wrote in message
...
Correction on formula
=A1-B1
Sorry for my blindness.
John
"John" wrote in message
...
HI
Try this: =B1-A1
You must format the cell as "General"
HTH
john
"confused!!" wrote in message
...
If in cell A1 i have a date 09/17/09 and date 10/30/08 in B1 i need to
count
the number of days from A1 to B1

Please provide formula for doing so.





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
count days from a one date to another date Mike H Excel Worksheet Functions 0 February 5th 09 02:10 PM
count a number of days from a date RGlade Excel Discussion (Misc queries) 3 December 4th 08 07:36 PM
days count between different date format David Excel Worksheet Functions 3 October 16th 08 07:06 PM
Count left over days with date Pascale Excel Discussion (Misc queries) 1 April 15th 08 03:27 PM
How do I count the number of days from 1 date to another? Steve R Excel Discussion (Misc queries) 3 February 2nd 06 09:58 PM


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