+ Reply to Thread
Results 1 to 6 of 6

Add 20% to numbers under, Add 15% to numbers between, Add 10% to numbers over!

  1. #1
    Registered User
    Join Date
    04-13-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    14

    Add 20% to numbers under, Add 15% to numbers between, Add 10% to numbers over!

    As the title states i need to Add 20% to numbers under 200, Add 15% to numbers between 200 & 300 and add 10% to numbers over 300!



    Thanks

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Add 20% to numbers under, Add 15% to numbers between, Add 10% to numbers over!

    Try

    =IF(A1<200,A1*1.2,IF(A1<300,A1*1.15,A1*1.1))

    where A1 contains the data
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Add 20% to numbers under, Add 15% to numbers between, Add 10% to numbers over!

    =if(a1<200,a1*1.2,if(and(a1<=300,a1>=200),a1*1.15,a1*1.1))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

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

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: Add 20% to numbers under, Add 15% to numbers between, Add 10% to numbers over!

    Quote Originally Posted by Fotis1991 View Post
    a1<200....(and(a1<=300,a1>=200)
    Why check twice?

    If is not <200 then why to check is it >=200?
    Never use Merged Cells in Excel

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Add 20% to numbers under, Add 15% to numbers between, Add 10% to numbers over!

    So? Just to be sure!

    As i understand you like more this edition..

    =IF(A1<200,A3*1.2,IF(A3<=300,A3*1.15,A3*1.1))

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Add 20% to numbers under, Add 15% to numbers between, Add 10% to numbers over!

    I'd prefer:
    PHP Code: 
    =A1*LOOKUP(A1,{0,200,300},{1.2,1.15,1.1}) 
    Last edited by Kyle123; 07-04-2012 at 04:18 AM.

+ 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