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: 1
Default Move columns...


I am working on a macro to reformat an exported report. So fa
everything has been pretty easy going. Now I am at the point where i
gets bit complex.

In column A I have multiple cell that start with the word “Name
(persons name)” the rest of that row is blank. The next row, column
is blank but the rest of the row is filled with numbers. What I wan
the macro to do is find where Ax starts with “Name:” then take Bx+
(the next row starting with B) and move those numbers to the same ro
as A.

Befo
A B C D
1 Name: John Doe
2 10 19.95 15
3 Name: Sue Smith
4 40 15 99
5 Totals 50 34.95 114

After:
A B C D
1 Name: John Doe 10 19.95 15
2
3 Name: Sue Smith 40 15 99
4
5 Totals 50 34.95 114


So, can anyone help me with this?

Thanks in advance!
Oogi

--
Oogi
-----------------------------------------------------------------------
Oogie's Profile: http://www.excelforum.com/member.php...fo&userid=3734
View this thread: http://www.excelforum.com/showthread.php?threadid=57044

 
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
Move rows into columns TR53 Excel Discussion (Misc queries) 4 August 1st 10 08:59 AM
move two columns of data to four columns PB Excel Discussion (Misc queries) 1 February 24th 10 12:54 AM
move sum to different columns tkincaid Excel Discussion (Misc queries) 2 January 10th 09 07:25 PM
move multiple columns into single set of columns mrg9999 Excel Discussion (Misc queries) 1 September 25th 07 05:08 AM
Excel - move between columns Jody R - Trees Excel Discussion (Misc queries) 2 August 1st 05 09:01 PM


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