hello,
i've got same problem with writting a macro which will create a table in one sheet based on two other sheets. Like you can see in att i've got one table in sheet1 and second one in sheet2. I need to create new table in sheet three based on those two tables. But it's no so easy for me, becouse values should apear in specific column depend from which table they were taken.
e.g.
if name1 apear only on sheet1, on sheet3 there should be name1 and values from sheet1 in column value1, and 0 in column value2
if name apear only on sheet2, on sheet3 there should be name and values from sheet2 in column value2, and 0 in column value1
and
if name apear on both (sheet1 and sheet2) there should be name on sheet3, values from sheet1 in column value1 and values from sheet2 in column value2.
I hope Everything will be more clear if you check att excel file and picture.
I know what should we write in the code but i have no idea how to write it I hope that someone will help me. If something is unclear in this post, just write i'll try to explain in
ps.
i think that i should add that sometimes my tables got 500 and sometimes 900 rows, and values are different, e.g. -100, 0, +100. I don't know is it important?
I'll be really greateful if someone can help me.
Thank You in advance
Bookmarks