+ Reply to Thread
Results 1 to 13 of 13

Excel 2007 : How to change all reference cells in a worksheet

  1. #1
    Registered User
    Join Date
    08-26-2010
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    3

    Unhappy How to change all reference cells in a worksheet

    Here is my situation:

    I created one worksheet called: Assumptions.
    In this worksheet I have 6 different columns representing 6 different cases.

    I have completed the first case in a different worksheet called: WL. I would like to copy this case/worksheet WL and be able to change all the reference cells used in case#1: WL to case#2: FA. So all the cells used in my Assumptions worksheet were in the B colums for case 1: WL, for case 2: FA they will all be in the C column, same row, different column.

    Does anyone knows a quick way to do the changes?

    My case #1 worksheet as over 10 000 formulas, I really don't want to change each and every formula.

    I was thinking there was a way to highlight ALL the reference cells used in my
    Assumption worksheet, so I would have had to drag from B to C cells, only 50 cells. But I can't find it.

    Thanks for your help.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How to change all reference cells in a worksheet

    Find and Replace, Find WL!, Replace with FA!, Look in Formulas, Replace All
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-26-2010
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How to change all reference cells in a worksheet

    If I used your trick I would have to find all b and replace with c, but then it will change all the B's for C's in my entire documents. I don't want to do that. I only want to change the b for c in the assumption sheet.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How to change all reference cells in a worksheet

    Pardon ?

  5. #5
    Registered User
    Join Date
    08-26-2010
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How to change all reference cells in a worksheet

    I would create a FA worksheet from my WL page, a simple copy and paste. The only difference between WL and FA is that WL used reference cells from the column B while my FA worksheet use reference cells from the C column.

    When I copy WL to create FA, all my formulas will stille refer toe the B cells. I want a quick trick to change the B column reference to the C column reference.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How to change all reference cells in a worksheet

    Perhaps post a workbook and explain in context.

  7. #7
    Registered User
    Join Date
    03-27-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Excel 2007 : How to change all reference cells in a worksheet

    Hate to dig up an old thread but I wanted a good solution to this problem as well, and doing a google search of "change all references in a sheet excel" turns this up as the first result, so I feel I should add my two cents.

    The only way I can think of is this: drag column B over column C, then paste column C's correct values in (and put column B's values back if desired). Would like to hear alternative solutions.

    BTW, @shg, I feel I should add it's exceedingly clear what OP was asking.

  8. #8
    Registered User
    Join Date
    03-27-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Excel 2007 : How to change all reference cells in a worksheet

    Just thought of another one which I haven't tried but sounds like it could work:

    Create a named range exactly the same size as your assumptions reference(s). Let's say you have assumptions A B C D E F, with sub-assumptions (individual cells/ranges) of 1 2 3 4 etc.

    Name your ranges something easy and unique like AssumptionA_1, then do a find replace as required.

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Excel 2007 : How to change all reference cells in a worksheet

    Hi forfriends and welcome to the forum

    Seeing as this thread is almost 3 years old, and the OP did not respond to shg's suggestion of providing a sample workbook, I doubt they are still monitoring this thread now.

    If you are asking the "same" question, please post it in your own thread (otherwise it's considerered hijacking). If you are offering another suggestion, the suggestion given by shg should work just find if done how he said (It will ONLY be applied to that sheet)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  10. #10
    Registered User
    Join Date
    03-27-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Excel 2007 : How to change all reference cells in a worksheet

    Thanks for the welcome - I will post my own thread in the future, but I figured to help other travellers who stumble across this thread such as myself by google I thought it would be a good idea to post a solution here.

    shg's solution doesn't work unless I misunderstood either the OP or shg (which I don't think I did..)

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Excel 2007 : How to change all reference cells in a worksheet

    If you post a similar thread, we can discuss it there

  12. #12
    Registered User
    Join Date
    10-22-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Excel 2007 : How to change all reference cells in a worksheet

    I was following along fine until it was recommended that a new thread be started. Booh!

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Excel 2007 : How to change all reference cells in a worksheet

    drums4tay, I *think* this is the contunuation of this...
    http://www.excelforum.com/excel-form...g-formula.html

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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