How can I add space to text in Excel(2010) for full fill text length.
example
In Excel sheet have 3 column A is length, B is actual text and D is expected text.
(B)text is ABVC but require text length is (A)6
then (D)text should be ” ABVC”(SpaceSpaceABVC) add space in font of old text to full fill length.
Assuming
A1=6andB1=ABVCyou can insert the following formula in D1:Note: I have added a check to make sure B1 is not more than 6 characters, if it is, I use it as is. You could truncate it with the
LEFTfunction.