+ Reply to Thread
Results 1 to 5 of 5

Changing a cell value by a percentage in the same cell in multiple worksheets

  1. #1
    Registered User
    Join Date
    04-16-2011
    Location
    moorhead, mn
    MS-Off Ver
    Excel 2003
    Posts
    8

    Changing a cell value by a percentage in the same cell in multiple worksheets

    I would like to update my prices in a workbook with multiple worksheets.

    So I want to increase cell g12 by 5% and have that value put in cell g12
    and I would like it to do that on all worksheets.

    How would I do that without having to do manual calculations for each worksheets.
    Is there a macro I could do that would change each sheet?
    Last edited by lschott52; 04-16-2011 at 08:38 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Changing a cell value by a percentage in the same cell in multiple worksheets

    One way:

    1) In an empty cell put the number 1.05
    2) Copy the cell
    3) Click on G12 (or all the cells on the worksheet you want to increase by 5%)
    4) Select Edit > Paste Special > Multiply > OK

    5) Repeat on other sheets.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-16-2011
    Location
    moorhead, mn
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Changing a cell value by a percentage in the same cell in multiple worksheets

    How can i do a macro to change g12 by increase of 5% using a macro because
    i have many worksheets within a workbook and would like a macro to go to
    each worksheet to change rather than manually as I have many worksheets.

  4. #4
    Registered User
    Join Date
    04-16-2011
    Location
    moorhead, mn
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Changing a cell value by a percentage in the same cell in multiple worksheets

    how can i do a macro for multiple worksheets to do this?

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Changing a cell value by a percentage in the same cell in multiple worksheets

    To do ALL worksheets with no regard for filtering:

    Please Login or Register  to view this content.


    If you only want this to occur on specific sheets, list them specifically this way:
    Please Login or Register  to view this content.

    If you want this to run on all sheets EXCEPT one sheet, then exclude that sheet by naming it specifically:
    Please Login or Register  to view this content.

+ 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