List view error “Filter Value is not in a supported date format”
Question
I've column "Name = Order Status","Type = Calculated" & Data Type = "Date and Time". I've given this Condition in the formula:- =IF(NOT([PO Date]=0),"ORDERED","NOT ORDERED"). I'm trying to create view for this column but its getting error while create the view "Filter Value is not in a supported date format".
Same error I'm getting for column "Name = Status","Type = Calculated" & Data Type = "Number". I've given this Condition in the formula:- =IF([PO Date]="","",IF(NOT([Balance Qty]=0),"OPEN","CLOSED"))
Please advice.
Solution
Check if column is empty with ISBLANK()
function:
=IF(ISBLANK([PO Date]),"NOT ORDERED","ORDERED")
I recommend you test your formula in Excel first, because SharePoint uses Excel engine for calculated columns and validation rules. And here nice article about formulas in SharePoint:
http://yalla.itgroove.net/2012/09/20/sharepoint-calculated-column-formulas/