Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default copy and paste function

When I copy one column to next column, the function should be auto changed to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
....

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
....
How should we set ? Or could not ?

Thanks a lot!

Mike HK
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default copy and paste function

I can't answer your question, but I wonder why you said =F5&""&F6 rather
than just =F5&F6 (and similarly in your other expressions)?
If you had said =F5&" "&F6 (with a space between the quotes) then I could
have understood it, but without the space the &""& seems equivalent to &
--
David Biddulph

"mike3004" wrote in message
...
When I copy one column to next column, the function should be auto changed
to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
...

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
...
How should we set ? Or could not ?

Thanks a lot!

Mike HK



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default copy and paste function

F G
a
b a b
c a b c
d a b c d
e a b c d e

Is this what you want?
Sub accumulate()
mystr = Cells(4, "f")
For i = 5 To Cells(Rows.Count, "f").End(xlUp).Row
mystr = mystr & " " & Cells(i, "f")
Cells(i, "g") = mystr
Next i
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"mike3004" wrote in message
...
When I copy one column to next column, the function should be auto changed
to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
...

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
...
How should we set ? Or could not ?

Thanks a lot!

Mike HK


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default copy and paste function

Download and install the free add-in Morefunc.xll from:
http://xcell05.free.fr/english/

....then try this formula

=MCONCAT(IF(F5<"",$F$5:F5,""))

copy down as far as needed


"mike3004" wrote:

When I copy one column to next column, the function should be auto changed to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
...

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
...
How should we set ? Or could not ?

Thanks a lot!

Mike HK

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default copy and paste function

If I understand your question correctly, consider this. Let's say your first
formula (=F5&F6) is in G5, then put this in G6 and copy down...

=G1&F7

Rick


"mike3004" wrote in message
...
When I copy one column to next column, the function should be auto changed
to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
...

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
...
How should we set ? Or could not ?

Thanks a lot!

Mike HK




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default copy and paste function

I think Rick intended to say =G5&F7 instead of =G1&F7
--
David Biddulph

"Rick Rothstein (MVP - VB)" wrote in
message ...
If I understand your question correctly, consider this. Let's say your
first formula (=F5&F6) is in G5, then put this in G6 and copy down...

=G1&F7

Rick


"mike3004" wrote in message
...
When I copy one column to next column, the function should be auto
changed to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
...

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
...
How should we set ? Or could not ?

Thanks a lot!

Mike HK




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default copy and paste function

I just have to see if I can trade my fingers in for a new set... they never
seem to type I am thinking anymore.<g

Thanks for catching that David.

Rick


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
I think Rick intended to say =G5&F7 instead of =G1&F7
--
David Biddulph

"Rick Rothstein (MVP - VB)" wrote in
message ...
If I understand your question correctly, consider this. Let's say your
first formula (=F5&F6) is in G5, then put this in G6 and copy down...

=G1&F7

Rick


"mike3004" wrote in message
...
When I copy one column to next column, the function should be auto
changed to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
...

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
...
How should we set ? Or could not ?

Thanks a lot!

Mike HK





  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default copy and paste function

Thanks all warm reply!
Let me explain my requires, I want to access text from F4 to F100 indeed:
such as
F4 I
F5 feel
F6 so
F7 happy
....
anyone have idea?

"Rick Rothstein (MVP - VB)" wrote:

I just have to see if I can trade my fingers in for a new set... they never
seem to type I am thinking anymore.<g

Thanks for catching that David.

Rick


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
I think Rick intended to say =G5&F7 instead of =G1&F7
--
David Biddulph

"Rick Rothstein (MVP - VB)" wrote in
message ...
If I understand your question correctly, consider this. Let's say your
first formula (=F5&F6) is in G5, then put this in G6 and copy down...

=G1&F7

Rick


"mike3004" wrote in message
...
When I copy one column to next column, the function should be auto
changed to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
...

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
...
How should we set ? Or could not ?

Thanks a lot!

Mike HK





  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default copy and paste function

Teethless mama

I try your addin fucntion , this is exactly done from my case.
Thank you!

Mike HK


"Teethless mama" wrote:

Download and install the free add-in Morefunc.xll from:
http://xcell05.free.fr/english/

...then try this formula

=MCONCAT(IF(F5<"",$F$5:F5,""))

copy down as far as needed


"mike3004" wrote:

When I copy one column to next column, the function should be auto changed to:
=F5&""&F6
=F6&""&F7
=F7&""&F8
...

But I want to change like these:
=F4&""&F5
=F4&""&F5&""&F6
=F4&""&F5&""&F6&""&F7
=F4&""&F5&""&F6&""&F7&""&F8
...
How should we set ? Or could not ?

Thanks a lot!

Mike HK

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
Copy and Paste function TamIam Excel Worksheet Functions 3 April 14th 08 11:30 PM
Copy & Paste value Function Dinesh Excel Worksheet Functions 5 July 27th 06 08:52 PM
cut,copy paste function TUNGANA KURMA RAJU Excel Discussion (Misc queries) 0 December 9th 05 07:21 AM
prevent the copy and paste function sir Lancelot Excel Discussion (Misc queries) 1 December 8th 05 01:16 AM
Control function for copy/paste Vicky Excel Worksheet Functions 0 August 19th 05 02:00 PM


All times are GMT +1. The time now is 07:06 AM.

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

About Us

"It's about Microsoft Excel"