LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
BCNU
 
Posts: n/a
Default Merge text in sequential order

I have several files where I am trying to merge data in sequential order and
make into 1 file.
Sheet 1 col a is the master. col b and c have data already which I won't
change. col d is next empty column.

Sheet 2 has several values that I want to merege into sheet 1 at the
appropriate place so all values are in sequential order.

If Sheet 2's value is the same as something already on sheet 1, I just want
to copy it to the same row, but in col d. If Sheet 2's value doesn't exist
on Sheet 1, I want to insert a row and paste the value in column a and d.

Data now looks like this:
col a col b col c col d
1a34f45 dummy data
1a35111 more data

Sheet 2 looks like this
col a
1a34f46
1a35111

I would want the final sheet 1 to look like this
col a col b col c col d
1a34f45 dummy data
1a34f46 1a34f46 (new row, data
entered twice)
1a35111 more data 1a35111 (matched, so just copied
to col d)

Hope this makes sense. I've got a loop with if then stmts but I'm sure
there is a more efficient way to do this.
--
Thanx
 
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 to sort text and letter hybrid (eg A1, A2, A10) in order? Amy Excel Worksheet Functions 0 March 21st 06 06:39 PM
Number stored as text: Frustrated with Excel-Word Merge Marushel Excel Discussion (Misc queries) 2 March 11th 06 04:43 AM
How change dimensions of data label text box in pie chart? Gouden Willem Charts and Charting in Excel 3 March 7th 06 12:11 PM
How do I merge new text into existing text cells. bweiner Excel Discussion (Misc queries) 2 December 12th 05 12:36 AM
How do I merge the text content of two seperate cells into one? Kristine Excel Discussion (Misc queries) 3 October 12th 05 09:46 PM


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