Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ann
 
Posts: n/a
Default How do I add (') at the beginning and end of a series of numbers?

I have a series of 6 digit number that I need to edit to be include (') at
the beginning and end and then place a (,) after each. Is there a quick way
to handle this rather than keying on every line, since there are over 400
lines? EX.
Befo 123456 After should appear: '123456',
I have tried to enter the (') in a cell and then concatenate, however the
(') does not appear in the cell
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jonathan Cooper
 
Posts: n/a
Default How do I add (') at the beginning and end of a series of numbers?

use the following helper formula.
=CONCATENATE("'",A1,"',")

to clarify, left parentheses, then a double quote, then a single quote, then
a double quote, then a comma, then A1, then a double quote, then a single
quote, then a comma and lastly a double quote followed by a right parentheses.

"Ann" wrote:

I have a series of 6 digit number that I need to edit to be include (') at
the beginning and end and then place a (,) after each. Is there a quick way
to handle this rather than keying on every line, since there are over 400
lines? EX.
Befo 123456 After should appear: '123456',
I have tried to enter the (') in a cell and then concatenate, however the
(') does not appear in the cell

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"