+ Reply to Thread
Results 1 to 6 of 6

Formulas to remain constant

  1. #1
    Forum Contributor
    Join Date
    11-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    200

    Formulas to remain constant

    I have a row of cells that are all formulas that contain other cells for data. When the data cells are cut and pasted into another cell, the formulas are automatically updated with the new cell address. I do not want this to happen. How can the cell addresses in the formula remain constant even when these data cells are moved? Thanks!

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formulas to remain constant

    In Excel 2010 go to FIle, Options, Formulas, in Workbook Calculations select Manual and check Enable iterative Calculation.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Formulas to remain constant

    Without more details, I think this approach may work for you...
    Use the INDEX function to reference the cell you want to always point to.
    Example:
    This formula will always reference cell I3...even if you cut it and paste it elsewhere.
    =INDEX(I:I,3)

    Caveat: If you insert/delete columns or move Col_I that reference will move.
    To prevent that scenario, too...try this formula:
    =INDEX(1:1048576,3,9)

    Does that give you something to work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Contributor
    Join Date
    11-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Formulas to remain constant

    yes. thank you very much!

  5. #5
    Forum Contributor
    Join Date
    11-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Formulas to remain constant

    I was using if/then so the cell would show blank instead of a 0 if there was no data in source cell. Is there a way to do that with index?

  6. #6
    Registered User
    Join Date
    10-25-2012
    Location
    Bratislava, Slovakia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Formulas to remain constant

    You can use in your formulas INDIRECT function, for example:
    Suppose you have in cell A10 formula =INDIRECT("A1") then you can move cell A1 anywheres the formula in cell A10 will reffering always to cell A1.

+ 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. Message box VBA - trigger to remain constant, need VBA to stop thereafter
    By orlando212 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-31-2013, 08:55 AM
  2. Combine cells but one variable remain constant
    By balexander26 in forum Excel General
    Replies: 3
    Last Post: 11-10-2011, 03:23 AM
  3. cell to remain constant value in column
    By yikes in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-15-2007, 08:28 PM
  4. remain constant in a copy & paste
    By Viviank in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 03-18-2006, 06:35 PM
  5. [SOLVED] data source remain constant
    By maryj in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-28-2005, 08: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