+ Reply to Thread
Results 1 to 9 of 9

Dynamic Cell Copies... or something.

  1. #1
    Registered User
    Join Date
    07-28-2015
    Location
    chicago, illinois
    MS-Off Ver
    2013
    Posts
    28

    Dynamic Cell Copies... or something.

    Greetings Spreadsheet Gurus! I am back with another basic question for you, but confounding problem for me. Here is what I am trying to do.

    I am trying to figure out the easiest way to copy the following format so that the Column number(text value within cell) is the only thing that increases as a column header.

    Example: Spread sheet with three columns. First column is "Column 1 Description ALPHA" Second Column is "Column 1 Description BRAVO" and the third column is Column 1 Description Charlie"

    I need to figure out a way to copy these three column titles 300 more times and only increase the value after "Column".

    So next would be Column 2 Description Alpha, Column 2 description 2 BRAVO, then Column 2 description CHARLIE

    How do I do this -> Column (x) Description Alpha, Column (x) Description Bravo, Column Description (x) Charlie

    These need to increase sequentially across the row in column form. So Dragging Right instead of Dragging Down to begin the copy process.

    Does that make sense? Thanks!
    Last edited by xDimitrius; 09-20-2015 at 05:52 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Dynamic Cell Copies... or something.

    Attaching a sample workbook enables others to work on your problem:

    To attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    To add a file to a new post

    To add a file to an existing post.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Dynamic Cell Copies... or something.

    If you are copying thos across column headings (it is a little unclear if you want rows or columns?) then try this, after you have entwered the 1st 3 enties, copied across...
    =LEFT(A1,5)&MID(A1,5,FIND(" ",A1,6)-5)*1+1&MID(A1,SEARCH("desc",A1,1)-1,99)

    If you are copying down the column, that will work as well
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    07-28-2015
    Location
    chicago, illinois
    MS-Off Ver
    2013
    Posts
    28

    Re: Dynamic Cell Copies... or something.

    Thank you both for your responses, here is an example workbook attached.

    My use of "Lines" within a column header description was confusing so I used "column" instead.

    Thanks!
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Dynamic Cell Copies... or something.

    Try

    ="Column "&INT((COLUMN()-1)/3)+1 &" ALPHA"

    Change columns 2 and 3 to BRAVO & CHARLIE

    Select all three and drag across columns.
    Attached Files Attached Files
    Last edited by JohnTopley; 09-21-2015 at 12:45 PM.

  6. #6
    Registered User
    Join Date
    07-28-2015
    Location
    chicago, illinois
    MS-Off Ver
    2013
    Posts
    28

    Re: Dynamic Cell Copies... or something.

    That worked! Thank you so much!

    Rep Given!

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Dynamic Cell Copies... or something.

    Thank you for the feedback.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Dynamic Cell Copies... or something.

    John, nice 1 - I was putting something together that would pull out the 1st word, ID the number and add 1, pull out the remaining words

  9. #9
    Registered User
    Join Date
    07-28-2015
    Location
    chicago, illinois
    MS-Off Ver
    2013
    Posts
    28

    Re: Dynamic Cell Copies... or something.

    Quote Originally Posted by JohnTopley View Post
    Thank you for the feedback.
    I was able to easily modify the text to match what I actually needed. The values I gave you were examples, but the formula you gave me worked like a charm.

    Title changed to SOLVED.

+ 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. [SOLVED] IF(VLOOKUP) Formula That also Copies Cell Background Color to Target Cell
    By JRidge in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-09-2014, 06:38 AM
  2. [SOLVED] IF(VLOOKUP) Formula That also Copies Cell Background Color to Target Cell
    By JRidge in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-04-2014, 05:32 AM
  3. Print button fucntion to determine if 2 copies or 3 copies are printed
    By internalglitch in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-03-2014, 10:20 AM
  4. macro that copies data in cell and paste it to cell x columns to right in shhet
    By Stevebarnes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2013, 12:14 PM
  5. Macro that copies and pastes value from one cell, if another cell contains data
    By defensorfedei in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-02-2012, 11:54 PM
  6. Automating Dynamic Range or Table copies to Single page
    By pacman_d in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2010, 11:55 PM
  7. dynamic name range that copies formula from previous row to new row
    By hibiscus27 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-20-2007, 04:06 PM

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