+ Reply to Thread
Results 1 to 15 of 15

formatting multiple formulas in one go

  1. #1
    Registered User
    Join Date
    09-04-2013
    Location
    London,England
    MS-Off Ver
    Excel 2003
    Posts
    7

    formatting multiple formulas in one go

    I have the following formula:

    =('grow rev - pages'!C6)
    =('grow rev - pages'!C7)
    =('Grow Revenue - current'!E3)
    etc

    I want to go through the s/sheet and change the formula in each cell to:

    =indirect("'grow rev - pages'!$C$6")

    Is there a way of automating this? I have 800 cells that need changing....

    Thanks in advance...

  2. #2
    Registered User
    Join Date
    09-03-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: formatting multiple formulas in one go

    hi,
    you can use "find" & "replace" option here. press ctrl + h

  3. #3
    Registered User
    Join Date
    09-04-2013
    Location
    London,England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: formatting multiple formulas in one go

    What would I type in the find and replace field?

    Thanks

  4. #4
    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,946

    Re: formatting multiple formulas in one go

    Find/Replace wont do that if the cell ref's keep changing - you would have to do a F/R for every instance looks like you will have to copy/paste

    Why do you need to make that change?
    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

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: formatting multiple formulas in one go

    Try this:

    =INDIRECT("grow rev - pages"&"!"&"C"&ROW(6:6)) and drag it down
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  6. #6
    Registered User
    Join Date
    09-04-2013
    Location
    London,England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: formatting multiple formulas in one go

    Thanks tried that and it didn't work - any other ideaS? cheers for your help all

  7. #7
    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,946

    Re: formatting multiple formulas in one go

    do you have a sample to share with us?

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  8. #8
    Registered User
    Join Date
    09-04-2013
    Location
    London,England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: formatting multiple formulas in one go

    Unfortunately I can't share it as it contains commercial sensitive data about the company I work for - I wish I could

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

    Re: formatting multiple formulas in one go

    Could you put together a clean sample, else it will just be guess-work

  10. #10
    Registered User
    Join Date
    09-04-2013
    Location
    London,England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: formatting multiple formulas in one go

    good plan - example s/sheet attached
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    09-04-2013
    Location
    London,England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: formatting multiple formulas in one go

    Any ideas? Cheers guys

  12. #12
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: formatting multiple formulas in one go

    Hi,

    Are you simply wishing to replace all of your formulae with INDIRECT versions of the same formulae in each case?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  13. #13
    Registered User
    Join Date
    09-04-2013
    Location
    London,England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: formatting multiple formulas in one go

    i wish to replace each formula with this format:

    =indirect("'grow rev - pages'!$C$6")

    thanks

  14. #14
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: formatting multiple formulas in one go

    Highlight only those cells for which you wish to make these changes.

    Using the Find and Replace tool, perform four Replace Alls as follows and in this order:

    Find what: =
    Replace with: #INDIRECT

    Find what: (
    Replace with: ("

    Find what: )
    Replace with: ")

    Find what: #
    Replace with: =

    Regards

  15. #15
    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,946

    Re: formatting multiple formulas in one go

    =('grow rev - pages'!C6)
    =('grow rev - pages'!C7)
    =('Grow Revenue - current'!E3)
    etc
    what do you want these to change to? From what I can make out, it looks like it is working fine (but obviously not, else you wouldnt be asking lol)

    What would you want that range of formulas to change to?

+ 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] Multiple Formulas in Conditional Formatting
    By Bigadz in forum Excel General
    Replies: 2
    Last Post: 04-17-2012, 03:52 AM
  2. Replies: 4
    Last Post: 01-31-2012, 04:36 AM
  3. Conditional Formatting Formulas for Multiple Dates
    By smart_as in forum Excel General
    Replies: 4
    Last Post: 03-02-2011, 06:03 PM
  4. Replies: 12
    Last Post: 08-21-2009, 11:23 AM
  5. Replies: 1
    Last Post: 08-20-2009, 10:58 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