Replace #Type

ECEK

Registered User.
Local time
Today, 11:02
Joined
Dec 19, 2012
Messages
717
When both or one date is not available my field says #Type!

How to I get it to disregard (Null) where a calc is not available?

=fNetWorkdays([dr_date],[dic_date]) & " days"
 
My solution:

=IIf(IsNull([dr_date])," ",IIf(IsNull([dic_date])," ",fNetWorkdays([dr_date],[dic_date]) & " days"))

There must be an easier way though?
 
I would possibly build the function to return a string like "3 Days" or "1 Day" or "" if there weren't valid dates, or build a function around the core function to do that.
 
you got the simpliest.
 

Users who are viewing this thread

Back
Top Bottom