Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

ISBLANK() not working while checking Calculated Column which returns Date by formula for SharePoint List

$
0
0

Three choice fields 1st route, 2nd route, 3rd route all containing text values like


Now I have three more columns:

1) Current Route (Calculated column checks above given choice columns and returnsSingle line text)

=IF(ISBLANK([3rd route]),IF(ISBLANK([2nd route]),IF(ISBLANK([1st route]),"",[1st route]),[2nd route]),[3rd route])


2) Current Route Date (Calculated column checks Current Route and returnsDate)

=IF(OR(ISBLANK([3rd route]),ISBLANK([3rd route date])),IF(OR(ISBLANK([2nd route]),ISBLANK([2nd route date])),IF(OR(ISBLANK([1st route]),ISBLANK([1st route date])),"",[1st route date]),[2nd route date]),[3rd route date])


3) Problematic column -> Days Elapsed (Calculated column checks and returnsNumber)

=IF(OR(ISBLANK([Current Route Date]),TODAY()-[Current Route Date]<0),0,TODAY()-[Current Route Date])

or

=IF(OR(LEN([Current Route Date])=0,TODAY()-[Current Route Date]<0),0,TODAY()-[Current Route Date])

It always returns #Value! or #Name? when Current Route Date is empty which if you see the formula it returns "" and which if I am not wrong stores "01/01/1900" inCurrent Route Date column. So why doesn't ISBLANK() succeeds in checkingCurrent Route Date?






Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>