Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default copy columns with order reversed

I have 10 columns "column 1" .. "column 10" from left to right in a
source sheet. I want to copy them to another sheet such that the
columns are now ordered "column 10" .. "column 1" from left to right.

It feels like this should be very easy to do; but for some reason I
have not managed to figure out the solution. Can someone point me in
the right direction?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 751
Default copy columns with order reversed

You can use the OFFSET function. Say your data start in Sheet1!D7 and
extend to column M, say until M123. In the destination sheet, wherever
you want your data to start:

=OFFSET('Sheet 1'!$D7,0,COLUMN('Sheet 1'!$D7)+COLUMNS('Sheet 1'!
$D7:$M123)-COLUMN('Sheet 1'!D7)-1)

You can copy this formula down and accross, after modifying the cell
references (but not the $$).

HTH
Kostis Vezerides

On Dec 11, 7:04 pm, Karra wrote:
I have 10 columns "column 1" .. "column 10" from left to right in a
source sheet. I want to copy them to another sheet such that the
columns are now ordered "column 10" .. "column 1" from left to right.

It feels like this should be very easy to do; but for some reason I
have not managed to figure out the solution. Can someone point me in
the right direction?


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
what is reversed conditional formatting? swati Excel Worksheet Functions 4 July 17th 07 09:50 AM
columns reversed lou Excel Worksheet Functions 3 May 14th 06 05:42 PM
blank sheet excel columns are reversed r to l.Why? lou Excel Discussion (Misc queries) 1 May 14th 06 12:39 PM
reversed columns Vulcan Excel Discussion (Misc queries) 2 June 29th 05 02:05 PM
Why are my columns and rows reversed when I open Excel Deb Web Excel Discussion (Misc queries) 1 June 9th 05 11:06 PM


All times are GMT +1. The time now is 03:14 AM.

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"