S SalmanZeiad Member Local time Today, 14:49 Joined Oct 30, 2017 Messages 112 Oct 28, 2020 #1 e.x... =IIf("[date3] =date()";"OK") & ("[date3]=""";"NotOK")
Minty AWF VIP Local time Today, 12:49 Joined Jul 26, 2013 Messages 10,670 Oct 28, 2020 #2 What are you trying to achieve - that syntax makes no sense? It should be IIf( Logical Comparison , Result if True , Result if False) Note they are separated by comma's no quotes or semicolons.
What are you trying to achieve - that syntax makes no sense? It should be IIf( Logical Comparison , Result if True , Result if False) Note they are separated by comma's no quotes or semicolons.
arnelgp ..forever waiting... waiting for jellybean! Local time Today, 19:49 Joined May 7, 2009 Messages 20,361 Oct 28, 2020 #3 =Switch(IsNull([date3]), "NotOK", [date3]=Date(), "OK", True, "NotOK")
Gasman Enthusiastic Amateur Local time Today, 12:49 Joined Sep 21, 2011 Messages 17,079 Oct 28, 2020 #4 https://docs.microsoft.com/en-us/office/vba/Language/Reference/user-interface-help/iif-function
S SalmanZeiad Member Local time Today, 14:49 Joined Oct 30, 2017 Messages 112 Oct 28, 2020 #5 arnelgp said: =Switch(IsNull([date3]), "NotOK", [date3]=Date(), "OK", True, "NotOK") Click to expand... Very well your idea succeeded......But i replaced , to ; thank you
arnelgp said: =Switch(IsNull([date3]), "NotOK", [date3]=Date(), "OK", True, "NotOK") Click to expand... Very well your idea succeeded......But i replaced , to ; thank you