+ Reply to Thread
Results 1 to 3 of 3

Convert my formula to indirect???

  1. #1
    Registered User
    Join Date
    08-02-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    Convert my formula to indirect???

    Hi All,

    I have been wracking my brains for ages and am not getting anywhere.

    I have data in my spreadsheet and I want to add like this =c1+f1

    I need to insert cells all over the place to make my work balance but I want these formulas to always stay as =C1+f1 and not auto update to eg =c1+f2

    Anyone know how to do this?

  2. #2
    Registered User
    Join Date
    07-30-2011
    Location
    melbourne
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Convert my formula to indirect???

    i'm not 100% sure on the question, but i think i have the gist of it.

    Im thinking what you want is an absolute cell reference.
    This makes sure that the cell reference the formula is referring to does not change.

    Using your example

    Normal cell reference:=c1+f1
    when dragged down:=c2+f2

    Absolute cell reference:=$c$1+$f$1
    when dragged down:=$c$1+$f$1

    just put a "$" sign before the letter and the number in the formula.

    May not be what your looking for but it might help.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Convert my formula to indirect???

    Even absolute cell references change when you insert rows/columns. That's why the OP is asking about using INDIRECT(). If you Indirectly() create C1 as a reference, Excel doesn't know to change it when stuff is inserted.

    The formula =C1+F1 is converted to INDIRECT() by:

    =INDIRECT("C1")+INDIRECT("F1")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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