DATEDIF with two start dates

tkroper

Active Member
Joined
Feb 2, 2007
Messages
255
Is there any way to compare one end date to two start dates, calculating whichever start date is later? For example:

[TABLE="width: 253"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Expiration Date[/TD]
[TD="align: right"]4/7/2018[/TD]
[/TR]
[TR]
[TD]Assignment Date[/TD]
[TD="align: right"]6/19/2018[/TD]
[/TR]
[TR]
[TD]Submission Date[/TD]
[TD="align: right"]11/8/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]142[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Expiration Date[/TD]
[TD="align: right"]4/7/2018[/TD]
[/TR]
[TR]
[TD]Assignment Date[/TD]
[TD="align: right"]3/5/2018[/TD]
[/TR]
[TR]
[TD]Submission Date[/TD]
[TD="align: right"]11/8/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]215[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Please note that my dates are in dd/mm/yyyy format.

Excel Workbook
ABC
1Expiration Date07/04/201807/04/2018
2Assignment Date19/06/201805/03/2018
3Submission Date08/11/201808/11/2018
4142215
Sheet303
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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