Consulting

Results 1 to 4 of 4

Thread: Match or Lookup commands

  1. #1

    Match or Lookup commands

    I have two columns of stock symbols that I need to see if the symbols are in both columns. Could someone give me an example of the correct command to use. Thanks
    Max

  2. #2
    Site Admin
    The Princess
    VBAX Guru Anne Troy's Avatar
    Joined
    May 2004
    Location
    Arlington Heights, IL
    Posts
    2,530
    Location
    Are you looking for a command in VBA?
    Or a function/formula?
    ~Anne Troy

  3. #3
    I am looking for a function/formula. Column A has a list of stock symbols. Column B also
    has a list of stock symbols. I want to find out if the symbols in B are also in A and where they are. Thanks for the quick reply
    Max

  4. #4
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    In, say C1, type ..

    =COUNTIF(A:A,B1)>0
    .. and copy down as needed. This will give you a TRUE or a FALSE value, True if it is in column A, a False if it is not.

Posting Permissions

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