I have a cell with data that is named total with data in another cell and I need this data in this cell to move to another cell with a formula

Jackie SOARES 0 Reputation points
2026-10-01T10:03:10.3966667+00:00

Cell name TOTAL - Values are in cell j40 and I need to move it to cell k34. Can this be done for all cells that have a name called TOTAL.

Microsoft 365 and Office | Excel | For business | Windows

3 answers

Sort by: Most helpful
  1. Barry Schwarz 6,191 Reputation points
    2026-10-02T22:50:50.7733333+00:00

    If all you want to do is collect the values in the Amount column that correspond to the text "Total" in the Charge column, enter this formula in D2. It will generate an array of total values at the top of column D.

    =FILTER(C:C,B:B="Total")
    

    If you want the total to appear to the right of the first line in each grouping, then enter the following in D2:

    =IFS(A2="","",A2=A1,"",TRUE,LET(t,MATCH("Total",B2:B$99,0),INDEX(C2:C$99,t,1)))
    

    Change the final row number ($99) twice to match your data and copy the cell down column D to the end of your data.

    The first two tests determine if this is the row to display the total in. If yes, then find the total row and display its value here.

    Otherwise, you need to provide a much more detailed description of what data you want to collect and where you want the collection stored.

    Was this answer helpful?

    0 comments No comments

  2. Julie Huynh 3,770 Reputation points Independent Advisor
    2026-10-01T11:52:39.9633333+00:00

    Dear @Jackie SOARES,

    Good day! Welcome to Microsoft Q&A forum!

    To better understand your scenario, could you please clarify:

    • Is TOTAL a cell label that appears in your worksheet, or is it a named range created in Excel?
    • Are you looking to display the value from the TOTAL cell in another cell, or do you want to move the value from one location to another?
    • Could you provide a small example of your worksheet layout, including where the TOTAL cell is located and where you would like the value to appear? To make sure I understand your requirement correctly, I tested a scenario where a cell contains the label "TOTAL" and an adjacent cell contains the value. I then used a formula to automatically return that value in another cell, even if the TOTAL row changes location within the worksheet.

    User's image

    User's image

    Could you help clarify if this is the type of behavior you're looking for?

    If you’re able to share a bit more about your situation, I might be able to suggest some helpful next steps. 

    Kindly let me know when there are updates or if you need further assistance. Any updates you’re able to share would be really helpful. I appreciate your time and look forward to hearing how things are going! 

    Thank you for your time and patience.

    Was this answer helpful?


  3. Jackie SOARES 0 Reputation points
    2026-10-01T10:06:08.9766667+00:00

    Can a Cell with a particular name eg TOTAL be moved to another cell recognising the value from that cell location to another cell

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.