Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
pcor
 
Posts: n/a
Default Formating dates

I have dates and times in 2 cells(a1 and b1). How do I format an other
cell(c1) to tell me hiow many days there is between cells (a1 and B1).
Thanks
Ian
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Formating dates

=B1-A1 format as general (end date - start date)

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"pcor" wrote in message
...
I have dates and times in 2 cells(a1 and b1). How do I format an other
cell(c1) to tell me hiow many days there is between cells (a1 and B1).
Thanks
Ian



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Peo Sjoblom
 
Posts: n/a
Default Formating dates

Oops! didn't read far enough, see Biff's answer

Peo


"Peo Sjoblom" wrote in message
...
=B1-A1 format as general (end date - start date)

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"pcor" wrote in message
...
I have dates and times in 2 cells(a1 and b1). How do I format an other
cell(c1) to tell me hiow many days there is between cells (a1 and B1).
Thanks
Ian





  #4   Report Post  
Posted to microsoft.public.excel.newusers
Biff
 
Posts: n/a
Default Formating dates

Hi!

A1 = start date/time
B1 = end date/time

=INT(B1)-INT(A1)

Biff

"pcor" wrote in message
...
I have dates and times in 2 cells(a1 and b1). How do I format an other
cell(c1) to tell me hiow many days there is between cells (a1 and B1).
Thanks
Ian



  #5   Report Post  
Posted to microsoft.public.excel.newusers
pcor
 
Posts: n/a
Default Formating dates

I guess I did not explain well enough
In A1 I have Wed 12 Apr 2006 01:46:PM
In B1 I have Tue 11 Apr 2006 04:41:PMTThat give me an answer of 21 hrs 4
min and a few seconds.
What I really wnat is the number of days(in this case it wouod ab e about
..8(point 8)
How can I do that
Thanks


"Biff" wrote:

Hi!

A1 = start date/time
B1 = end date/time

=INT(B1)-INT(A1)

Biff

"pcor" wrote in message
...
I have dates and times in 2 cells(a1 and b1). How do I format an other
cell(c1) to tell me hiow many days there is between cells (a1 and B1).
Thanks
Ian






  #6   Report Post  
Posted to microsoft.public.excel.newusers
Biff
 
Posts: n/a
Default Formating dates

As long as these dates are true Excel dates then just subtract:

=A1-B1

Format the cell as GENERAL

Result = 0.878472222218988

Biff

"pcor" wrote in message
...
I guess I did not explain well enough
In A1 I have Wed 12 Apr 2006 01:46:PM
In B1 I have Tue 11 Apr 2006 04:41:PMTThat give me an answer of 21 hrs 4
min and a few seconds.
What I really wnat is the number of days(in this case it wouod ab e about
.8(point 8)
How can I do that
Thanks


"Biff" wrote:

Hi!

A1 = start date/time
B1 = end date/time

=INT(B1)-INT(A1)

Biff

"pcor" wrote in message
...
I have dates and times in 2 cells(a1 and b1). How do I format an other
cell(c1) to tell me hiow many days there is between cells (a1 and B1).
Thanks
Ian






  #7   Report Post  
Posted to microsoft.public.excel.newusers
pcor
 
Posts: n/a
Default Formating dates

Worked Great Thanks


"Biff" wrote:

As long as these dates are true Excel dates then just subtract:

=A1-B1

Format the cell as GENERAL

Result = 0.878472222218988

Biff

"pcor" wrote in message
...
I guess I did not explain well enough
In A1 I have Wed 12 Apr 2006 01:46:PM
In B1 I have Tue 11 Apr 2006 04:41:PMTThat give me an answer of 21 hrs 4
min and a few seconds.
What I really wnat is the number of days(in this case it wouod ab e about
.8(point 8)
How can I do that
Thanks


"Biff" wrote:

Hi!

A1 = start date/time
B1 = end date/time

=INT(B1)-INT(A1)

Biff

"pcor" wrote in message
...
I have dates and times in 2 cells(a1 and b1). How do I format an other
cell(c1) to tell me hiow many days there is between cells (a1 and B1).
Thanks
Ian






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
conditional formating dates Brockjr38 Excel Worksheet Functions 1 February 13th 06 11:04 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM
conditional formating: dates steely Excel Worksheet Functions 1 October 20th 05 11:20 AM
conditional formating using cells containg dates Roy Excel Discussion (Misc queries) 2 May 24th 05 09:52 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM


All times are GMT +1. The time now is 08:40 PM.

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"