Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Move to bottom of table

I want to move rows with with a certain word in column A to the bottom of all
the rows. How can I do that in a macro?
--
H
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Move to bottom of table

Yes:

Either with a macro or in the worksheet without a macro:

Let's say that some cells in column A contain happy. and that those rows
want to be moved to the bottom.

In an un-used column enter:
=IF(A1="happy",99,1) and copy down. Then sort by the new column.


--
Gary's Student


"hfazal" wrote:

I want to move rows with with a certain word in column A to the bottom of all
the rows. How can I do that in a macro?
--
H

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 718
Default Move to bottom of table

Create a staging column (in unused area) with following formula:
=NOT(ISERROR(SEARCH(""fish"",A1)))

Then sort your data on that columnd ascending.

HTH
--
AP

"hfazal" a écrit dans le message de
...
I want to move rows with with a certain word in column A to the bottom of

all
the rows. How can I do that in a macro?
--
H



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Move to bottom of table

Hi,

This works within a worksheet but how would I do this in a macro? Also, the
table is already sorted by other columns, I don't want to screw up this
sorting, I just want to move rows that have certain input in column A to the
bottom of the table... any ideas?

Thanks
Hussein
--
H


"Gary''s Student" wrote:

Yes:

Either with a macro or in the worksheet without a macro:

Let's say that some cells in column A contain happy. and that those rows
want to be moved to the bottom.

In an un-used column enter:
=IF(A1="happy",99,1) and copy down. Then sort by the new column.


--
Gary's Student


"hfazal" wrote:

I want to move rows with with a certain word in column A to the bottom of all
the rows. How can I do that in a macro?
--
H

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 move the Pivot Table totals from the bottom row to the t. Bill Excel Discussion (Misc queries) 0 October 4th 07 09:28 PM
Can I move the tabs at the bottom to the top of the page? Jamie5284 Excel Discussion (Misc queries) 1 July 12th 07 04:00 PM
How to Move from bottom of one column to top of next Bonnie Excel Discussion (Misc queries) 1 December 21st 06 05:18 PM
Move to bottom of Column Nigel Excel Programming 6 December 22nd 05 06:33 PM
How can I take specific rows and move them to the bottom Mcobra41 Excel Worksheet Functions 1 February 28th 05 04:27 PM


All times are GMT +1. The time now is 08:05 PM.

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"