A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how do you flip a column containing different text in each cell



 
 
Thread Tools Display Modes
  #1  
Old February 23rd, 2010, 02:36 PM posted to microsoft.public.excel.newusers
cybermix
external usenet poster
 
Posts: 1
Default how do you flip a column containing different text in each cell

column contains from top to bottom: A,B,C,D,E
and i want a column conatining after flip: E,D,C,B,A
  #2  
Old February 23rd, 2010, 04:03 PM posted to microsoft.public.excel.newusers
Luke M[_3_]
external usenet poster
 
Posts: 4
Default how do you flip a column containing different text in each cell

Data - Sort -Descending?
"cybermix" wrote in message
...
column contains from top to bottom: A,B,C,D,E
and i want a column conatining after flip: E,D,C,B,A



  #3  
Old February 23rd, 2010, 04:12 PM posted to microsoft.public.excel.newusers
SVanDee[_2_]
external usenet poster
 
Posts: 2
Default how do you flip a column containing different text in each cell

Are the entries always in ascending alphabetical order as in the example? If
so, you can just select the column and Sort it in descending order. I doubt
if they are or you wouldn't have had to ask how to reverse them. If they
aren't, you can enter the following formula in column B1 and then copy it
down.

= OFFSET($A$1,MATCH("*",A:A,-1)-ROW(B1),0)

The MATCH("*",A:A,-1) expression returns the row number of the last
non-blank cell in column A. (Thanks to
http://www.mrexcel.com/forum/showthread.php?t=15062 for this trick.).

This assumes the values start in A1. You'll need to modify the formula if
they don't,


  #4  
Old February 23rd, 2010, 04:29 PM posted to microsoft.public.excel.newusers
JLatham
external usenet poster
 
Posts: 1,896
Default how do you flip a column containing different text in each cell

Well, if your column is sorted ascending alphabetically as in your example,
easiest thing to do would be to copy it to another copy and sort that column
in descending order.

But I suspect it's not that easy, so assuming your initial column is column
A and entries begin in row 1 and continue down the column unbroken (no empty
cells), then put this into row 1 of the other column:
=OFFSET($A$1,(COUNTA(A:A)-ROW()),0)
and fill it down to the end of the list in column A and see if that doesn't
do the trick.



"cybermix" wrote:

column contains from top to bottom: A,B,C,D,E
and i want a column conatining after flip: E,D,C,B,A

  #5  
Old February 24th, 2010, 02:27 AM posted to microsoft.public.excel.newusers
T. Valko
external usenet poster
 
Posts: 15,759
Default how do you flip a column containing different text in each cell

Try this...

Data in the range A1:A5

Enter this formula in B1 and copy down to B5:

=INDEX(A$1:A$5,ROWS(A1:A$5))

--
Biff
Microsoft Excel MVP


"cybermix" wrote in message
...
column contains from top to bottom: A,B,C,D,E
and i want a column conatining after flip: E,D,C,B,A



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.