Date conversions

norfolk62

New Member
Joined
Nov 16, 2007
Messages
3
I have an excel file that has dates in the european format of dd/mm/yy hh:mm:ss but excel does not allow me to perform calculations on the cells. I receive the #value error. I want to subtract start date from finish date to derive days outstanding. Is there an easy fix? Any guidance will be appreciated.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
I have an excel file that has dates in the european format of dd/mm/yy hh:mm:ss but excel does not allow me to perform calculations on the cells. I receive the #value error. I want to subtract start date from finish date to derive days outstanding. Is there an easy fix? Any guidance will be appreciated.


I just created a sample worksheet and it worked fine. Click on one of your dates and select the "General" format and look at the sample window. Does it show a number like 40668?

I entered the date 5-5-11 and then custom formatted it to dd/mm/yy hh:mm:ss and then subtracted it from 25/05/11 12:00:00 and it worked. The recipient cell I changed the format to "dd" and it showed 20.
 
Upvote 0
Parse the dates with text to columns to convert them to U.S. format.

Select the column with the dates (if you have 2 columns do 1 at a time).

Navigate your excel menu Data > Text to columns > Delimited

UnCheck all boxes, click next, then set the date format in the dropdown to MDY and hit Finish.

Repeat for any other columns.
 
Upvote 0

Forum statistics

Threads
1,224,616
Messages
6,179,911
Members
452,949
Latest member
beartooth91

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