+ Reply to Thread
Results 1 to 6 of 6

Extracting hashtags and mentions from textual column

  1. #1
    Registered User
    Join Date
    09-23-2020
    Location
    Sweden
    MS-Off Ver
    16.41
    Posts
    2

    Extracting hashtags and mentions from textual column

    Hi everyone,

    I am a PhD students and I am have a rather big excel file (25000 lines) with text cells that contain multiple hashtags and mentions. I am using excel for mac. I have my text in column A and want to extract the hashtags in column B and mentions in column C for each line. However, I am not sure how to approach the macro? Could you please help?

    Thank you and all the best,

    Alex

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Extracting hashtags and mentions from textual column

    For a start attach a small sample with your expected results as per the yellow banner. It will be easier to advise from there

  3. #3
    Registered User
    Join Date
    09-23-2020
    Location
    Sweden
    MS-Off Ver
    16.41
    Posts
    2

    Re: Extracting hashtags and mentions from textual column

    Hello,

    Unfortunately, I cannot yet post any pictures or links or the AT sign due to my recent signup for this website. However, I want it to look something like this:

    Column A
    Hi i need some help with #excel #help AThelpexcel

    Column B
    #excel #help

    Column C
    AThelpexcel
    Last edited by alexM123; 09-23-2020 at 05:33 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: Extracting hashtags and mentions from textual column

    Hi
    Assumed you data start at "A!"
    Try:
    HTML Code: 
    Last edited by mohadin; 09-23-2020 at 01:56 PM.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Extracting hashtags and mentions from textual column

    Quote Originally Posted by alexM123 View Post
    I am using excel for mac.
    Quote Originally Posted by mohadin View Post
    Please Login or Register  to view this content.
    You can not use CreateObject function in Mac.

  6. #6
    Valued Forum Contributor
    Join Date
    06-27-2010
    Location
    sYRIA
    MS-Off Ver
    Excel 2013
    Posts
    669

    Re: Extracting hashtags and mentions from textual column

    OOPs
    I forget about MAC issue
    Sorry
    And Thank you Mr. jindon

+ 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. Extract Multiple @Mentions from Twitter Data
    By bp2010 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-14-2020, 04:26 AM
  2. [SOLVED] Using keywords for filtering like hashtags
    By (T_T) in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-28-2020, 04:20 PM
  3. Concatenate text with wildcards (mentions of words)
    By rayted in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-20-2020, 03:34 PM
  4. [SOLVED] Formula resulting to hashtags (#########################)
    By rcahayag1925 in forum Excel General
    Replies: 4
    Last Post: 05-16-2020, 12:15 AM
  5. Replies: 4
    Last Post: 01-23-2020, 04:45 PM
  6. Count number of mentions
    By Browne.t in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-23-2019, 06:36 AM
  7. [SOLVED] Insertion of Random Hashtags in each row of a column
    By WhatsGig in forum Excel General
    Replies: 4
    Last Post: 08-16-2017, 09:09 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