+ Reply to Thread
Results 1 to 6 of 6

Combine rows

  1. #1
    Registered User
    Join Date
    06-08-2016
    Location
    jordan
    MS-Off Ver
    2010
    Posts
    33

    Combine rows

    Hi guys;

    I have 2 columns like this

    A1 B1
    XXXXX XXXX
    XXXXX
    XXXXX
    XXXX
    XXXXX
    XXXXX
    XXXXX
    XXXXX
    XXXXX
    XXXXX
    XXXXX XXXX

    I need to combine all rows in $A if $B+1 is empty

    Thanks in advance

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Combine rows

    I don't understand. Do you mean like this?


    A
    B
    C
    D
    1
    A1
    B1
    Combined
    2
    XXXXX
    XXXX
    XXXXX
    3
    XXXXX
    XXXXX
    4
    XXXXX
    XXXX
    5
    XXXX
    XXXXX
    6
    XXXXX
    XXXXX
    7
    XXXXX
    XXXXX
    8
    XXXXX
    XXXXX
    9
    XXXXX
    XXXXX
    10
    XXXXX
    XXXXX
    11
    XXXXX
    12
    XXXXX
    XXXX
    Dave

  3. #3
    Registered User
    Join Date
    06-08-2016
    Location
    jordan
    MS-Off Ver
    2010
    Posts
    33

    Re: Combine rows

    A1 = 1111 B1 = 2222
    A2 = 2323 B2 = blank

    then B3= A1&" "&A2
    and so on
    if B2 = blank then B3 = A2

    and so on from all A$ & B$

    sorry attachment is not available on my browser i dont know why
    Last edited by mouaffaq; 10-04-2016 at 10:47 AM.

  4. #4
    Registered User
    Join Date
    06-08-2016
    Location
    jordan
    MS-Off Ver
    2010
    Posts
    33

    Re: Combine rows

    there might be more than 3 cell to combine

  5. #5
    Registered User
    Join Date
    06-08-2016
    Location
    jordan
    MS-Off Ver
    2010
    Posts
    33

    Re: Combine rows

    please check the photo in the below link
    http://adanwater.com/test.jpg

  6. #6
    Registered User
    Join Date
    06-08-2016
    Location
    jordan
    MS-Off Ver
    2010
    Posts
    33

    Re: Combine rows

    please check the photo in the below link
    http://adanwater.com/test.jpg

+ 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. Replies: 7
    Last Post: 03-25-2016, 07:02 PM
  2. [SOLVED] VBA - combine matching rows and concatenating corresponding rows into one column
    By mjcanty in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-02-2015, 12:47 PM
  3. [SOLVED] Excel - combine rows with previous rows - conditionally
    By sbabu16 in forum Excel General
    Replies: 7
    Last Post: 01-16-2014, 03:30 AM
  4. Combine Duplicate Rows and Combine Data in Rows
    By cherylmcgk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2013, 12:04 PM
  5. [SOLVED] formula to combine rows based on empty rows
    By sam_mas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2013, 09:24 AM
  6. how to combine the multiple rows into one rows?
    By Rusy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  7. [SOLVED] how to combine the multiple rows into one rows?
    By Rusy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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