Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 176
Default Time Format Problem

Hi

I run Excel 2K

I have a column of dates that are downloaded from a mainframe. The date
format of these are 18/08/2009 7:58:00 AM.

I am trying to contruct a pivot table that looks at these dates and allows
me to pick a date range for the pivot table. I have the formula to do this
which I have used many times. The problem I have is because there is a time
included in the download it does not allow my formula to work correctly.

How can I reformat the date to exclude the time component. Or, is there a
formula that I can use that strips the time component?

I have tried a custom format which forces it to be displayed as 18/08/2009
in the cell however it still shows 18/08/2009 7:58:00 AM in the edit bar.


Thanks

John
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Time Format Problem

Formatting only changes the *display*. It doesn't change the true underlying
value of the cell.

You can strip off the time like this:

A1 = 18/08/2009 7:58:00 AM

=INT(A1)

Format as Date

--
Biff
Microsoft Excel MVP


"John Calder" wrote in message
...
Hi

I run Excel 2K

I have a column of dates that are downloaded from a mainframe. The date
format of these are 18/08/2009 7:58:00 AM.

I am trying to contruct a pivot table that looks at these dates and allows
me to pick a date range for the pivot table. I have the formula to do this
which I have used many times. The problem I have is because there is a
time
included in the download it does not allow my formula to work correctly.

How can I reformat the date to exclude the time component. Or, is there a
formula that I can use that strips the time component?

I have tried a custom format which forces it to be displayed as 18/08/2009
in the cell however it still shows 18/08/2009 7:58:00 AM in the edit bar.


Thanks

John



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 176
Default Time Format Problem

Excellent !

Once again....well done !

Thanks

John


"T. Valko" wrote:

Formatting only changes the *display*. It doesn't change the true underlying
value of the cell.

You can strip off the time like this:

A1 = 18/08/2009 7:58:00 AM

=INT(A1)

Format as Date

--
Biff
Microsoft Excel MVP


"John Calder" wrote in message
...
Hi

I run Excel 2K

I have a column of dates that are downloaded from a mainframe. The date
format of these are 18/08/2009 7:58:00 AM.

I am trying to contruct a pivot table that looks at these dates and allows
me to pick a date range for the pivot table. I have the formula to do this
which I have used many times. The problem I have is because there is a
time
included in the download it does not allow my formula to work correctly.

How can I reformat the date to exclude the time component. Or, is there a
formula that I can use that strips the time component?

I have tried a custom format which forces it to be displayed as 18/08/2009
in the cell however it still shows 18/08/2009 7:58:00 AM in the edit bar.


Thanks

John




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Time Format Problem

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"John Calder" wrote in message
...
Excellent !

Once again....well done !

Thanks

John


"T. Valko" wrote:

Formatting only changes the *display*. It doesn't change the true
underlying
value of the cell.

You can strip off the time like this:

A1 = 18/08/2009 7:58:00 AM

=INT(A1)

Format as Date

--
Biff
Microsoft Excel MVP


"John Calder" wrote in message
...
Hi

I run Excel 2K

I have a column of dates that are downloaded from a mainframe. The date
format of these are 18/08/2009 7:58:00 AM.

I am trying to contruct a pivot table that looks at these dates and
allows
me to pick a date range for the pivot table. I have the formula to do
this
which I have used many times. The problem I have is because there is a
time
included in the download it does not allow my formula to work
correctly.

How can I reformat the date to exclude the time component. Or, is there
a
formula that I can use that strips the time component?

I have tried a custom format which forces it to be displayed as
18/08/2009
in the cell however it still shows 18/08/2009 7:58:00 AM in the edit
bar.


Thanks

John






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
format time problem Pyrite Excel Discussion (Misc queries) 5 September 8th 08 06:48 PM
time format problem P Boric Excel Worksheet Functions 2 August 27th 07 08:49 AM
Date/Time Format Problem [email protected] Excel Discussion (Misc queries) 1 August 13th 07 05:18 PM
Time format problem chrisbarber1 Excel Discussion (Misc queries) 8 August 5th 06 03:54 PM
A Time Format Problem PA New Users to Excel 5 May 24th 06 06:25 AM


All times are GMT +1. The time now is 02:19 AM.

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"