Sorry for the long post. π
OK, here's cleaned up versions of the "RHP Rating Changes" spreadsheet for both Excel and OpenOffice. The only real difference is that Excel uses comma separators in conditional statements, and OpenOffice uses semicolons. However, I've also moved stuff around and added some stuff, so many of the cell numbers have changed.
As noted previously, your rating cannot be provisional. Also, if your opponent is provisional, the provisional output for your opponent will display as very large negative numbers, indicating the fact that provisional ratings are calculated in a different manner that requires knowing the prior provisional rating history. This is clearly something that can't be modeled with this spreadsheet.
For entering data into cells, enter information between the quotes, but leave off the quotes. Copy and pasting is quicker and more accurate than retyping the data.
Here's the data for the Excel spreadsheet:
In cell A5, type "Enter your rating (non-provisional) in cell E5"
In cell A8, type "Enter your opponent's rating in cell E8"
In cell A10, type "If opponent is provisional, enter P in cell E10"
In cell A12, type "If opponent is provisional, enter number"
In cell A13, type "of games opponent has played in cell E13"
In cell A18, type "Your win expectancy"
In cell A19, type "Your K factor"
In cell A20, type "Provisional opponent adjustment factor"
In cell A22, type "Your rating change for"
In cell A27, type "Your new rating for"
In cell C23, type "Your win"
In cell C24, type "Your draw"
In cell C25, type "Your loss"
In cell C28, type "Your win"
In cell C29, type "Your draw"
In cell C30, type "Your loss"
In cell D17, type "Output"
In cell D18, type "=IF(AND(OR(E10="P",E10="p" ),E13<5),1/(10^((1200-E5)/400)+1),1/(10^((E8-E5)/400)+1))"
In cell D19, type "=IF(AND(0<=E5,E5<=2099),32,IF(AND(2099<E5,E5<=2399),24,16))"
In cell D20, type "=IF(OR(E10="P",E10="p" ),0.5,1)"
In cell D23, type "=D20*D19*(1-D18)"
In cell D24, type "=D20*D19*(0.5-D18)"
In cell D25, type "=D20*D19*(0-D18)"
In cell D28, type "=E5+D23"
In cell D29, type "=E5+D24"
In cell D30, type "=E5+D25"
In cell E3, type "Input"
In cell F1, type "RHP Rating Changes"
In cell G18, type "Opponent's win expectancy (if non-provisional)"
In cell G19, type "Opponent's K factor (if non-provisional)"
In cell G22, type "Opponent's rating change (if non-provisional) for"
In cell G27, type "Opponent's new rating (if non-provisional) for"
In cell I23, type "Opponent's win"
In cell I24, type "Opponent's draw"
In cell I25, type "Opponent's loss"
In cell I28, type "Opponent's win"
In cell I29, type "Opponent's draw"
In cell I30, type "Opponent's loss"
In cell K17, type "Output"
In cell K18, type "=IF(OR(E10="P",E10="p" ),-9999999,1/(10^((E5-E8)/400)+1))"
In cell K19, type "=IF(OR(E10="P",E10="p" ),-9999999,IF(AND(0<=E8,E8<=2099),32,IF(AND(2099<E8,E8<=2399),24,16)))"
In cell K23, type "=IF(OR(E10="P",E10="p" ),-9999999,K19*(1-K18))"
In cell K24, type "=IF(OR(E10="P",E10="p" ),-9999999,K19*(0.5-K18))"
In cell K25, type "=IF(OR(E10="P",E10="p" ),-9999999,K19*(0-K18))"
In cell K28, type "=IF(OR(E10="P",E10="p" ),-9999999,E8+K23)"
In cell K29, type "=IF(OR(E10="P",E10="p" ),-9999999,E8+K24)"
In cell K30, type "=IF(OR(E10="P",E10="p" ),-9999999,E8+K25)"
And here's the data for the OpenOffice spreadsheet:
In cell A5, type "Enter your rating (non-provisional) in cell E5"
In cell A8, type "Enter your opponent's rating in cell E8"
In cell A10, type "If opponent is provisional, enter P in cell E10"
In cell A12, type "If opponent is provisional, enter number"
In cell A13, type "of games opponent has played in cell E13"
In cell A18, type "Your win expectancy"
In cell A19, type "Your K factor"
In cell A20, type "Provisional opponent adjustment factor"
In cell A22, type "Your rating change for"
In cell A27, type "Your new rating for"
In cell C23, type "Your win"
In cell C24, type "Your draw"
In cell C25, type "Your loss"
In cell C28, type "Your win"
In cell C29, type "Your draw"
In cell C30, type "Your loss"
In cell D17, type "Output"
In cell D18, type "=IF(AND(OR(E10="P";E10="p" );E13<5);1/(10^((1200-E5)/400)+1);1/(10^((E8-E5)/400)+1))"
In cell D19, type "=IF(AND(0<=E5;E5<=2099);32;IF(AND(2099<E5;E5<=2399);24;16))"
In cell D20, type "=IF(OR(E10="P";E10="p" );0.5;1)"
In cell D23, type "=D20*D19*(1-D18)"
In cell D24, type "=D20*D19*(0.5-D18)"
In cell D25, type "=D20*D19*(0-D18)"
In cell D28, type "=E5+D23"
In cell D29, type "=E5+D24"
In cell D30, type "=E5+D25"
In cell E3, type "Input"
In cell F1, type "RHP Rating Changes"
In cell G18, type "Opponent's win expectancy (if non-provisional)"
In cell G19, type "Opponent's K factor (if non-provisional)"
In cell G22, type "Opponent's rating change (if non-provisional) for"
In cell G27, type "Opponent's new rating (if non-provisional) for"
In cell I23, type "Opponent's win"
In cell I24, type "Opponent's draw"
In cell I25, type "Opponent's loss"
In cell I28, type "Opponent's win"
In cell I29, type "Opponent's draw"
In cell I30, type "Opponent's loss"
In cell K17, type "Output"
In cell K18, type "=IF(OR(E10="P";E10="p" );-9999999;1/(10^((E5-E8)/400)+1))"
In cell K19, type "=IF(OR(E10="P";E10="p" );-9999999;IF(AND(0<=E8;E8<=2099);32;IF(AND(2099<E8;E8<=2399);24;16)))"
In cell K23, type "=IF(OR(E10="P";E10="p" );-9999999;K19*(1-K18))"
In cell K24, type "=IF(OR(E10="P";E10="p" );-9999999;K19*(0.5-K18))"
In cell K25, type "=IF(OR(E10="P";E10="p" );-9999999;K19*(0-K18))"
In cell K28, type "=IF(OR(E10="P";E10="p" );-9999999;E8+K23)"
In cell K29, type "=IF(OR(E10="P";E10="p" );-9999999;E8+K24)"
In cell K30, type "=IF(OR(E10="P";E10="p" );-9999999;E8+K25)"
If you want to, you can dress up the spreadsheet a little:
You can change the font of the "RHP Rating Changes", "Input", and "Output" headings to bold and a larger size font.
You can add a background color (light pastel yellow or something similar) to input cells E5, E8, E10, and E13.
You can add a background color (light pastel blue or something similar) to output cells D18-D20, D23-D25, D28-D30, K18, K19, K23-K25, and K28-K30.
You can even add a single border around the blocks of cells D18-D30, E5-E13, and K18-K30.