+ Reply to Thread
Results 1 to 2 of 2

CONCATENATE rows and copy to specific rows when values change in between different values

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    83

    CONCATENATE rows and copy to specific rows when values change in between different values

    Hello

    I have a lot of workbooks, which have to be decomposed in the same way.

    I have the ollowing code to insert new rows when the value in column B changes and insert text into those rows:

    Please Login or Register  to view this content.
    However, I now have to CONCATENATE the values between the inserted rows, because in column A I have different numbers, and I have to take the lowest number and the highest number in between those rows and copy paste it to the cell next to the strings (Begin-total and end-total), so that would be in column C in this example.
    I have attached a little example...
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-06-2014
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    83

    Re: CONCATENATE rows and copy to specific rows when values change in between different val

    I have found this code in another tread, however as I wrote, I need it to take the values from the rows between the blank values - this one only take values below the blank cell and paste it above, I need it to both paste it above and below (so the same value appear twice.

    Please Login or Register  to view this content.
    Can anyone help me how to tweak this code to do the job?
    Thanks in advance, appreciate any tips.

+ 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. Pick, copy and paste rows containing specific range of values
    By Kenneyd71 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-20-2012, 09:44 AM
  2. [SOLVED] Copy Specific Rows of Data Based On two Values
    By timbo1957 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-14-2012, 12:03 AM
  3. Loop to copy all rows containing specific values
    By WDWILSON in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-13-2012, 11:11 PM
  4. How can I copy rows based on specific data values?
    By OyGevalt in forum Excel General
    Replies: 9
    Last Post: 03-31-2012, 12:09 PM
  5. Formula to copy to values to specific rows
    By Simon1185 in forum Excel General
    Replies: 4
    Last Post: 12-03-2009, 04:55 AM

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