Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Moving Rows Up - based on contents

Hi all -

I'm having some issues, and wonder if this can be done easily (I'm not
much of a programmer as I've been told :)

I have a spreadsheet with values of C, M, U or blank in various cells.
What I would like to do is:

* For each column (2 to N):
1. Find the first value='C' and CUT the entire ROW it resides in.
2. Move the Rows below the CUT row up
3. INSERT the entire cut ROW it resides in to the first available row
(row 2 in this case)

4. Find the next value='C' (down the column) and repeat steps 1-3 until
no more C's in the column, INSERTing the rows below the previous ROW
that was inserted

*End when all columns have been evaluated*

In the end, all rows will contain a 'C' value, and they will be ordered
from top-left to bottom-right, with some columns with multiple 'C's

Anyone care to share an easy way to do this?

Thanks,

Travis

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
Moving Rows to another sheet based on an entry Liketoknow Excel Worksheet Functions 0 August 22nd 06 04:50 AM
Moving Rows Up - based on contents AskTravis Excel Programming 0 January 2nd 06 08:29 PM
Moving rows from one sheet to another based on a particular cell v mm Excel Discussion (Misc queries) 0 November 11th 05 06:29 PM
moving contents of cells based on criteria scottwilsonx[_71_] Excel Programming 1 November 12th 04 05:56 PM
moving rows based on criteria Phillips Excel Programming 3 December 10th 03 10:17 AM


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