Excel macro - data transfer. is this possible?

limey13

New Member
Joined
Aug 1, 2013
Messages
1
So i am wondering if there is a macro that willallow me to type in on one sheet a list as follows (example)
<!--[if !supportLineBreakNewLine]-->
[TABLE="width: 200"]
<tbody>[TR]
[TD]component x[/TD]
[TD] 02Jul13[/TD]
[TD]p[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]component y[/TD]
[TD]02Jul13[/TD]
[TD]q[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]component z[/TD]
[TD]04Jul13[/TD]
[TD]r[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]component x[/TD]
[TD]02Jul13[/TD]
[TD]s[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
etc
<!--[endif]-->

and then running the macro will pull thatinformation into a master sheet already set up like below

[TABLE="width: 200"]
<tbody>[TR]
[TD][/TD]
[TD]component x[/TD]
[TD]component y[/TD]
[TD]component z[/TD]
[/TR]
[TR]
[TD]02Jul13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]03Jul13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]04Jul13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Basically i need the macro to look at the datecells and component cells, match them with the final sheets location and placethe amount into the appropriate cell. also while running a summation if thesame component is used more than once on the same day.

runningthe macro on the given example would result in :



[TABLE="width: 200"]
<tbody>[TR]
[TD][/TD]
[TD]component x[/TD]
[TD]component y[/TD]
[TD]component z[/TD]
[/TR]
[TR]
[TD]02Jul13[/TD]
[TD] p+s[/TD]
[TD]q[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]03Jul13[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]04Jul13[/TD]
[TD][/TD]
[TD][/TD]
[TD]r[/TD]
[/TR]
</tbody>[/TABLE]


does this make sense? and is it possible? Thankyou!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hello

Did you try a Pivot table?
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top