+ Reply to Thread
Results 1 to 3 of 3

Macro to find and add ISIN for a company based on stock codes

  1. #1
    Registered User
    Join Date
    07-11-2014
    Location
    England
    MS-Off Ver
    2010
    Posts
    15

    Unhappy Macro to find and add ISIN for a company based on stock codes

    Hi guys,

    I have trying for 2 days now to write a macro/VBA that looks up IF the stock codes (i.e., in column A and G) match THEN insert the ID_ISIN from column H in the empty ISIN column C.

    or should i use Vlookup?

    Could you please help me guys.

    If you need any further information please let me know!

    best wishes

    Hewe
    Attached Files Attached Files
    Last edited by itshewe; 07-20-2014 at 01:44 PM. Reason: additional information

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: Macro to find and add ISIN for a company based on stock codes

    See attached. ISIN2.xlsx
    Hope this is what you wanted.

  3. #3
    Forum Contributor
    Join Date
    08-17-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    132

    Re: Macro to find and add ISIN for a company based on stock codes

    Hi,

    If I understood you correctly then you would like to fetch the corresponding value of stock Id from colum H to coldumn C..if so use vlookup as below at celll C2 and fill down to fetch the corresponding value of stock code:

    =VLOOKUP(A2,$G$2:$H$1743,2)

    let me if you want to fetch only if A2 matches with G2 and so on..

    Regards,
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    08-17-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    132

    Re: Macro to find and add ISIN for a company based on stock codes

    Hi,

    If I understood you correctly then you would like to fetch the corresponding value of stock Id from column H to column C..if so use vlookup as below at cell C2 and fill down to fetch the corresponding value of stock code:

    =VLOOKUP(A2,$G$2:$H$1743,2)

    let me if you want to fetch only if A2 matches with G2 and so on..

    Regards,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Stock codes cleaning up
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-22-2014, 10:52 AM
  2. Missing stock codes checker
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2014, 10:46 AM
  3. I need to put matching prices to stock codes.
    By calvr1ch in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2014, 10:48 PM
  4. Replies: 0
    Last Post: 10-09-2013, 07:59 PM
  5. Comparing Company Codes
    By sagexcel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-13-2012, 08:14 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1