Date/time format not consistent

blueangel2323

New Member
Joined
Jul 12, 2011
Messages
15
Hi everyone, I have a problem with my spreadsheets where a column containing dates and times is inconsistent.

Some rows contain the format I want:
31/1/2011 10:00
and it shows the same thing in the cell and the formula bar.

But other rows contain this format:
31/1/2011 10:00:00 AM
in the formula bar even though the cell shows the former.

I've tried selecting the former and using the format painter to "paint" the latter, and I've also tried Format>Cells>Custom>"m/d/yyyy h:mm" but neither method works. I've even tried manually deleting the trailing ":00 AM" in the formual bar but it automatically comes back.

How do I get the data in the cells to be consistent? Thanks!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,224,587
Messages
6,179,738
Members
452,940
Latest member
Lawrenceiow

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