Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Desmo
 
Posts: n/a
Default Inverting a data column


Greetings,

I am attempting to invert a column of numeric data (4000-entries)
without choosing ascending or descending order as the data has no
numeric order.

Is there a command or serise of commands to use without writing a
formula to erform the action?

Thanks,

Mike


--
Desmo
------------------------------------------------------------------------
Desmo's Profile: http://www.excelforum.com/member.php...o&userid=25726
View this thread: http://www.excelforum.com/showthread...hreadid=391357

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


There may be neater solutions, but until something better comes along,
you can accomplish this by using a couple of helper columns. Assuming
your data is in Column A, starting in A1, insert blank Columns B & C.
In C2 enter -1, in C3 enter -2. Highlight these two cells and drag to
the last row of the range of data in A (the numbers should decrease -3,
-4....-nnn). Then in B1 enter this formula:

=Annn [where nnn is the number of the last row in your data set, e.g.
=A4000]

In B2, enter this formula:

=OFFSET($A$nnn,C2,0) [again, nnn is the last row]

copy this formula down to row nnn

Does this work for you?

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=391357

  #3   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

Easiest in my opinion is to put 1 in an adjacent cell in the first row, 2 in
the second row, then select 1 and 2 and drag fill down to the last (4000th
cell). Then select both columns and sort descending on the new numbers.
You could insert a column for this, then delete it.

--
Regards,
Tom Ogilvy

"Desmo" wrote in
message ...

Greetings,

I am attempting to invert a column of numeric data (4000-entries)
without choosing ascending or descending order as the data has no
numeric order.

Is there a command or serise of commands to use without writing a
formula to erform the action?

Thanks,

Mike


--
Desmo
------------------------------------------------------------------------
Desmo's Profile:

http://www.excelforum.com/member.php...o&userid=25726
View this thread: http://www.excelforum.com/showthread...hreadid=391357



  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

Even easier is to enter the 1 and 2 as Tom suggests then select those two
cells and double-click on the fill-handle(bottom-right corner of cell).

No dragging involved if adjacent column has contiguous data to row 4000.


Gord Dibben Excel MVP

On Fri, 29 Jul 2005 14:32:51 -0400, "Tom Ogilvy" wrote:

Easiest in my opinion is to put 1 in an adjacent cell in the first row, 2 in
the second row, then select 1 and 2 and drag fill down to the last (4000th
cell). Then select both columns and sort descending on the new numbers.
You could insert a column for this, then delete it.


  #5   Report Post  
Desmo
 
Posts: n/a
Default


Looks like you've hit the bulls eye... thanks for the assist.

Mike


--
Desmo
------------------------------------------------------------------------
Desmo's Profile: http://www.excelforum.com/member.php...o&userid=25726
View this thread: http://www.excelforum.com/showthread...hreadid=391357



  #6   Report Post  
RagDyeR
 
Posts: n/a
Default

I'll play that game Gord.<g

*Even easier*, is to enter this formula, and double click the fill handle.
and return *immediate* results, *no sorting* necessary:

=INDEX($A$1:$A$4000,4000-(ROW(A1)-1))
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Even easier is to enter the 1 and 2 as Tom suggests then select those two
cells and double-click on the fill-handle(bottom-right corner of cell).

No dragging involved if adjacent column has contiguous data to row 4000.


Gord Dibben Excel MVP

On Fri, 29 Jul 2005 14:32:51 -0400, "Tom Ogilvy" wrote:

Easiest in my opinion is to put 1 in an adjacent cell in the first row, 2

in
the second row, then select 1 and 2 and drag fill down to the last (4000th
cell). Then select both columns and sort descending on the new numbers.
You could insert a column for this, then delete it.



  #7   Report Post  
Gord Dibben
 
Posts: n/a
Default

Thanks RD

Gord

On Sat, 30 Jul 2005 15:46:54 -0700, "RagDyeR" wrote:

I'll play that game Gord.<g

*Even easier*, is to enter this formula, and double click the fill handle.
and return *immediate* results, *no sorting* necessary:

=INDEX($A$1:$A$4000,4000-(ROW(A1)-1))


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
How do I strip out some parts of a column of text data? footballcmr2 Excel Discussion (Misc queries) 3 July 1st 05 07:20 PM
Column charts with multiple data in each column steve root Charts and Charting in Excel 1 June 22nd 05 05:16 PM
2 Column Data lookup Hari Excel Discussion (Misc queries) 2 June 15th 05 07:54 AM
inverting a column of data LCC Excel Discussion (Misc queries) 4 December 21st 04 01:19 PM
Can you average data in 1 column based on a range of values in another? kman24 Excel Worksheet Functions 2 November 17th 04 02:09 PM


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