Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
doof205
 
Posts: n/a
Default Insert a "|" into every cell


I have a huge excel spreadsheet and i need to insert a | symbol at the
start of every cell. Obviously i dont want to do this manually and it'd
be nice to edit in some way so that this | symbol is automatically
inserted.

Does anyone have any ideas how this can be done?

Thanks for any help,

Lewis.


--
doof205
------------------------------------------------------------------------
doof205's Profile: http://www.excelforum.com/member.php...o&userid=28058
View this thread: http://www.excelforum.com/showthread...hreadid=475752

  #2   Report Post  
Max
 
Posts: n/a
Default

Select the range, type the symbol, then press CTRL+ENTER
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"doof205" wrote in
message ...

I have a huge excel spreadsheet and i need to insert a | symbol at the
start of every cell. Obviously i dont want to do this manually and it'd
be nice to edit in some way so that this | symbol is automatically
inserted.

Does anyone have any ideas how this can be done?

Thanks for any help,

Lewis.


--
doof205
------------------------------------------------------------------------
doof205's Profile:

http://www.excelforum.com/member.php...o&userid=28058
View this thread: http://www.excelforum.com/showthread...hreadid=475752



  #3   Report Post  
Max
 
Posts: n/a
Default

Select the range, type the symbol, then press CTRL+ENTER

should read better as:

Select the range,
click inside the formula bar and type the symbol,
then press CTRL+ENTER
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #4   Report Post  
doof205
 
Posts: n/a
Default


Sorry, i should have explained it more clearly. I actually want to keep
the data that is in the cells but insert a | before any existing data.

eg.

data - |data
more - |more

I hope this can be done, and thanks for the reply.

Lewis.


--
doof205
------------------------------------------------------------------------
doof205's Profile: http://www.excelforum.com/member.php...o&userid=28058
View this thread: http://www.excelforum.com/showthread...hreadid=475752

  #5   Report Post  
vezerid
 
Posts: n/a
Default

In the column adjacent to the data (let us say data are in column A:A),
use the following formula in the first cell (B1 in here)
="|"&A1

HTH
Kostis Vezerides



  #6   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi

Then in another sheet enter in A1 of Sheet2
="|"&Sheet1!A1
Copy down and across as required.
When complete, press Ctrl-A to mark the whole sheet, Ctrl-C to copy and
with the cursor in cell A1, Paste SpecialValues

Regards

Roger Govier



doof205 wrote:

Sorry, i should have explained it more clearly. I actually want to keep
the data that is in the cells but insert a | before any existing data.

eg.

data - |data
more - |more

I hope this can be done, and thanks for the reply.

Lewis.




  #7   Report Post  
Jim May
 
Posts: n/a
Default

Roger, I tried this VBA solution but get R/T 424 on line 4 (Object
required)..
I don't understand (this type thing happens all too often - as obviously I
haven't begun to understand this mysterious
"Excel Object Model" beast. grrrrrrrrr

Sub Test()
Rng = Selection
For Each C In Rng
C.Value = "|" & C.Value
Next C
End Sub


"Roger Govier" wrote in message
...
Hi

Then in another sheet enter in A1 of Sheet2
="|"&Sheet1!A1
Copy down and across as required.
When complete, press Ctrl-A to mark the whole sheet, Ctrl-C to copy and
with the cursor in cell A1, Paste SpecialValues

Regards

Roger Govier



doof205 wrote:

Sorry, i should have explained it more clearly. I actually want to keep
the data that is in the cells but insert a | before any existing data.

eg.

data - |data
more - |more

I hope this can be done, and thanks for the reply.

Lewis.





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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update of cell values after insert row? dazman Excel Worksheet Functions 2 August 23rd 05 07:07 AM
Insert a number of rows based on a value in a cell on active row iRocco Excel Discussion (Misc queries) 1 August 11th 05 06:18 AM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 11:12 PM.

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"