Can't graph data with Date Format with hours

B

BRB

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,
 
H

Highland Cow

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.
 
B

BRB

Thanks, that worked.

Highland Cow said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top