PC Review


Reply
Thread Tools Rate Thread

copy columns with order reversed

 
 
Karra
Guest
Posts: n/a
 
      11th Dec 2007
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 With Quote
 
 
 
 
vezerid
Guest
Posts: n/a
 
      11th Dec 2007
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 <ska...@gmail.com> 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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tab Order doesn't work or reversed. lomegah Microsoft Dot NET Framework Forms 2 18th Sep 2009 09:48 AM
Re: sort order reversed? Robert Gault Windows XP Customization 0 20th Dec 2006 01:24 PM
Columns reversed order; tab backwards =?Utf-8?B?RExvcA==?= Microsoft Access Database Table Design 1 27th Oct 2005 06:32 AM
Create copy of sheet using VB with columns in different order =?Utf-8?B?QnJ5YW4=?= Microsoft Excel Programming 1 4th May 2005 04:40 AM
Correct Reversed Directory order? *****MILES***** Windows XP Customization 2 14th Jan 2004 10:37 PM


Features
 

Advertising
 

Newsgroups
 


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