+ Reply to Thread
Results 1 to 7 of 7

change absolute reference in a formula

  1. #1
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2010 (office) 2013 (home)
    Posts
    256

    change absolute reference in a formula

    Hi

    I have been making a mistake by not including $ in my formula for absolute reference. Now, i could like to amend this mistake. Is there a quick way of doing it?

    Basically, i have 24 columns and 400+ rows for 4 worksheets each to amend. Hence, i am looking for a short cut rather than just to press "F4" button for each reference.

    Thanks for the help in advance.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: change absolute reference in a formula

    If your formula is consistent you can rename only first formula and drag down.

    By consistent I mean if in C1 is A1+B1 then it's same all way down (A2+B2 etc)

  3. #3
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: change absolute reference in a formula

    urk!

    Depending on the references and the rest of the formulae you could use find & replace...

    If there is a pattern to the formulae you could replicate it with index() and row() column() counters.

    CC

  4. #4
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2010 (office) 2013 (home)
    Posts
    256

    Re: change absolute reference in a formula

    Hi,

    I should have attached a workbook for reference.

    I hereby attached one now. in sheet 1, column b to col n is jan - dec 09 and its total. it links to sheet 2. Now in col P to AA in sheet 1, i need the formula stayed the same as col b to col n, eg col p have the same formula link to the same cells. so, i need col b to n to be absolute reference in its formula, otherwise, when i copy and paste to col p to aa, all the link will be adjusted accordingly.

    It is late and i am tired, hopefully you guys know what i am trying to say.

    Thanks
    Attached Files Attached Files

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: change absolute reference in a formula

    OK, here's what you need to do:

    click on B3 and hit F2 to edit the formula.
    in the formula bar, highlight the formula and copy it
    hit ESC to cancel out of the formula bar
    click P3 and hit F2
    in the formula bar delete what's in there now and then paste what you copied. Hit Enter.
    P3 should now have the the same formula as B3, i.e.
    =SUM(Sheet2!B3,Sheet2!B16)
    Now copy P3 down to P13 and then copy column P across to column AA

    does that help?

  6. #6
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2010 (office) 2013 (home)
    Posts
    256

    Re: change absolute reference in a formula

    Hi Teylyn,

    Your suggestion works fine. However, is there a method to include Absolute ref (aka $) in the fomula? Because i need to copy and paste it on a monthly basis.

    Thanks

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: change absolute reference in a formula

    here is a link to a site where you can find a macro to do this

    http://www.ozgrid.com/VBA/formula-ref-change.htm

+ 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