I'm no expert....but have taken a long range shooting course...Windage is all about the ability to "Read" the wind and estimate its speed. Also having the ability to gauge whether it is full value ( blowing 90 degress from one side to another ), half value, quarter value etc. We were taught to watch heat waves in the distance.. through the scope...assess movement of trees and tall grass etc. At the range...you can put out range flags to read the wind and estimate how fast it is.
If there is a formula...that would be great....but I suspect it's a learned ability to read the environment around you at the time. Also...your windage adjustments will vary just as your elevation does...for every caliber and load. Invest in a quality program to plug your data into....and you'll get quality "Dope" or data that you can use to make your adjustments. I use a program called ExBal....and the thing is scary accurate..as long as the information I plug into is as accurate.
Good Luck,
Wayne