+ Reply to Thread
Results 1 to 4 of 4

Thread: multiply number dependant on cell value

  1. #1
    Registered User
    Join Date
    01-21-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    4

    multiply number dependant on cell value

    Hello,

    I have an little problem with creating a formula. I have no idea on how to set this up. I have no idea if this is even possible in excel.
    What i need done is for excel to choose a formula based on the number in the cell.
    For example if i input numbers between
    0-50 for it to multiply the cell by .25
    50.01 - 200 for it to multiply the cell by .30
    200.01 - 500 for it to multiply the cell by .35
    500.01-10,000 for it to multiply the cell by .40

    Is it possible to do something like this?
    Last edited by Jakub; 01-21-2012 at 04:31 PM.

  2. #2
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,222

    Re: I need help creating a formula.

    Try a lookup:

    =A1 * LOOKUP(A1, {0,50.01,200.01,500.01}, {0.25,0.3,0.35,0.4})
    _________________
    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
    01-21-2012
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: I need help creating a formula.

    Thanks! im going to try this out soon!

  4. #4
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,222

    Re: multiply number dependant on cell value

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.
    _________________
    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!)

+ 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.2.0