+ Reply to Thread
Results 1 to 5 of 5

cell reference to stay fixed

  1. #1
    Registered User
    Join Date
    01-05-2020
    Location
    UK
    MS-Off Ver
    2007
    Posts
    19

    cell reference to stay fixed

    Hello forum

    question please. I've got a spreadsheet, part of which attached

    b9, is the sum of D6 to D9,
    b14, is the sum of D10 to D14

    now each row is actually the length of seconds of something

    every so often, the D column will be updated, and the column will be shifted to the right (the D column is actually this weeks update, the E column is last months update)
    so there will be a new D column, and 'D' column will be moved to 'E', 'E' will become 'F' and so on

    usually, if I insert a new 'D' column, the b9 reference will then change to E6 to E9?

    is there any way of making it so that the b9 will always reference D6 to D9, so that it won't change to E6 to E9, when I insert the new column?

    s_xl.png

  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,747

    Re: cell reference to stay fixed

    Here is one way (there are probably others):

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,613

    Re: cell reference to stay fixed

    Deleted, not a working solution
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: cell reference to stay fixed

    Or perhaps..

    =SUM(INDEX(B6:D9,,3))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    01-05-2020
    Location
    UK
    MS-Off Ver
    2007
    Posts
    19

    Re: cell reference to stay fixed

    Quote Originally Posted by 6StringJazzer View Post
    Here is one way (there are probably others):

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    thanks- and thanks for the other suggestions too

+ 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] Fixed Cell Reference
    By Jonathan78 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2016, 09:29 AM
  2. Cell reference to stay the same when data is moved in referenced cell
    By OZZIEUNITED in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-10-2014, 05:32 AM
  3. [SOLVED] Fixed Cell Reference Minus a Fixed Number
    By juddykong in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-03-2013, 03:25 PM
  4. Coding a graph to stay fixed as I scrolll (without using freeze frames)
    By Willpower in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-30-2012, 05:31 PM
  5. [SOLVED] Grouping AND Autofiltering on a protected sheet - it just won't stay fixed!
    By muzzanoosa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2012, 02:59 AM
  6. Cololrs on individual bar charts won stay fixed when sorted
    By accelerator in forum Excel General
    Replies: 0
    Last Post: 01-20-2012, 04:08 AM
  7. I want a timestamp to stay in place after a reference cell is deleted?
    By Chaybird in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-28-2010, 10:30 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