Home » excel » excel – How to add ' before and after number

excel – How to add ' before and after number

Posted by: admin May 14, 2020 Leave a comment


I am new to Excel I have a around 3000 purchase numbers and I need add ' before and after the numbers, and I need a , after each row’s closing '.



Don’t know how to do in Excel please help me on this.

Thanks in Advance

How to&Answers:

Assuming you have data in C3, here is the formula that will do the trick:


and you may then drag it down.

enter image description here


One of two/three (depending on version) ways to achieve this. Assuming your purchase numbers are in A2 down:


=CONCAT("'",A2,"',") Newer versions of Excel uses this as well

=CONCATENATE("'",A2,"',") This is the older version of excel’s Concatenate formula