Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 202
Default Date/Time Help

Hi There,

I have a cell that is a date with a time, and I'd like to be able to create
another cell that is only the date and not the time. I know I can easily
format the exisitng cell, however I wish to remove the time all together from
the cell. I am using it to peform a sumif, which is not working because the
lookup value is just 15/7/08, and the sum criteria all have a time.

EG. I have "15/07/2008 11:47:59 am" which I would like to convert to simply
"15/7/2008" in an adjacent cell.

Hope I've explained it properly, any help would be much appreciated!!
Cheers,
Jane
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Date/Time Help

Try this:

A1 = 15/07/2008 11:47:59 AM

To return just the date portion:

=INT(A1)

Format as Date

--
Biff
Microsoft Excel MVP


"Jane" wrote in message
...
Hi There,

I have a cell that is a date with a time, and I'd like to be able to
create
another cell that is only the date and not the time. I know I can easily
format the exisitng cell, however I wish to remove the time all together
from
the cell. I am using it to peform a sumif, which is not working because
the
lookup value is just 15/7/08, and the sum criteria all have a time.

EG. I have "15/07/2008 11:47:59 am" which I would like to convert to
simply
"15/7/2008" in an adjacent cell.

Hope I've explained it properly, any help would be much appreciated!!
Cheers,
Jane



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 202
Default Date/Time Help

You are a life saver, thank you!!

"T. Valko" wrote:

Try this:

A1 = 15/07/2008 11:47:59 AM

To return just the date portion:

=INT(A1)

Format as Date

--
Biff
Microsoft Excel MVP


"Jane" wrote in message
...
Hi There,

I have a cell that is a date with a time, and I'd like to be able to
create
another cell that is only the date and not the time. I know I can easily
format the exisitng cell, however I wish to remove the time all together
from
the cell. I am using it to peform a sumif, which is not working because
the
lookup value is just 15/7/08, and the sum criteria all have a time.

EG. I have "15/07/2008 11:47:59 am" which I would like to convert to
simply
"15/7/2008" in an adjacent cell.

Hope I've explained it properly, any help would be much appreciated!!
Cheers,
Jane




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

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Jane" wrote in message
...
You are a life saver, thank you!!

"T. Valko" wrote:

Try this:

A1 = 15/07/2008 11:47:59 AM

To return just the date portion:

=INT(A1)

Format as Date

--
Biff
Microsoft Excel MVP


"Jane" wrote in message
...
Hi There,

I have a cell that is a date with a time, and I'd like to be able to
create
another cell that is only the date and not the time. I know I can
easily
format the exisitng cell, however I wish to remove the time all
together
from
the cell. I am using it to peform a sumif, which is not working because
the
lookup value is just 15/7/08, and the sum criteria all have a time.

EG. I have "15/07/2008 11:47:59 am" which I would like to convert to
simply
"15/7/2008" in an adjacent cell.

Hope I've explained it properly, any help would be much appreciated!!
Cheers,
Jane






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
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 02:48 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Worksheet Functions 1 December 2nd 04 12:04 AM


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