LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 270
Default Search and Move - Cannot Figure This Out - Please Help

My spreadsheet has 4 columns, for example:

Col A B C D
Description Type Charge Offering
Alert $35 SO
Alert SO
Alert 9113 SO
Perform $ 5 SO
Perform $12 SO
Perform 9220 SO
Alert $19 SCO
Alert 8332 SCO
AA i/p $23 SO
AA i/p SO

I need to:
1) Go through each row of Col D; if it says 'SCO', then go to next row of
Col D.
2) If it says 'SO', then
a) If Col C 0, add the value in Col C to any other value in Col C
(going down)
until both Col A and Col B are < blank, and put that sum in Col C
on the
same row where both Col A and Col B are < blank, then erase the
individual entries in Col C used to come to that sum.
If during this process you ever find that both Col A and B are
blank, then
stop and go to the next row in Col D, and start over to see if it
says 'SO'
or 'SCO'.
b) If Col C is blank or = 0, then go to the next row of Col D and
start over to
see if it says 'SO' or 'SCO'.

I've struggled with this for quite some time and am desperately hoping
someone can help. The final product, using the example above and afer the
macro has run, should look like this:

Col A B C D
Description Type Charge Offering
Alert SO
Alert SO
Alert 9113 $35 SO
Perform SO
Perform SO
Perform 9220 $17 SO
Alert $19 SCO
Alert 8332 SCO
AA i/p $23 SO
AA i/p SO
 
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
Complex search, copy, and move opperation. Please HELP!!! Redoctober Excel Discussion (Misc queries) 3 September 9th 08 11:48 PM
Move names from Search to Excel Mark1 Excel Discussion (Misc queries) 5 October 27th 06 07:54 PM
Search and move?? Robert M. Gary[_2_] Excel Programming 4 November 18th 05 12:47 PM
How do I move data based on a conditional column search? bbaek Excel Programming 1 May 27th 05 04:17 PM
Search column and move text formula tommy Excel Discussion (Misc queries) 0 February 8th 05 06:55 PM


All times are GMT +1. The time now is 10:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"