+ Reply to Thread
Results 1 to 5 of 5

Copy values from one sheet to another sheet

  1. #1
    Registered User
    Join Date
    03-08-2019
    Location
    NEW JERSEY
    MS-Off Ver
    2019
    Posts
    87

    Copy values from one sheet to another sheet

    I have a workbook with 2 sheets.
    Sheet 2 called DAILY has a daily running total.
    Sheet 1 called NEW_TOTAL has the last date entered for 11 accounts.
    I would like to copy the last date record for each person on the DAILY sheet to the NEW_TOTAL sheet.
    The last date from the DAILY sheet is automatically changed on the NEW_TOTAL sheet.
    See attached for a sample sheet.
    Attached Files Attached Files
    Last edited by fatfish1969; 04-02-2022 at 11:42 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Copy values from one sheet to another sheet

    =IFERROR(INDEX(DAILY!E:E,AGGREGATE(15,6,ROW(DAILY!$C$2:$C$1000)/(DAILY!$C$2:$C$1000=$B$1),ROWS(A$2:A2))),"")

    copied across/down... and in column C:

    =IFERROR(INDEX(DAILY!K:K,AGGREGATE(15,6,ROW(DAILY!$C$2:$C$1000)/(DAILY!$C$2:$C$1000=$B$1),ROWS(C$2:C2))),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    03-08-2019
    Location
    NEW JERSEY
    MS-Off Ver
    2019
    Posts
    87

    Re: Copy values from one sheet to another sheet

    How do you insert the formula into each cell that already contains data?
    When I tried, it replaces the value with 0.
    Also, I have about 10,000 records on the daily sheet.
    How would you put the formula in each dell?

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Copy values from one sheet to another sheet

    Have I misunderstood you? Did it work in the sample sheet that I attached?

    I deleted your expected results and replaced them with my formulae.

    To extend to 10,000 rows change the 1000 to 10,000.

  5. #5
    Registered User
    Join Date
    03-08-2019
    Location
    NEW JERSEY
    MS-Off Ver
    2019
    Posts
    87

    Re: Copy values from one sheet to another sheet

    Your example works correctly the way that I wanted it to do.
    My problem is when I try to insert the formula, it changes the values in each cell to 0.
    My question is how do you put the formula into each cell without the cell value getting changed to 0?

+ 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. Macro copy from one sheet and paste values in NEXT VISIBLE SHEET & then ACTIVATE IT.
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-10-2017, 04:54 AM
  2. [SOLVED] Lookup values from sheet 2 with sheet 1 and copy found values in cell b of sheet 1
    By spa3212 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-21-2016, 03:28 AM
  3. [SOLVED] Search a column within 1 sheet for text values if true copy that row to sheet 2
    By m77wls in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-19-2015, 05:32 PM
  4. compare sheet 1 with sheet 2 and copy unique values in sheet 1
    By irfanparbatani in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2014, 07:38 PM
  5. Replies: 1
    Last Post: 10-05-2005, 08:05 AM
  6. Replies: 1
    Last Post: 10-05-2005, 08:05 AM
  7. Replies: 1
    Last Post: 10-05-2005, 06:05 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