Excel 2010 and DateDiff Missing

jimmyjazz16

New Member
Joined
Jan 25, 2017
Messages
3
--- Problem 2 - Mr Excel Forum


Change this formulae needed so it works in Excel 2010 version who have no datediff formula available ? Getting hundreds of client sites to upgrade in 24 hrs not possible.


=IF(ISBLANK(U15), "", DATEDIF(U15,$V$3,"y") & " y, " & DATEDIF(U15,$V$3,"ym") & " m ")


in V is the 02/04/2017.




Output Expected is 35 y, 4 m
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Welcome to the forum.

DATEDIF is available in Excel 2010. What makes you think it isn't? If it's just the fact it doesn't appear in the formula dropdown, don't worry about that - it will still work.
 
Upvote 0
This is an excel spreadsheet with this formulae in 2 columns that is sent out to hundreds of sites. When it comes back completed, the Datediff in the formulae is disapeared in both columns, and replaced with #Name! . Reading online apparently there is versions of Excel 2010 that do not have datediff function as standard, and if the file is open and saved in this version this is what happens.

http://www.excelforum.com/showthread.php?t=799862
 
Upvote 0
If you read that thread, the issue is not with DATEDIF not being available, it's with it being used incorrectly.
 
Upvote 0
You are right . Reading that article again. The suggestion was that the formula in one form worked on one computer and not another. But I have the quotes in my formula I sent out, so that is not the issue. Thats why I was thinking of a different formula without datediff.
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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