Stock Data function

rsd007

New Member
Joined
Oct 24, 2022
Messages
38
Office Version
  1. 2019
Platform
  1. Windows
Hello,

I have EXCEl 365 workbook, and consolidating and (removing duplicates) all stock tickers on 1 page in column B
(Column A is blank ) then using another formula =IF(B14<>"",B14,"") transfer tickers to column C.
From column C ticker i will like to get Stock Name using EXCEL 365 Stock function in Column D.
Can someone help me please.


Screenshot 2024-09-16 220141.png
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
What did you do in D24:D25 which appears to give you what you are asking for?
 
Upvote 0
What did you do in D24:D25 which appears to give you what you are asking for?
I enter tickers manually and then selected Stock option to get
D24 and D25 is the End result I am trying to do
 
Upvote 0
I am trying to automate collecting all the tickers from various sheets in workbook and remove duplicates and then get the information
 
Upvote 0
I'd start with gathering a list of the Tickers you want in Column B starting in B2. Then eliminate duplicates from that list using Data>Data Tools>Remove Duplicates. Next, convert the tickers to stock names by selecting all the tickers and then converting them to stock names using Data>Data Types>Stocks.
 
Upvote 0
Why can't you copy paste the tickers in column B, select them all and click Stocks (and record yourself doing so)?
1726778205201.png



Not a recorded macro but does the same for myself in England

VBA Code:
Sub Macro2()

    With Range("A2:A" & Range("A" & Rows.Count).End(xlUp).Row)
        Range("B2").Resize(.Rows.Count, .Columns.Count).Value = .Value
        Range("B2").Resize(.Rows.Count, .Columns.Count).ConvertToLinkedDataType ServiceID:=268435456, LanguageCulture:="en-GB"
    End With
    
End Sub
 
Upvote 1
Solution
IN column A my tickers are changing based on selling some stocks and then buying new stocks
 
Upvote 0

Forum statistics

Threads
1,221,539
Messages
6,160,413
Members
451,644
Latest member
hglymph

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