LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default Q: columns to rows

=INDIRECT("Sheet1!R"&COLUMN()&"C"&ROW(),FALSE)

The formula essentialy switches the row and column (ie. C7 will link to F3
of Sheet1).

You can shorten it, in your case by using

=INDIRECT("Sheet1!R1"&"C"&ROW(),FALSE)

This will only look at row 1. (ie. B7 will link to E1 of sheet1).

The INDIRECT function should point you in the right direction. Let me know
if you need more help. You can't do a whole row at a time without copying
and pasteing the formula, unless you use a macro (can't help you there).

"JIM.H." wrote:

Hi Sloth,
Thanks, this is great help. This takes row=1, if I need row=2, I want to
type 2 somewhere in this Sheet 2 and get second row from Sheet1 in the same
column in sheet2, is there any way I can change '=Sheet1!A1' to make it
dynamic for row?


"Sloth" wrote:

=Sheet1!A1
=Sheet1!B1
=Sheet1!C1
etc.
to change the background color use conditional formating select "equal to"
and insert 0. Then click format and choos the color you want.

"JIM.H." wrote:

Hi Phillycheese5
Thanks for your response. However, I need to keep link between sheet1 and
new sheet2. If the data has changed in sheet1, it should be changed in sheet2
too.


"Phillycheese5" wrote:


Jim,
Select A1:Z1 and copy it, then select cell A1 on the second sheet. Use
paste special (check the transpose box). That flips your data from
horizontal to vertical so it's in rows.
To format the cells, go to Format: Conditional formatting. If the cell
value is "equal to" then specify "0" and click the format button to
select the color of the pattern you want.
Hope it helps,
Phillycheese


--
Phillycheese5
------------------------------------------------------------------------
Phillycheese5's Profile: http://www.excelforum.com/member.php...o&userid=24196
View this thread: http://www.excelforum.com/showthread...hreadid=491051


 
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
convert columns to rows & rows to columns ROCKWARRIOR Excel Discussion (Misc queries) 2 September 23rd 05 06:31 PM
How to swap rows and columns? [email protected] Excel Discussion (Misc queries) 5 September 21st 05 08:07 AM
hidden rows & columns slow file open Simon Shaw Excel Discussion (Misc queries) 0 April 5th 05 12:21 AM
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM
Can I split my worksheet and have different size columns and rows. tommy Excel Discussion (Misc queries) 1 February 16th 05 11:17 PM


All times are GMT +1. The time now is 07:41 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"