+ Reply to Thread
Results 1 to 3 of 3

CONCATENATE FOR TWO OR MORE CONDITION (vba)

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    Romania
    MS-Off Ver
    Excel 2003
    Posts
    2

    CONCATENATE FOR TWO OR MORE CONDITION (vba)

    Hello All,

    I need help with a VBA code if it possible . I have a table and I need to concatenate cells for two conditions.


    I attached the table for better understanding.

    In cell B1 I type the date
    I cell C2;C3 etc I type the number of the route
    In cell D2 I need to appear the concatenated information from D19:D100 - F19:F100 according to the number of the route and the date.

    Thank you very much for your help.
    DELIVERY sample.xls

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: CONCATENATE FOR TWO OR MORE CONDITION (vba)

    Hi

    Maybe a UDF.

    Please Login or Register  to view this content.
    In your example file it would be called by
    D2: =myfunc($B$1,C2,$A$19:$A$66) Copy down to D4.

    Note that you will have to change the date to be 23/10/2012 for your example data.

    HTH

    rylo

  3. #3
    Registered User
    Join Date
    10-16-2012
    Location
    Romania
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: CONCATENATE FOR TWO OR MORE CONDITION (vba)

    Hello Rylo,

    Thank you very much for your help. It is working perfectly . You spare me a lot of work. I own you one.

    With warm regards and many many many tanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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