+ Reply to Thread
Results 1 to 4 of 4

Search and copy value based for multiple columns

  1. #1
    Forum Contributor
    Join Date
    09-07-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    358

    Search and copy value based for multiple columns

    Hey guys,

    I'm looking for a macro to go through every cell in: Range("E8:E" & (Range("A1048576").End(xlUp).Row))

    If it finds a name with a + (plus symbol) then it sends the cell value to an offset of 14 (Column S)

    The macro then needs to look in the same range but for Column F and this time if it finds a name with a + (plus symbol) then it sends that cell AND the one to it's left to an offset of 14 (Column T) It then needs to do this for Column G, H, I, J, K L, M & N

    I hope this is clear enough, attached is an example which I think is clear enough.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Search and copy value based for multiple columns

    This should get you started:
    Please Login or Register  to view this content.

    There's a limit to the how big a "SpecialCells" range can be in terms of inidividual "areas". How big is the actual dataset?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    09-07-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    358

    Re: Search and copy value based for multiple columns

    Quote Originally Posted by JBeaucaire View Post
    This should get you started:

    There's a limit to the how big a "SpecialCells" range can be in terms of inidividual "areas". How big is the actual dataset?
    10 columns wide, 60,000+ rows
    Last edited by Hyflex; 11-01-2011 at 11:09 AM.

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Search and copy value based for multiple columns

    Another option. Click the green arrow in attached.
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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