Audra Breedlove
asked on
If then statement in SharePoint 2010
I need to know exactly have to write this statement in SharePoint
Background. I need 2 separate columns to populate dates if another column is NOT blank
for the MM Start column, I need it to populate a certain date based on [A2] not blank
MM Start Column
If [New MM ID] is not blank and [Comments]="add", then "4/27/2015"
If [New MM ID] is not blank and [Comments] = "remove", then " "
MM End column
If [New MM ID] is not blank and [Comments]="add", then "12/31/9999"
If [New MM ID] is not blank and [Comments] = "remove", then "4/27/2015"
If New is blank, I need for MM Start and MM End to stay blank
results
New MM ID Comments MM Start MM End
test add 4/27/2015 12/31/9999
test remove 4/27/2015
Background. I need 2 separate columns to populate dates if another column is NOT blank
for the MM Start column, I need it to populate a certain date based on [A2] not blank
MM Start Column
If [New MM ID] is not blank and [Comments]="add", then "4/27/2015"
If [New MM ID] is not blank and [Comments] = "remove", then " "
MM End column
If [New MM ID] is not blank and [Comments]="add", then "12/31/9999"
If [New MM ID] is not blank and [Comments] = "remove", then "4/27/2015"
If New is blank, I need for MM Start and MM End to stay blank
results
New MM ID Comments MM Start MM End
test add 4/27/2015 12/31/9999
test remove 4/27/2015
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER