+ Reply to Thread
Results 1 to 7 of 7

Need a Macros that will find a certain row to change formula. Row is not always the same

  1. #1
    Registered User
    Join Date
    07-25-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    7

    Need a Macros that will find a certain row to change formula. Row is not always the same

    Hi,

    I have built an excel template that has gone out to ~60 users. I have 2 formula errors in the template and I would like to build a macros that they can cut and paste into the template to fix the formula instead of fixing manually and sending back out. I am able to fix one formula but I can't figure out how to change the 2nd. The row that needs to be updated is not on the same row in each template. It's in the middle of the spreadsheet so I can't reference the first or last row. How do I search for the right row to fix the formula? In the row in column A, it's titled "Raises" and then the formula is in column M. I've tried to do a find "Raises" and then tab over to column M, while recording but that doesn't work. Anyone have any ideas?

    Thanks,
    CMc

  2. #2
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: Need a Macros that will find a certain row to change formula. Row is not always the sa

    1. Is the name of the range of the formula always the same? Do you use name references in your formula?

  3. #3
    Registered User
    Join Date
    07-25-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need a Macros that will find a certain row to change formula. Row is not always the sa

    Hi Gregg,

    The range of the cells are not named, but the range is always starting in column M through X. It's just that each spreadsheet is in a different row.

  4. #4
    Registered User
    Join Date
    07-25-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need a Macros that will find a certain row to change formula. Row is not always the sa

    Also, it's always the 4th row above the last used row but I can't get it to EndUp and then go up 4 cells.. not sure if that helps.

  5. #5
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: Need a Macros that will find a certain row to change formula. Row is not always the sa

    Please Login or Register  to view this content.
    Try this and let me know

    Thanks,

    Gregg

  6. #6
    Registered User
    Join Date
    07-25-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need a Macros that will find a certain row to change formula. Row is not always the sa

    That worked perfectly!! Thank you so much Gregg!!

  7. #7
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: Need a Macros that will find a certain row to change formula. Row is not always the sa

    You are welcome. If I have helped you could click that little star to add to my reputation and go to the top of this thread , click on thread tools and click solved.

    Thanks,

    Gregg

+ 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. Replies: 17
    Last Post: 06-09-2013, 09:43 AM
  2. [SOLVED] Formula to find a certain letter within a column and change value in another
    By MVS in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-02-2013, 08:12 PM
  3. Replies: 5
    Last Post: 03-07-2012, 10:24 AM
  4. Formula find last used cell and change referece
    By Zaeguzah in forum Excel General
    Replies: 18
    Last Post: 12-23-2009, 07:23 AM
  5. What formula do I use to find a percentage change?
    By buzy lizzy in forum Excel General
    Replies: 2
    Last Post: 09-14-2005, 02:06 PM

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