+ Reply to Thread
Results 1 to 7 of 7

search in multiple cells and sheets

  1. #1
    Registered User
    Join Date
    09-21-2008
    Location
    Estonia
    Posts
    21

    search in multiple cells and sheets

    Hello,

    I'm trying to make vba, that takes one value(special code, up to 13 car long) from sheet4 column i1 and searches the match from sheet2 columns E:M. And when match is found, copies from sheet4 column K1 value(the same row where the code was taken from) to found match sheet(in this case sheet2) in column Q (the row must be the same where match was found)
    If this maters, columns E:M may be hidden on sheet4, or E1 may be only one that's shown.

    And has to loop until the end of the sheets.
    By the way - i've got up to 150000 rows..

    Can anybody help?
    Last edited by martinlall; 09-24-2008 at 06:49 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi
    are you using XL2007?

  3. #3
    Registered User
    Join Date
    09-21-2008
    Location
    Estonia
    Posts
    21
    Quote Originally Posted by arthurbr View Post
    Hi
    are you using XL2007?
    Yes, of course

  4. #4
    Registered User
    Join Date
    09-21-2008
    Location
    Estonia
    Posts
    21
    E:M may be hidden on sheet2. my bad.

  5. #5
    Registered User
    Join Date
    09-21-2008
    Location
    Estonia
    Posts
    21
    come on guys..really no one?

  6. #6
    Registered User
    Join Date
    09-21-2008
    Location
    Estonia
    Posts
    21
    Maybe i just try to explain little simpler.

    On sheet4 i have lots of data in columns. And i'm interested in two of them:
    col. i and col. k.

    In column i i have code (12-13 char). And in column k i have count numbers.

    I need macro, that takes the code from sheet4(column i), searches match on sheet2 (columns c; e:m) and copies the count number (in columns k on sheet4) on the same row, where the match was found in column Q (from sheet4 column K to sheet2 column Q)

  7. #7
    Registered User
    Join Date
    09-21-2008
    Location
    Estonia
    Posts
    21
    I give up

+ 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. How do I compare cells in multiple sheets in a workbook
    By rs56369 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-03-2008, 06:30 AM
  2. Printing Multiple Sheets to One PDF file
    By johnnywinter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2007, 11:03 AM
  3. adding cells from multiple sheets
    By macafeller in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-16-2007, 09:53 PM
  4. Search for Value across multiple sheets of another workbook
    By kys2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2007, 07:18 PM
  5. How to reference cells in Next/Prev Sheets automatically?
    By theouaegis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-13-2006, 01:56 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