Ozgrid Excel Help Forums & Excel Best Practices


XL Templates | XL Add-ins | XL Training | XL Estimating | XL Scheduling | XL Recovery | XL Trading | XL Financial | XL Conversion | XL Charting


<
+ Reply to Thread
Results 1 to 4 of 4

Thread: Conditional Percentage Increase

  1. #1
    Join Date
    26th April 2008
    Posts
    2

    Conditional Percentage Increase

    hi all

    good day all

    i have data in the follwing format..

    HTML Code:
    price
    110
    23
    122
    122
    190
    1111
    3000
    980
    230
    422
    5000
    i need to increase the value by a percentage.. so if it falls with in 1-130 increase by by 4.7% , 130 -400 increase 4.0%, 400 -600 increase by 3.8%, and so on.

    i know how do i do it by paste special (learnt it from here) but i have to select the range manually and apply the change..Can i automate this using a macro .. i can sort the data in-order if needs be..but desperatly looking to automate.. i am no good at coding

    thanks...

  2. #2
    Join Date
    24th January 2003
    Location
    Australia
    Posts
    51,266

    Re: Percentage Increase....


    Try this formula. Array formulas will have curly brackets {} emcompassing the ENTIRE formula. You do not add these, you Enter the formula with Ctrl+Shift+Enter and Excel will add them (details: Array formulas). Many more Excel Formulas
     
     =A1*SUM(1,CHOOSE(MATCH(A1,{10000,600,400,130},-1),0.25,0.37,0.4,0.47)) 



    Copy down and Paste special as values over the top of the orginals. Follow the descending pattern in the MATCH function and the acsending pattern for CHOOSE

  3. #3
    Join Date
    26th April 2008
    Posts
    2

    Re: Percentage Increase....

    Quote Originally Posted by Dave Hawley

    Try this formula. Array formulas will have curly brackets {} emcompassing the ENTIRE formula. You do not add these, you Enter the formula with Ctrl+Shift+Enter and Excel will add them (details: Array formulas). Many more Excel Formulas
     
     =A1*SUM(1,CHOOSE(MATCH(A1,{10000,600,400,130},-1),0.25,0.37,0.4,0.47)) 



    Copy down and Paste special as values over the top of the orginals. Follow the descending pattern in the MATCH function and the acsending pattern for CHOOSE

    thanks..
    works wonderfully ..you saved me hours of work....
    Just one note...in paste special i had to write 3% increase as 0.03..and i had to do the same with your formula...just in case someone else find this post usefull
    nafri,,

  4. #4
    Join Date
    24th January 2003
    Location
    Australia
    Posts
    51,266

    Re: Conditional Percentage Increase


    Create Excel dashboards quickly with Plug-N-Play reports.
    Yep, .03 IS 3% a percentage is part of 1.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Possible Answers

  1. Increase Percentage By Year
    By dntel123 in forum EXCEL HELP
    Replies: 2
    Last Post: February 19th, 2008, 00:01
  2. Increase Values By x Percentage
    By tomvh444 in forum EXCEL HELP
    Replies: 10
    Last Post: January 16th, 2008, 16:38
  3. Calculating Percentage Increase Or Decrease
    By RTPCT in forum EXCEL HELP
    Replies: 1
    Last Post: July 13th, 2007, 21:11
  4. average percentage increase
    By wanita in forum EXCEL HELP
    Replies: 2
    Last Post: July 15th, 2006, 16:54
  5. Increase Cell Values by a Percentage %
    By Tilton in forum EXCEL HELP
    Replies: 2
    Last Post: July 1st, 2004, 06:45

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