+ Reply to Thread
Results 1 to 3 of 3

find and match

Hybrid View

  1. #1
    Registered User
    Join Date
    02-14-2006
    Posts
    24

    Exclamation find and match

    I have the data:

    x1 hello hi bye x4 x199 x83 x23
    x4 hello hi bye
    x8 hello hi bye
    x199 hello hi bye
    x3 hello hi bye
    x10000 hello hi bye
    x83 hello hi bye
    x1001 hello hi bye
    x999 hello hi bye
    x23 hello hi bye
    and
    on
    and
    on

    I need a macro that will give me the following results:

    x1 hello hi bye finish x1 x199 x83 x23
    x4 hello hi bye
    x8 hello hi bye
    x199 hello hi bye finish
    x3 hello hi bye
    x10000 hello hi bye
    x83 hello hi bye finish
    x1001 hello hi bye
    x999 hello hi bye
    x23 hello hi bye finish
    and
    on
    and
    on

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I think you need to explain more fully.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    02-14-2006
    Posts
    24
    colum1 colum2 colum3 colum4 colum5 colum6 colum7 colum8 colum9 colum10 and on
    x1 hello hi bye finish x1 x199 x83 x23
    x4 hello hi bye
    x8 hello hi bye
    x199 hello hi bye finish
    x3 hello hi bye
    x10000 hello hi bye
    x83 hello hi bye finish
    x1001 hello hi bye
    x999 hello hi bye
    x23 hello hi bye finish
    and
    on
    and
    I need a macro that will read data in colum6 row1 (in this example will be colum6-colum7-colum8-colum9 with the data x1, x199, x83, x23 respectively data could go from colum6 to colum56). The Macro will then match the data in colum6, col7, col8...to the data in colum1 ...if there is a match, it will write the word "finish" in colum5 for every match.

    colum1 colum2 colum3 colum4 colum5 colum6 colum7 colum8 colum9 colum10 and on
    x1 hello hi bye finish x1 x199 x83 x23
    x4 hello hi bye
    x8 hello hi bye
    x199 hello hi bye finish
    x3 hello hi bye
    x10000 hello hi bye
    x83 hello hi bye finish
    x1001 hello hi bye
    x999 hello hi bye
    x23 hello hi bye finish
    and
    on
    and
    on

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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