+ Reply to Thread
Results 1 to 11 of 11

Transferring data from one worksheet to another

  1. #1
    Registered User
    Join Date
    05-31-2021
    Location
    California, USA
    MS-Off Ver
    Excel
    Posts
    6

    Transferring data from one worksheet to another

    Hi, I have a very simple problem, but spent several hours trying to find the solution and could not find it.

    I have one work book and multiple sheets in that work book.

    I want to transfer one cell from "Sheet 1" to another cell in "Sheet 2" That is not the problem. The problem is when I sort "Sheet 1" the cell changes and the data in "Sheet 2" stays with the original cell.

    So the data in "Sheet 2" is not changing to the new location from "Sheet 1".

    How do I keep the data from a cell that may move when I sort to still go to the other sheet.

    This should be simple but I must be missing something.

  2. #2
    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,933

    Re: Transferring data from one worksheet to another

    How is the data transferred? If it is done manually, then you are SOL, unfortunately.
    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

  3. #3
    Registered User
    Join Date
    05-31-2021
    Location
    California, USA
    MS-Off Ver
    Excel
    Posts
    6

    Re: Transferring data from one worksheet to another

    No it is not done manually. I put data in one cell manually and I want it to appear in the other worksheet, which it does, so when ever I change the data in the first sheet it will change in the second sheet. The problem is when I do a sort on the first sheet the data in the second sheet is not coming from the place where the new cell data is located at.

  4. #4
    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,933

    Re: Transferring data from one worksheet to another

    upload a sample WB please

  5. #5
    Registered User
    Join Date
    05-31-2021
    Location
    California, USA
    MS-Off Ver
    Excel
    Posts
    6

    Re: Transferring data from one worksheet to another

    This is sheet 1

    DATA Formula

    233 None
    456 None
    123 None
    896 None

    This is sheet 2

    DATA Formula in A4

    123 (=SUM(Sheet1!A6)

    Sorting the data on sheet 1 will change the data in sheet 2. I want the data to remain the same data from sheet 1. Which is 123 and where it goes on sheet 1.

  6. #6
    Registered User
    Join Date
    05-31-2021
    Location
    California, USA
    MS-Off Ver
    Excel
    Posts
    6

    Re: Transferring data from one worksheet to another

    Trying to attach the file.
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Transferring data from one worksheet to another

    For the sample given the formula in cell A6 on Sheet2, that would keep the same value despite sorting of Sheet1, could be: =SMALL(Sheet1!A$6:A$9,1)
    If we knew the reason that 123 should be kept in cell A6, such as it is the smallest value, or it is associated with a value in another column, we might be in a better position to help.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Registered User
    Join Date
    05-31-2021
    Location
    California, USA
    MS-Off Ver
    Excel
    Posts
    6

    Re: Transferring data from one worksheet to another

    All I want to do is sort sheet one and make sure that what ever data is in cell moves to the new sorted location and is transfered to sheet 2 keeping the data that was in that cell.

    I thought that this would be an easy thing to do.
    All I want to do is keep the same data in sheet 2 no matter where the cell moves to in sheet 1.

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Transferring data from one worksheet to another

    The formula that is in cell A6: =SUM(Sheet1!A8) refers to a cell location and returns the contents of that cell.
    By the way =Sheet1!A8 would also return the contents of that cell without having to invoke the SUM function.
    It may be that you could get one of the VBA contributors to write some code that would keep the initial value of Sheet1!A8 in Sheet2!A6, however I don't know enough about VBA to say if it is even possible much less how the code would read.
    I hope that you have a blessed day and best of luck.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Transferring data from one worksheet to another

    Giving this further consideration perhaps you are looking for something like the following.
    Once you have the value that you want in cell A6 (Sheet2)
    1. Select that cell and press the Ctrl and c keys
    2. Press the Ctrl, Alt and v keys and select Values
    3. Select OK
    Now the value will remain in the cell and the formula will be erased.
    Let us know if you have any questions.

  11. #11
    Registered User
    Join Date
    05-31-2021
    Location
    California, USA
    MS-Off Ver
    Excel
    Posts
    6

    Re: Transferring data from one worksheet to another

    No that's not what I was looking for. Just wanted to do a sort on sheet 1 but have the value that's in sheet 2 go where the new location is in sheet 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. Transferring Data from One Worksheet to Another
    By wtopping in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-24-2013, 03:36 PM
  2. [SOLVED] Re :Userform Data not Transferring to Worksheet
    By Janto724 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-13-2013, 10:57 AM
  3. Replies: 1
    Last Post: 04-06-2013, 05:49 AM
  4. Filtering one worksheet and transferring data to another workbooks worksheet
    By medic922 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2012, 09:58 AM
  5. Transferring data from one worksheet to another
    By lstairs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-29-2009, 09:51 AM
  6. Replies: 0
    Last Post: 12-08-2009, 06:06 PM
  7. Transferring Data to another worksheet.
    By jad70 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-15-2009, 05:49 AM
  8. Transferring data from one worksheet to several others
    By Garethbrisbin in forum Excel General
    Replies: 1
    Last Post: 07-25-2008, 03:28 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