+ Reply to Thread
Results 1 to 6 of 6

Adding absolute references ($) to formulas in multiple cells

Hybrid View

  1. #1
    Registered User
    Join Date
    12-23-2010
    Location
    Alamo, CA
    MS-Off Ver
    Office 365 V. 2308
    Posts
    22

    Adding absolute references ($) to formulas in multiple cells

    Hello:

    I have a large number of formulas that I'm trying to add absolute references to without going into each cell one by one.

    I've been able to highlight a range in a column and do a find/replace for each column but have +100 columns to do...

    Is there an easier way to do this?

    =IF(A12=0,"","Sheet1"!C12) change to =IF(A12=0,"",'Sheet1!$C$12)

    Thanks.

    Drew

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,346

    Re: Adding absolute references ($) to formulas in multiple cells

    Assuming the relative reference (A12=0) is correct, change the C12 to absolute ($C$12), copy and paste the corrected formula into the desired columns/cells.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Adding absolute references ($) to formulas in multiple cells

    You could select all the columns (Using the Cntrl key to add new columns if they are not side by side), then use find/replace and 'replace all'
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Adding absolute references ($) to formulas in multiple cells

    Hi Changing

    =IF(A12=0,"","Sheet1"!C12) change
    
     to 
    
    =IF($A$12=0,"",'Sheet1!$C$12)
    Is a lot easier. Is that Ok?

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Adding absolute references ($) to formulas in multiple cells

    This is the first part of the solution.

    It will convert any appearances of cell number like C12 to $C$12.

    The next stage is to convert R[1]:C[1] formats

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Adding absolute references ($) to formulas in multiple cells

    Original formula

    =DSUM(A3:B8,B3,A1:A2)
    In the formula bar select the full formula using mouse.
    Press F4 key All your reference will be absolute

    =DSUM($A$3:$B$8,$B$3,$A$1:$A$2)
    Press F4 Again You will get

    =DSUM(A$3:B$8,B$3,A$1:A$2)
    Press F4 Again You will get

    =DSUM($A3:$B8,$B3,$A1:$A2)

+ 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