+ Reply to Thread
Results 1 to 3 of 3

Merging Columns based on two criteria. URGENT.

  1. #1
    Registered User
    Join Date
    05-29-2013
    Location
    GERMANY
    MS-Off Ver
    Excel 2003
    Posts
    3

    Merging Columns based on two criteria. URGENT.

    Dear all,.
    I'm fairly new to VBA programming.

    I would like to merge 7 columns if two conditions are meet.

    Start Week Ending week Jan Feb Mar Apr May Jun July Aug Sept Oct Nov Dec
    7 11
    7 11 12
    1 53 1
    1 53 1




    If the values in the column A is 1 and column B is 53, I want to merge the columns C3 to N3

    If the values in the column A is 7 and column B is 11, I want to merge the columns D2 to E2

    Is it feasible using VBA programming or Do I have any functions??

    Please do help me.

    Many thanks!

    Regards,
    Puppy
    Last edited by puppy26; 11-06-2013 at 11:07 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Merging Columns based on two criteria. URGENT.

    Do you mean that you want to physically merge those cells, so effectively you have only one cell covering 7 columns ? If so, you will need a macro to do that.

    Pete

  3. #3
    Registered User
    Join Date
    05-29-2013
    Location
    GERMANY
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Merging Columns based on two criteria. URGENT.

    Exactly.. you're right.

    Could you please help me here with VBA code..

    Many thanks Pete

+ 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. Urgent: Create a Dynamic Dropdown list based on a specific criteria
    By vijaye in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2013, 08:07 AM
  2. Sorting by Names by 4 Criteria and Comparing and merging 2 columns
    By Holy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-26-2012, 08:30 PM
  3. Excel 2007 : merging sheets based on two criteria
    By justket in forum Excel General
    Replies: 1
    Last Post: 07-14-2010, 06:25 AM
  4. Merging Cells based on some criteria
    By miss_macro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2009, 09:11 AM
  5. attach excel content to emails,based on criteria(very urgent)
    By xiaotianshi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2007, 12:57 AM

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