You don't need that formula, Gain is roughly 20. To get 1Veff out (which isn't much for the speaker) you need 50mVeff at the input.
You have maximum 5V/0V at the input (before pot) - simple assume all three channels produce the same signal and the effect of the capacitors (C21..) is nearly zero due to high frequency.
This 5V/0V rectangle is equivalent to 2.5Veff - that is more than you wish to have at the outside
So you need to attenuate the sources by 2500/50 = 50. If you never ever want a higher amplitude, than Rser/Rpot must yield 50. That would roughly mean Rser = 470K, but as there are 3 in parallel (worst case) you need 1M5 (for R11, R12, R13 each).
As I said 1Veff out isn't much, P = U²/R = 1/8 = 125mW, a little more would helpful, say 250..400mW. Well we have P = U²/R so doubling U would mean 4x P. If you choose R11.. to 1M you would have upto 1,5x signal so 2,25x wattage. As this is peak power everything is fine.
I personally would choose R11,.. to 470K with a little risk of peak distortions.
One more hint: if you first join R11, R12, R13 and then insert the cap you save two caps.
Ah, and a 100µ or more supply bypass cap (parallel to C24) - the better the supply the better the sound