One day I purchase €$N_1$ at an exchange rate of £1 = €$R_1$, for a cost of £$\frac{N_1}{R_1}$
The next day I purchase €$N_2$ at an exchange rate of £1 = €$R_2$, for a cost of £$\frac{N_2}{R_2}$
How do I calculate the "average" exchange rate, i.e. what is the equivalent exchange rate $R$ such that if I purchased €$(N_1+N_2)$ I would have spent the same amount?
How can I generalise that to more than two transactions?