TransWikia.com

How to Blank Date value in Date formula field?

Salesforce Asked by Sfdcprgmr on November 19, 2021

This field is to display the "date" value when this Opportunity’s Stage value contains "Closed ". and at the same time Opportunity’s Stage value not contains Closed means this field needs to be empty/blank.
Here Opportunity object Stage field datatype is picklist

IF((CONTAINS(TEXT(StageName),"closed")),NULL,Today())

Here am getting date value. but when Opportunity’s Stage value not contains "Closed" means date field is not empty

One Answer

It's an old question so I don't know if you managed to fix it but you just need to change Null and Today() in your formula :

IF((CONTAINS(TEXT(StageName),"closed")),Today(),NULL)

Answered by Romain Corone on November 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP