honestly, I am not sure what you are trying to do, but I just gave you a hint, that it is hard to get an exact simple formula for anything other than infinite solenoid at DC.nYou can always try superimposing fields of distant coils for rough estimation in scratchpad, like people were doing 100 years ago with variable success... but there is a reason why numeric simulation methods were invented.n