If Statement Giving Wrong Output Issue Calculated Column
Question
I have this simple if statement where there are two columns.
- Column 1 = Score
- Column 2 = Test
This is the If Statement Code:
=IF([Score]>70,"A","F")
If the score is greater than 70 it should give an A in the Test Column. If it's less than 70 it's F.
The picture below is the issue.
Am I doing something wrong here?
La solution
I could reproduce your issue on my end if the column "Score" is a single line of text column.
Solution 1: change the type of column "Score" to number instead of single line of text.
Solution 2: add quotes to the number 70 in your formula, like this: =IF([Score]>"70","A","F")
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange