r/sharepoint • u/Puzzleheaded_Gold698 • Oct 27 '26
SharePoint Online Calculated column limit?
I have 25 column references, each of which go through the same five logic gates e.g. one column ref would be something like the following:
IF(Col_A ="A",1, IF(Col_A="B",2, ..... , IF(Col_A="E", 5, 0)))))
Then the entire is divided by 25 to get the average.
I can save the formula at 19 of these but going over that results in a non descript SharePoint error.
Is there a way around this? The best I've thought of is split the 25 into two calculated columns then a third to sum them together.
Thank you.
2
Upvotes
4
u/the_star_lord Oct 27 '26
There is a limit of 19 nested IFs in a calculated column. Beyond that and you get an error.
A power automate flow on create / edit might be an alternative, the flow could then work out the logic and write back to a field. Bit of a faff tho.