You can easily use goal seek in excel. No macro needed, but my way would be a one-by-one calculation - not a batch calculation for a long list of pipe.
Basically, you are putting manning's equation in one cell, with references to other cells for n, R, and S. You'll need R as a function of...