I think I know what you are talking about, Woodward84. If the CHN analysis for your compound comes out wrong, you can try calculating the compound as a hydrate or dihydrate. For example, if your compound is CxHyOz and doesn't give the same percent compositions, try CxHyOz .H2O. If you just assume that the impurity in your analysis is water, you can also back-calculate the number of moles of water required to make your formula match your analysis. That back-calculation is what shows up in a lot of simple excel spreadsheets to calculate the amount of water in your molecule. It's fairly simple math - go ahead and try to set it up.
Whether this type of CHN should be published or presented is an ongoing argument.