Hello,
I am new to this forum and new to Power Pivot. I have been reviewing forums for a while now and cannot seem to find a formula that will do the following calculation (which I use in Excel 2016 and it works). It will subtract the CompletedDateTime from the CreateDateTime and tell me if the difference is less then 24 hours. Here is an example of the excel formula i currently use:
=IF([CompletedDateTime (UTC)]<>FALSE,IF([CompletedDateTime (UTC)]-[CreateDateTime (UTC)]<1,1,""),"")
Example of Table:
[TABLE="width: 491"]
<tbody>[TR]
[TD]
CreateDateTime (UTC)[/TD]
[TD][/TD]
[TD]CompletedDateTime (UTC)[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2016 12:08 AM
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]01/01/2016 01:46 AM[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2016 12:10 AM[/TD]
[TD="align: right"][/TD]
[TD="align: right"]01/01/2016 01:25 AM[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2016 12:12 AM[/TD]
[TD="align: right"][/TD]
[TD="align: right"]01/01/2016 12:27 AM[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2016 12:13 AM[/TD]
[TD="align: right"][/TD]
[TD="align: right"]01/01/2016 12:43 AM
[/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
I would like this to be all in one single formula and output to a single cell.
Please help me !!!
I am new to this forum and new to Power Pivot. I have been reviewing forums for a while now and cannot seem to find a formula that will do the following calculation (which I use in Excel 2016 and it works). It will subtract the CompletedDateTime from the CreateDateTime and tell me if the difference is less then 24 hours. Here is an example of the excel formula i currently use:
=IF([CompletedDateTime (UTC)]<>FALSE,IF([CompletedDateTime (UTC)]-[CreateDateTime (UTC)]<1,1,""),"")
Example of Table:
[TABLE="width: 491"]
<tbody>[TR]
[TD]
CreateDateTime (UTC)[/TD]
[TD][/TD]
[TD]CompletedDateTime (UTC)[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2016 12:08 AM
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]01/01/2016 01:46 AM[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2016 12:10 AM[/TD]
[TD="align: right"][/TD]
[TD="align: right"]01/01/2016 01:25 AM[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2016 12:12 AM[/TD]
[TD="align: right"][/TD]
[TD="align: right"]01/01/2016 12:27 AM[/TD]
[/TR]
[TR]
[TD="align: right"]01/01/2016 12:13 AM[/TD]
[TD="align: right"][/TD]
[TD="align: right"]01/01/2016 12:43 AM
[/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
I would like this to be all in one single formula and output to a single cell.
Please help me !!!