Hi there,
The measurement of the unit without the hinges and door is 24 inches from the back, and the height is 70 ¾ inches. With the hinges and door, the height will be 73 inches, which does not fit your cabinet. For detailed measurements, please check the specification sheet below.
Specification Sheet
https://image-us.samsung.com/SamsungUS/home/pdf/RM80F23VMR_V5.pdf
Have a nice day!
^Camille