Excel - Add a suffix or prefix

October 2016


I need a formula that will add a zero at the end of a 4 digit number in each cell.


Use this formula:
Let say value is in A1, then in B1, use (to add zero as suffix):
=LEFT(A1 & "00000", 5) 

To add zero as prefix:
=RIGHT("00000" & A1, 5) 

Note that

Thanks to rizvisa1 for this tip on the forum.

Related :

This document entitled « Excel - Add a suffix or prefix » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.