excel help with formula

Job ID: 32748530

Budget: €8 – €30 EUR

I need help in writing an excel formula that will calculate the sum for different routes changing in a 25x25 matrix. In the matrix, the distance between the bus stops is given in km. this distance I need to be able to find the total distance for each different set of routes I have.
Related categories: Visual Basic Data Processing Excel