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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hello

Did you try a Pivot table?
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,702
Members
453,748
Latest member
akhtarf3

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