To my experience, I suggest that you get accustomed and use the "index range" notation
which allows a more clear way of how you can manipulate indices by substitution/replacement, aggregation, etc.
So, in your particular case, some of the various possible manouvres are:
$$
\begin{gathered}
\sum\limits_{i = 0}^n {\sum\limits_{j = i}^{n - 1} {\left( {j - i + 1} \right)} } = \sum\limits_{\begin{array}{*{20}c}
{0\, \leqslant \,i\, \leqslant \,n} \\
{i\, \leqslant \,j\, \leqslant \,n - 1} \\
\end{array} } {\left( {j - i + 1} \right)} = \sum\limits_{\begin{array}{*{20}c}
{0\, \leqslant \,i\, \leqslant \,n} \\
{0\, \leqslant \,j - i\, \leqslant \,n - 1 - i} \\
\end{array} } {\left( {j - i + 1} \right)} = \hfill \\
= \sum\limits_{\begin{array}{*{20}c}
{0\, \leqslant \,i\, \leqslant \,n} \\
{1\, \leqslant \,j - i + 1\, \leqslant \,n - i} \\
\end{array} } {\left( {j - i + 1} \right)} = \sum\limits_{\begin{array}{*{20}c}
{0\, \leqslant \,i\, \leqslant \,n} \\
{1\, \leqslant \,k\, \leqslant \,n - i} \\
\end{array} } k = \sum\limits_{0\, \leqslant \,i\, \leqslant \,n} {\left( \begin{gathered}
n - i + 1 \\
2 \\
\end{gathered} \right)} = \hfill \\
= \sum\limits_{0\, \leqslant \,n - i\, \leqslant \,n} {\left( \begin{gathered}
n - i + 1 \\
2 \\
\end{gathered} \right)} = \sum\limits_{0\, \leqslant \,m\, \leqslant \,n} {\left( \begin{gathered}
m + 1 \\
2 \\
\end{gathered} \right)} = \sum\limits_{1\, \leqslant \,m + 1\, \leqslant \,n + 1} {\left( \begin{gathered}
m + 1 \\
2 \\
\end{gathered} \right)} = \cdots \hfill \\
\end{gathered}
$$
wherefrom you are left with performing the summation over he upper index of a binomial, which is classical formula that supposedly you know.