equation in general table for total linear pipe calc

Hello SW users.

I was wondering if there is a way that I can create an equation, per the attachment, in a general table that can sum the linear lengths of the column called "SWpipeLength"

Thanks,

~Justin

SolidworksRouting