+ Reply to Thread
Results 1 to 3 of 3

Reduce numbers by a certain percentage

  1. #1
    Registered User
    Join Date
    07-07-2011
    Location
    HSV, AL
    MS-Off Ver
    Excel 2007
    Posts
    4

    Reduce numbers by a certain percentage

    All,

    I am new to VBA and want to create a spreadsheet that automatically adjusts the numbers by a certain percentage based off production.

    For example, each cell is a bay and contains the production numbers for a given month. If events happen that decrease the production ability (i.e. 90%), I would like to place that # in the cell (H2) and reduce all numbers (B8:P21) by that percentage. Could anyone help me with what code I would need in VBA to accomplish this? Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Reduce numbers by a certain percentage

    Hi and welcome to the board

    You can record a macro which does the following
    Select and copy H2,
    Select the range B8:P21 -
    Select Paste special
    Select multiply- OK

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Reduce numbers by a certain percentage

    I would think you could do this with formulas. Attach an example workbook
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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