2

I want to create a column in sharepoint 2010 foundation custom list which functions as the below code

If (Status = "Avail") then -1 ElseIf ((Status = "Apply") then 1 End IF

meaning that when ever while adding an item in the list the new column should have value 1 or -1 according to the option selected in column Status as Apply or Avail respectively.

Is it possible to create such a column

1 Answer 1

5

You'd want to do something like this:

=IF([Status]="Avail", "-1", "1")

This is a great resource on calculated columns.

1
  • Great! Since it resolved your issue, you can click the little check mark to show that. Commented May 15, 2012 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.