+ Reply to Thread
Results 1 to 6 of 6

A copy paste formula not working

  1. #1
    Registered User
    Join Date
    04-27-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    41

    A copy paste formula not working

    I copied a table with many formulas in it and pasted it to some other place, adjusted some variables according to new cell names, the formula is %100 same now but however, first table shows results but copy paste one doesn't. Screenshots below, I can also share the excel file if needed.

    Formula for O7; =IFERROR(C7*D7/M7*F49*SQRT((3,14*N7)^2+M7^2)/1000;"")
    Formula for AG7; =IFERROR(U7*V7/AE7*F53*SQRT((3,14*AF7)^2+AE7^2)/1000;"")

    Capture.PNG

    Capture2.PNG

    Thanks in advance.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: A copy paste formula not working

    Please attach the file. We cannot see all the cells referenced in the formulas. Also it appears you are using merged cells, which is almost always a bad idea.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    04-27-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    41

    Re: A copy paste formula not working

    I don't know what happened but after I messed around a bit, it started working but still, I started using Excel for the first time in my life like 4-5 days ago and this is the first thing I'm doing to help me with my work, for easy calculations, so if you can take a look at it and point me my errors, it would still be appreciated. Also when I copy paste a table, it changes the formulas accordingly but there should be a fixed cell for the entire column, like an F49 in the formula of cells AG7:AG23, so it comes out as F49 at AG7, F50 at AG8, F51 at AG9... Is there a way to change all of them to those F50 F51 F52 Fxxx to F49 in a few smart moves or should I keep typing F49 into all of them manually?
    Attached Images Attached Images
    Attached Files Attached Files

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

    Re: A copy paste formula not working

    To maintain a reference to cell F49 as the formula is dragged down the rows place a $ after the F (F$49)
    To maintain a reference to cell F49 when the table is copied from B3:R24 to T3:AJ24 place a $ in front of the F ($F49)
    To maintain a reference to cell F49 in both instances place a $ in front of and after the F ($F$49)
    Note The above are called mixed and absolute references. You may want to look up absolute reference as the concept is important when using Excel. You'll also find that the F4 key is useful in quickly applying the type of reference to a formula.
    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.

  5. #5
    Registered User
    Join Date
    04-27-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    41

    Re: A copy paste formula not working

    THIS is what I needed, thank you very much..

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

    Re: A copy paste formula not working

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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] formula stops working after I copy/paste
    By scudo in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 05-03-2015, 04:57 PM
  2. Copy paste - cute paste macro almost working
    By graiggoriz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2014, 12:33 PM
  3. copy paste not working
    By jvbeats in forum Excel General
    Replies: 1
    Last Post: 12-06-2012, 04:54 PM
  4. Replies: 2
    Last Post: 08-17-2012, 08:16 AM
  5. Replies: 2
    Last Post: 03-27-2012, 02:49 PM
  6. Copy and Paste not working
    By Shark Man in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-11-2009, 09:03 AM
  7. copy & paste formula between spreadsheets - not working
    By Glibby Gibson in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-10-2006, 09:00 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