Link to home
Start Free TrialLog in
Avatar of manelson05
manelson05Flag for United States of America

asked on

Formatting excel account numbers

I am trying to format hundreds of account numbers with beginning and ending apostrophes and each number ending with a comma.

I have the comma added as follows:=B2&","
I have the beginning apostrophe as follows: ="'"&C2
However I am not able to get the ending apostrophe or the two above to work properly.

Data set currently has accounts as follows 100-100-100, I am looking to have all the data as '100-100-100',
I need the data in this format for SQL import.


Thank you

Mark
Avatar of manelson05
manelson05
Flag of United States of America image

ASKER

I think I got it

="'"&B2&"'"&","

Look correct?
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ryan

My expression seemed to do the same thing but I award to you since yours is cleaner and you taught me to keep the construct in the last declaration.

Thank you sir, I appreciate you!

Mark