One inch is equal to 2.54 cm.
Let's assume that in Excel, A1 contains a measurement in cm., A2 contains a measurement in inches, and you want to convert everything to cm.; the formula would be: =A1*2.54 + A2.
To convert cm. to inches, instead of multiplying by 2.54 you have to divide by 2.54.