SUM(ABOVE) functionality in apache poi or docx4j

I am trying to implement =SUM(ABOVE) function in docx which is used to sum all elements above to tht column. I was able to implement this with apache poi using : CTSimpleField sumAbove = …