rjhemphill
New Member
- Joined
- Oct 5, 2016
- Messages
- 2
I am having trouble getting my IF, IFERROR,IFNA statements to not populate #N/A or #Value
Here is my current Formula
=IF(B2="Employee",ABS(F2-M2),IF(B2<>"Employee",ABS(N2-M2)))
the issue i am having is that some of the M and N columns don't have dates. so i am getting #Value populated
[TABLE="width: 500"]
<tbody>[TR]
[TD]F[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD]Employee Time[/TD]
[/TR]
[TR]
[TD]10/5/2016[/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD="class: xl1370, width: 104, align: center"]#VALUE![/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]10/5/2016[/TD]
[TD]2016-09-27[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl1370, width: 64"]2016-10-03[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD="class: xl1370, width: 104, align: right"]8[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]10/5/2016[/TD]
[TD]2015-10-13[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl1370, width: 64"]2016-08-26[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD="class: xl1370, width: 104, align: right"]358[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Here is my current Formula
=IF(B2="Employee",ABS(F2-M2),IF(B2<>"Employee",ABS(N2-M2)))
the issue i am having is that some of the M and N columns don't have dates. so i am getting #Value populated
[TABLE="width: 500"]
<tbody>[TR]
[TD]F[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD]Employee Time[/TD]
[/TR]
[TR]
[TD]10/5/2016[/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD="class: xl1370, width: 104, align: center"]#VALUE![/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]10/5/2016[/TD]
[TD]2016-09-27[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl1370, width: 64"]2016-10-03[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD="class: xl1370, width: 104, align: right"]8[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]10/5/2016[/TD]
[TD]2015-10-13[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="class: xl1370, width: 64"]2016-08-26[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 104"]
<tbody>[TR]
[TD="class: xl1370, width: 104, align: right"]358[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]