Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
BRB BRB is offline
external usenet poster
 
Posts: 23
Default Can't graph data with Date Format with hours

I received a file with dates formatted using dd/mm/yy hh:mm and I want to
graph how many times a certain event occurs per date based on dd/mm/yy.
I tried using "COUNTIF" to determine how many entries exist per day, but it
does not find any match since the data contains hours and that is not
relevant to the graph.
I tried formatting the date field in the data using dd/mm/yy, but that only
changes the way the date shows in the cell but not the actual format. How do
I remove the hour:minute information?
Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Can't graph data with Date Format with hours

It's maybe longwinded but if the dates are in column B, insert a column at
column C. If the first date and time is in cell B7, enter in cell C7
=Trunc(B7,0). Copy it to all the other cells, they will all have the time
00:00. You can format column C and hide column B. If you want to get rid of
column B, insert a column at D, copy column C and paste values. Then you can
delete B and C.

"BRB" wrote:

I received a file with dates formatted using dd/mm/yy hh:mm and I want to
graph how many times a certain event occurs per date based on dd/mm/yy.
I tried using "COUNTIF" to determine how many entries exist per day, but it
does not find any match since the data contains hours and that is not
relevant to the graph.
I tried formatting the date field in the data using dd/mm/yy, but that only
changes the way the date shows in the cell but not the actual format. How do
I remove the hour:minute information?
Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.misc
BRB BRB is offline
external usenet poster
 
Posts: 23
Default Can't graph data with Date Format with hours

Thanks, that worked.

"Highland Cow" wrote:

It's maybe longwinded but if the dates are in column B, insert a column at
column C. If the first date and time is in cell B7, enter in cell C7
=Trunc(B7,0). Copy it to all the other cells, they will all have the time
00:00. You can format column C and hide column B. If you want to get rid of
column B, insert a column at D, copy column C and paste values. Then you can
delete B and C.

"BRB" wrote:

I received a file with dates formatted using dd/mm/yy hh:mm and I want to
graph how many times a certain event occurs per date based on dd/mm/yy.
I tried using "COUNTIF" to determine how many entries exist per day, but it
does not find any match since the data contains hours and that is not
relevant to the graph.
I tried formatting the date field in the data using dd/mm/yy, but that only
changes the way the date shows in the cell but not the actual format. How do
I remove the hour:minute information?
Thanks,

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
Adding time in 24 hour format to produce hours in decimal format Hercdriver Excel Worksheet Functions 11 December 29th 09 02:06 AM
creaet a graph from the hours of a time field michaelxhermes via OfficeKB.com Excel Discussion (Misc queries) 1 March 11th 08 12:18 AM
How do I graph data daily as a line graph across a calendar format Glani Charts and Charting in Excel 3 November 23rd 07 09:05 AM
How do I format the data labels in my stacked bar graph? ocjred Charts and Charting in Excel 2 August 2nd 06 04:05 PM
Convert hours and minutes in time format into fractions of hours.. Akern Excel Worksheet Functions 4 April 21st 05 02:56 PM


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