I have a table with 3 columns:
\begin{tabular}{|c|c|c|}
\textbf{C1} & \textbf{C2} & \textbf{SUM}
\hline
2 & 3 & 5
\end{tabular}
But, if I change C1 or C2, I have to change SUM manually.
In excel, I can use function like =C1+C2, then SUM will update automatically when C1 or C2 changed.
Can latex do that?

pgfplotstablecould probably do this. – Manuel Nov 02 '16 at 09:33spreadtab– Dai Bowen Nov 02 '16 at 09:37spreadtabjust knowledge that it does Excel type functions. I was not at a computer to provide any MWE so commenting seemed the best way to give the OP the necessary information (I probably should have invited somebody else to write a proper answer in this case). I normally do follow up on request to convert comments to answers though :) – Dai Bowen Nov 02 '16 at 12:53