+ Reply to Thread
Results 1 to 5 of 5

copy/paste a cell formula without changing it

  1. #1
    Registered User
    Join Date
    04-17-2012
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    16

    copy/paste a cell formula without changing it

    Hello,

    How can I copy/paste a cell formula without changing it?

    For example:
    =ADDRESS(2;MATCH(((LEFT(INDIRECT(ADDRESS((ROW()-1);COLUMN();4));(LEN(INDIRECT(ADDRESS((ROW()-1);COLUMN();4)))-1)))+0);(A1:UX1);0);4)

    If I click on a cell and copy/paste it to another, the bold part of the above formula will change.
    How can I do this without having it changed?

    Regards

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: copy/paste a cell formula without changing it

    Copy from the Formula bar instead of the cell.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    04-17-2012
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: copy/paste a cell formula without changing it

    Quote Originally Posted by protonLeah View Post
    Copy from the Formula bar instead of the cell.
    I would but it's for 150 more cells. There must be a shorter way.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: copy/paste a cell formula without changing it

    Put $ to make it absolute
    Change (A1:UX1) to ($A$1:$UX$1)

  5. #5
    Registered User
    Join Date
    04-17-2012
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: copy/paste a cell formula without changing it

    Quote Originally Posted by Cutter View Post
    Put $ to make it absolute
    Change (A1:UX1) to ($A$1:$UX$1)
    Worked like a charm, thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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