Format Value (Calculation Across Selected Files)

I would think that a look at the scripting functions is a good first step:

and if that does not bring you any further, then

esp. the part about screenshots and examples.