+ Reply to Thread
Results 1 to 7 of 7

copy (automatically) data from one cell into 2 cells in another sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    01-18-2013
    Location
    United States
    MS-Off Ver
    O365
    Posts
    24

    copy (automatically) data from one cell into 2 cells in another sheet

    Hi, i would like to have a spreadsheet with 2 sheets (each sheet will have headers)

    I will paste numbers in sheet1, and i want those numbers to be copied into 2 cells in sheet2

    let's say in sheet1, i enter the following
    1
    2
    3

    in sheet2, i want to see this
    header1, header2, header3
    1-a, 1-0, sometext
    1-b, 1-0, sometext
    2-a, 2-0, sometext
    2-b, 2-1, sometext
    3-a, 3-0, sometext
    3-b, 3-1, sometext

    i tried to create a formula, but if i highlight 2 rows and drag down, it skips rows from sheet one. I'm not too familiar with vba scripting and i was hoping to find a way this can be done using formulas.. but if scripting is the way to go, i can manage that as well.

    thanks in advance for your help.

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: copy (automatically) data from one cell into 2 cells in another sheet

    Maybe more clear if you give us the sample workbook, try upload it at the forum, maybe member can give you the solution.

    To attach, click "GO Advanced" button and find paperclip button to attach the file

    Cheers

  3. #3
    Registered User
    Join Date
    01-18-2013
    Location
    United States
    MS-Off Ver
    O365
    Posts
    24

    Re: copy (automatically) data from one cell into 2 cells in another sheet

    thanks for your reply. i've added a sample spreadsheet.

    there are 2 sheets in the workbook (sheet1 and sheet2)
    in sheet1, it is going to be a table, where i can paste data in column D starting at D2. A, B, C are going to be static so when i paste data in D2 it will prefill the other stuff as needed.

    Example:
    Header1 , Header2 , Header3 , Header4
    Static_text1, Static_text2, Static_text3, Num1
    Static_text1, Static_text2, Static_text3, Num2
    Static_text1, Static_text2, Static_text3, ....
    Static_text1, Static_text2, Static_text3, NumX


    In sheet2, i want 2 rows created for each row which has data in Sheet1, column D

    Example:
    header4, header5, Header6
    Num1-x, Num1:0, Static-text
    Num1-y, Num1:1, Static-text
    Num2-x, Num2:0, Static-text
    Num2-y, Num2:1, Static-text
    ..., ..., ...
    NumX-x, NumX:0, Static-text
    NumX-y, NumX:1, Static-text
    Attached Files Attached Files
    Last edited by dishguy05; 06-05-2014 at 05:20 PM.

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: copy (automatically) data from one cell into 2 cells in another sheet

    Header 4 is ok, but Header 5 and 6 whereis come from? I dont see it at Sheet 1, need to clarify

  5. #5
    Registered User
    Join Date
    01-18-2013
    Location
    United States
    MS-Off Ver
    O365
    Posts
    24

    Re: copy (automatically) data from one cell into 2 cells in another sheet

    the headers in sheet1 and sheet2 are separate (different) so i put it as 1,2,3,4 in sheet1 and 5,6,7 in sheet2... i think i might have a typo, but the headers would be completely different in both sheets.

  6. #6
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: copy (automatically) data from one cell into 2 cells in another sheet

    And you need to retrieve data based on what? if based on column header is possible, but its different, i think its difficult to achieve

  7. #7
    Registered User
    Join Date
    01-18-2013
    Location
    United States
    MS-Off Ver
    O365
    Posts
    24

    Re: copy (automatically) data from one cell into 2 cells in another sheet

    i will enter data in sheet1, column D

    in sheet 2, the data in column D should be used to add -x, -y, :0, :1

+ 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 data entered in cell, on same row, copy and paste data from other cells to front sheet
    By Christopher135 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-27-2013, 06:34 PM
  2. [SOLVED] How to Automatically Copy New Data into the next sheet and have it automatically sorted??
    By ReedDOT in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-24-2013, 10:50 AM
  3. [SOLVED] automatically copy data to other sheet in blank cells
    By 9lg_skr420 in forum Excel General
    Replies: 5
    Last Post: 12-09-2012, 05:50 PM
  4. [SOLVED] Need to Copy cells data to a new sheet based on value of another cell
    By clintandcaden in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-14-2012, 05:28 PM
  5. [SOLVED] copy cells automatically to next blank cells in another sheet'
    By slohman in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 04-21-2012, 12:29 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