Hello
I would need a macro that can do this show in the file I've attached.
I need a macro needed to concatenate data in separate tables......
Very thanks for help
Hello
I would need a macro that can do this show in the file I've attached.
I need a macro needed to concatenate data in separate tables......
Very thanks for help
Last edited by 823; 02-06-2015 at 12:41 PM.
Try this:-
Results start "F1"
Duplicate thread, one response in each!
Why did you post the same question again 15 minutes after your first thread?
PLease look at the titles: they are similar but not the same!
![]()
Last edited by 823; 02-06-2015 at 12:42 PM.
Someone can help me please?
thanks
Try
![]()
Please Login or Register to view this content.
It works, Thanks!
But I need that if there's data at the right or at the left of the cells of first "table" the data will be simply reported....
Please see file attached....
On red color the data already present;
On blu the macro result;
On yellow the data that should be, but missing;
thank you!
You should upload the second file in the first place.
![]()
Please Login or Register to view this content.
Yes it Works!
But I would need to undestand what I have to change if the columns are differents;
I look the macro you posted, but I don't understand what i have to change if i change need to change column.....I try to explain me better:
For Ex.
Please see this file attached;
I need that the macro will copy the D column (yellow) of the "second table" in the C column of the "first table" (yellow) -always sorted by ID- leaving totally unaffected all data present in the column of the fisrt table previous and next.
So I need to understand what I have to modify in the macro If I have to copy for ex. column E of "second table" (purple) into column G of "first table"(purple).
Thanks
Last edited by 823; 02-07-2015 at 04:52 PM.
Someone is able to write me a macro quite simple to edit and change parameters?
Ps. The macro above runs well but I don't know what I have to change if i need to switch ex. To work on purple columns
THANKS FOR HELP
Last edited by 823; 02-07-2015 at 05:09 PM.
Ok my friend
You asked for a simple macro.
Well this is not simple.
But it will find your two tables in your spreadsheet and merge them into a new table at the bottom.
All you need to make sure is that the top left hand corner of the table contains the word ID.
![]()
Please Login or Register to view this content.
Last edited by mehmetcik; 02-07-2015 at 05:45 PM.
My General Rules if you want my help. Not aimed at any person in particular:
1. Please Make Requests not demands, none of us get paid here.
2. Check back on your post regularly. I will not return to a post after 4 days.
If it is not important to you then it definitely is not important to me.
Thanks Mehmetcik
....but It doesn't solve my problem....
I think I explained bad.....so It seemed more complicated than It is.....
Please forget all above
-> Look at this new file attached below.
I need a macro that let me to put the "yellow data" into the green column.
I need also to understand what I have to change in the macro If I need to put the yellow data in the blue column instead of the green.
The results It is better If they will copy directly into the first table, but If it is too complicated, It is ok also a new join-table result.
that's all!
THANKS
I will look at that for you tomorrow.
But How do I know that the data from table 2 column A needs to go to Table 1 column 1?
Do I need to test to see if it is empty? Or do I assume that it will be empty?
Hello,
Sorry but.....I don't have understood well your question anyway:But How do I know that the data from table 2 column A needs to go to Table 1 column 1?
The row will be sorted by ID number --- and I decide myself that the data from table 2 column A need to go to Table 1 column 1....
or if It is easyer to code we can do that the data will be copied in the first full white column on the right of the first table or we can do that the columns where the data will be read and copied have the same name; like you prefer.
It will be ALWAYS empty (no need to do any test to check If It is empty)Do I need to test to see if it is empty? Or do I assume that it will be empty?
Thank you
Last edited by 823; 02-07-2015 at 08:16 PM.
Try This:
If this meets your requirements we can copy that to a clean sheet and delete the old sheet.
Thanks,
but I've discoverd I had a problem with copy+paste excel comand; probably because my data exeed excel copy+paste limits.
So to avoid all this problems It is better I work in 2 separte sheets.
....I open another thread here, where I explained and try to semplificate the operation at maximun:
http://www.excelforum.com/excel-prog...ml#post3982389
thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks