+ Reply to Thread
Results 1 to 8 of 8

Pull out duplicate word

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    United States
    MS-Off Ver
    Microsoft office standard 2007
    Posts
    52

    Pull out duplicate word

    Need a function or Macro that will look through a column on excel, and in Cell B2 write the words or string of characters that is in every single row in column A

    I provided an example book that shows the data in column A and the desired outcome in cell B1

    Thanks.
    Attached Files Attached Files
    Last edited by jeck876; 09-24-2015 at 02:41 PM.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Pull out duplicate word

    If A2 = "red yellow blue", would the answer still be "red yellow" or are you searching for which cell contains words present in all cells?

    Searching all cells for unknown commonality would be a bit trickier than searching all cells for a single cell's values.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    07-01-2015
    Location
    United States
    MS-Off Ver
    Microsoft office standard 2007
    Posts
    52

    Re: Pull out duplicate word

    I am looking for an unknown commonality

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Pull out duplicate word

    Sounds like a job for an array or some form of scripting dictionary!

  5. #5
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Pull out duplicate word

    This worked:

    Please Login or Register  to view this content.

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Pull out duplicate word

    Oh hey, this works too.

    Technically, not all words need catalogued if values in A1 have to exist in all cells. This just checks each word in A1 and finds which ones appear in all of the others.

    Please Login or Register  to view this content.

  7. #7
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Pull out duplicate word

    Here's another possibility.

    Please Login or Register  to view this content.
    Last edited by skywriter; 09-22-2015 at 07:17 PM.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  8. #8
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Pull out duplicate word

    Thanks for the rep. points.

    Please click the Thread Tools drop down box above your first post and choose solved.

+ 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] pull out ALL CAPS word
    By mikmez in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-06-2014, 05:49 PM
  2. How to pull out data from Excel into WORD 2007?
    By toplisek in forum Excel General
    Replies: 3
    Last Post: 10-14-2013, 03:58 PM
  3. Lookup that can pull from duplicate data in two columns
    By fbodylt1 in forum Excel General
    Replies: 2
    Last Post: 09-24-2013, 02:02 AM
  4. How do I pull a random number in a word Macro?
    By pablowilks in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 06-05-2012, 06:03 PM
  5. Replies: 2
    Last Post: 02-09-2012, 07:53 PM
  6. Any definitive way to pull tables into word with xml?
    By bruceschaller in forum Access Tables & Databases
    Replies: 0
    Last Post: 04-11-2011, 04:10 PM
  7. Pull out duplicate values
    By john_prince in forum Excel General
    Replies: 15
    Last Post: 03-26-2010, 11:41 AM
  8. How to pull the duplicate values from 2 columns?
    By DianaPur in forum Excel General
    Replies: 9
    Last Post: 06-01-2009, 02:59 PM

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