Date & Time to show only 24Hr format

shonaart

Board Regular
Joined
Nov 1, 2004
Messages
214
Hi
Column A : Is formated as Date & time (example : 2011/03/23 23:34 )
Please can you tell me how I can look at come A : and show the 24 hour time in column B: as 23
I do not want to see the Date and the minutes. I tried formated column B : to HH with no MM
but when I pull it into the Pivot table and I want to group the Hours , the pivot table still sees the minutes.

I am trying to group my "times" in hours in my pivot table , for example I want my times to be somthing like this : 13, 14, 15 etc

Thanks
Vaughan
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Assuming first date / dite in A2

=HOUR(A2)

then fill down.
 
Upvote 0
When you group by hours in a PivotTable ( right click the Time field, Group, by Hour ) it just shows the hours.
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,894
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top