Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default How do I "paste link", and "transpose" at the same time?

THanks Hector.
I guess there just isn't any easy way to do that in 2003...
Never thought about using "indirect" before. worth a try, but again it's
not safe for "inexperienced users" as my spreadsheets are shared by many
other people in the company as well...
====================
ask and you shall be answered


"Héctor Miguel" wrote:

hi, Zhi Sheng !

I'm using Excel 2003.
In "sheet 1", I have:
1
2
3
I want to paste link of these 3 cells into "sheet 2", and display them like:
1 2 3

I know I can use "transpose" array formula, but it's not "safe" when other
users of the spreadsheet are not familiar with array formula.


assuming your sheet1 data in range [A1:A3] and you need to "transpose-link" into
your sheet2 in range [A1:D1] (row for source data IS column in destination range)...
you could use indirect (worksheet function) and/or "put" the formula by code

(i.e.) within immediate code window (ctrl + G) from vba editor (alt + F11)
(sheet2 shall be the active sheet while...)
copy/paste/type the following and press enter to perform:

op1:
[a1:c1] = "=indirect(""'sheet1'!a""&column())"

op2:
[a1:c1] = "=indirect(address(column(),1,4,2,""sheet1"")) "

(adapt/modify/... as needed)
hth,
hector.



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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
problem with Linking workbooks via "copy" and "paste link" Arkitek Excel Discussion (Misc queries) 0 December 19th 06 10:03 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM


All times are GMT +1. The time now is 05:30 PM.

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"