[TABLE="width: 100"]
<tbody>[TR]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]Target
[/TD]
[TD]Status (Days)
[/TD]
[TD]Actual
[/TD]
[/TR]
[TR]
[TD]3/15/2019
[/TD]
[TD]33
[/TD]
[TD]4/17/2019
[/TD]
[/TR]
[TR]
[TD]4/1/2019
[/TD]
[TD]FALSE
[/TD]
[TD]3/22/2019
[/TD]
[/TR]
[TR]
[TD]4/18/2019
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to calculate a field using IF statements, but I have 3 or 4 separate situations that I need calculations for.
Here is the function I'm using:
=IF(G6>=E6, TODAY()-E6), IF(G6<=E6, DATEDIF(E6,G6,"d")) but can't figure out how to work
My calc cells are above
Basically I need it to calculate the Past Due #of days if the Actual is after the target,
if the actual falls before the target then count the #of days ahead of schedule
if the actual is empty then say something like "In Progress"
<tbody>[TR]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]Target
[/TD]
[TD]Status (Days)
[/TD]
[TD]Actual
[/TD]
[/TR]
[TR]
[TD]3/15/2019
[/TD]
[TD]33
[/TD]
[TD]4/17/2019
[/TD]
[/TR]
[TR]
[TD]4/1/2019
[/TD]
[TD]FALSE
[/TD]
[TD]3/22/2019
[/TD]
[/TR]
[TR]
[TD]4/18/2019
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to calculate a field using IF statements, but I have 3 or 4 separate situations that I need calculations for.
Here is the function I'm using:
=IF(G6>=E6, TODAY()-E6), IF(G6<=E6, DATEDIF(E6,G6,"d")) but can't figure out how to work
My calc cells are above
Basically I need it to calculate the Past Due #of days if the Actual is after the target,
if the actual falls before the target then count the #of days ahead of schedule
if the actual is empty then say something like "In Progress"