portfolio: share price updation

k00lfire

New Member
Joined
Sep 19, 2010
Messages
33
i want to calculate daily worth of shares held by me.

portfolio.xlsx

name symbol shares held 250112014 26012014 27012014

the data i download from website is csv file and named as 25012014.csv 26012014.csv and data in below form

[TABLE="width: 448"]
<colgroup><col span="7" width="64"></colgroup><tbody>[TR]
[TD="width: 64"]Symbol[/TD]
[TD="width: 64"]Date[/TD]
[TD="width: 64"]Open[/TD]
[TD="width: 64"]High[/TD]
[TD="width: 64"]Low[/TD]
[TD="width: 64"]Close[/TD]
[TD="width: 64"]Volume[/TD]
[/TR]
</tbody>[/TABLE]

i want some macro which will copy stocks price which are held by in respective date columns and if there is no close price listed than it should copy yesterday price
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
two bumps tends to mean you haven't given people enough info to work with.

Try explaining agin - a worked example usually helps.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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