A discussion about water coning in gas well have been detailed by Trimble & DeRose in SPE Paper (SPE-5873-PA). However, the calculation is somehow so tricky. This spreadsheet will make it easy for everybody.
Latest version of the spreadsheet can be downloaded here: DOWNLOAD