A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how do I paste an excel column into one cell...tia sal



 
 
Thread Tools Display Modes
  #1  
Old June 8th, 2005, 12:27 PM
external usenet poster
 
Posts: n/a
Default how do I paste an excel column into one cell...tia sal

Greetings All,

I have a column of about 30 values. I would like to paste all these values into one cell.

I tried Edit -Paste Special and choose "value" and "transpose" but it paste each value into it's on cell.
I would like to paste all these values into one cell.

TIA
sal


  #2  
Old June 8th, 2005, 12:45 PM
Duke Carey
external usenet poster
 
Posts: n/a
Default

You can't *paste* more than one cell into a single cell, but you can write a
formula that will pull all the other values into the cell with the formula.
Something like:

=A1&" "&A2&" "&A3&" "&A4&" "&A5&" "&A6&" "&A7& .. you get the idea

" wrote:

Greetings All,

I have a column of about 30 values. I would like to paste all these values into one cell.

I tried Edit -Paste Special and choose "value" and "transpose" but it paste each value into it's on cell.
I would like to paste all these values into one cell.

TIA
sal



  #3  
Old June 8th, 2005, 03:27 PM
sal
external usenet poster
 
Posts: n/a
Default

wrote in
:

Greetings All,

I have a column of about 30 values. I would like to paste all these
values into one cell.

I tried Edit -Paste Special and choose "value" and "transpose" but it
paste each value into it's on cell. I would like to paste all these
values into one cell.

TIA
sal



I found that I have to code it here is the code

Sub col_to_cel()
Dim str As String
Dim c As Range, rn As Range

Set rn = Selection
str = ""
strtest = "the"
For Each c In rn.Cells
str = str & "" & c.Value
Next
str = Right(str, Len(str))
rn.Offset(1, 0).Cells(rn.Rows.Count, 1).Value = str

End Sub
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Worksheet Functions 12 April 17th, 2005 10:36 PM
in excel can one repeat the text from a the last used column cell. Millard General Discussion 1 March 18th, 2005 06:33 PM
excel - numbers as text Thuferhawat New Users 12 January 24th, 2005 09:29 PM
Using Validation to force entry into cells? Mark General Discussion 16 October 27th, 2004 09:23 PM
Can you copy and paste a cell in excel that has speech to another. salli General Discussion 1 October 9th, 2004 03:31 AM


All times are GMT +1. The time now is 01:13 PM.


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