+ Reply to Thread
Results 1 to 4 of 4

How to identify if the same data in one column has the matching data from another column

  1. #1
    Registered User
    Join Date
    09-02-2013
    Location
    Bath
    MS-Off Ver
    Excel 2003
    Posts
    2

    How to identify if the same data in one column has the matching data from another column

    Hello,
    Within a spread sheet of data I have two columns of variable data. The first column has a 'codeword', (Johns Team for example). In the next column I have a list of letters which indicate which group ID they have been allocated to.

    The issue is it that I need to go through the data and ensure that all those people that have put 'Johns Team' are in the same group and change them all to the same if not. The column of 'codewords' can be anything and everything.

    I think this can be split into two parts. First part to identify which codewords have different groups to the other matching codewords. The second part would be to automatically change the group ID to the same as the others (or the other if there is just two).

    Hope that makes sense. I do this manually but when looking through 8000 rows of data its a super time consuming process.
    Look forward to the your replies.
    Thanks
    G

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: How to identify if the same data in one column has the matching data from another colu

    Hello G
    I would try using filters to show the codename e.g. 'John's Team' and the replace feature with a wildcard (*) to replace all the ID's with the correct code for all of the filtered records. Alternatively, you could use a column of lookup formulas and copy the values into the appropriate column. You could also use VBA to loop through the column of ID's and insert the correct value. Whichever, it would perhaps be wise to create a table with your Code Names and relative ID's

    Hope this helps.
    DBY

  3. #3
    Registered User
    Join Date
    09-02-2013
    Location
    Bath
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: How to identify if the same data in one column has the matching data from another colu

    DBY,
    Thanks for the reply. I thought about filters but as there about 3000 different codewords this would take for ever!
    The tricky part is that I have set the ID's based on other variables, so the codewords could have any ID, but i just need to ensure that all matching codewords have the same ID!
    Welcome your further reply.
    G

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: How to identify if the same data in one column has the matching data from another colu

    I guess you still need to go through the codewords to apply the correct ID, I don't see any way round this at the moment. What are the variables that you set each ID with, is there a consistent criteria which could be applied to the whole range of codewords?

+ 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. Replies: 2
    Last Post: 04-11-2014, 12:18 PM
  2. Replies: 4
    Last Post: 06-05-2013, 09:13 AM
  3. Replies: 9
    Last Post: 07-22-2012, 12:03 PM
  4. [SOLVED] Match cells in Column A, then transpose (matching) row data from column B, C, D, etc.
    By Jahoker in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-15-2012, 10:37 AM
  5. [SOLVED] Matching one column against another column of data to show the same amount of data.
    By dodat in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-30-2005, 02:20 PM

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