# 345 Convert to Roman Numeral

<-- Enter Positive Number less than 4000 or a Roman Numeral with numeric value less than 4000

Convert 345 to a Roman numeral given that I=1, V=5, X=10, L=50, C=100, D=500, and M=1,000

We start with a total letter value of 345 that we want to work backwards with each letter until 0.
We want to build a Roman numeral term letter by letter as well, starting with nothing.
Dividing our current quantity of 345 by each Roman numeral Value, we need 3 of letter C
We piece that together with our Roman numeral(s) term of to get: + CCC = CCC
Since we needed 3 of the letter C, our total value of letters becomes: 3 * 100 = 300
Our new decreasing total now becomes: 345 - 300 = 45

Dividing our current quantity of 45 by each Roman numeral Value, we need 4 of X
Since we want 3 or less of a letter, we need to do subtraction by writing the next letter of L in front of X
We piece that together with our Roman numeral(s) term of CCC to get: CCC + XL = CCCXL
Since we needed 1 of the letter X and 1 of the letter L, our total value of letters becomes: 50 - 10 = 40
Our new decreasing total now becomes: 45 - 40 = 5

Dividing our current quantity of 5 by each Roman numeral Value, we need 1 of letter V
We piece that together with our Roman numeral(s) term of CCCXL to get: CCCXL + V = CCCXLV
Since we needed 1 of the letter V, our total value of letters becomes: 1 * 5 = 5
Our new decreasing total now becomes: 5 - 5 = 0

Since our decreasing total now equals 0, we have our answer of CCCXLV

In Microsoft Excel or , you write this function as =ROMAN(345)