Formatting Cells into Date Format

Glutamine83

New Member
Joined
May 15, 2003
Messages
6
Hi everyone, first time on the board

I exported some dates from Lotus into excel, and everything went ok. I want to calculate the number of days in between particular dates and I've been under the assumption that as long as the dates are in date format, you can just subtract to calculate differences.

However, when I highlight the dates, and format the cells to the date format, nothing happens. But, when I click the cell and put my cursor in it, then press enter, it changes to the date format.

Is there a way to get excel to automatically refresh these date format changes without me having to manually click off on 1800 dates?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Welcome to The Board

Make sure under Tools | Options | Calculation that the Auto Calculation is checked - you might want to highlight all cells and press F9 to re-calculate

If this is already taken care of - highlight the range containing the dates, format the cells to general, and then repeat the process, formatting to the desired date format.

Good Luck.

Neville.
 
Upvote 0
Perhaps your dates were imported as text. Use the Data | Text to Columns... menu command to convert them to date values.
 
Upvote 0

Forum statistics

Threads
1,221,701
Messages
6,161,381
Members
451,700
Latest member
Eccymarge

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