Passive Voltage Divider attenuator design technique
To make life a bit easier use the switch wiper connected to the first resistor and the other switch contacts to individual resistors that connect to ground. Only one resistor gets grounded therefore there is no interdependence: -







simulate this circuit &ndash; Schematic created using CircuitLab