+ Reply to Thread
Results 1 to 6 of 6

IF formula that also multiplies

  1. #1
    Registered User
    Join Date
    07-24-2007
    Posts
    66

    IF formula that also multiplies

    I'm trying to get an IF formula to produce a result depending on what is in B12 (please see formula below). While this formula works, it is limited to 10 nested formulas and I may need to go up to 25. The purpose of the formula is to add $1500 for each occurence after 3. For example if the client has 1-3 systems, the flat fee is $10,000, each system after that is going to cost them $1500 per. How do I write this?

    =IF($B$12<=3,3500,IF($B$12=4,4500,IF($B$12=5,6000,IF($B$12=6,7500,IF($B$12=7,9000,IF($B$12=8,10500,IF($B$12=9,11500,IF($B$12=10,13000))))))))

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    How about:

    =IF($B$12<=3,3500,3000+1500*($B$12-3))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Or this,

    Please Login or Register  to view this content.
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Registered User
    Join Date
    07-24-2007
    Posts
    66
    NBVC - What's the 3000 being added to the 1500 in your formula?

  5. #5
    Forum Contributor
    Join Date
    02-28-2006
    Posts
    690
    or you could make yourself a lookup table

    0....0
    1.....0
    2.....0
    3.....3000
    4......4500
    5......6000

    etc etc

    =vlookup(your cell reference, lookuptable,2)

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by amy22x3
    NBVC - What's the 3000 being added to the 1500 in your formula?
    The 3000 is actually being added to this: 1500*($B$12-3)

    which would result in 4500 when B12=4, 6000 when B12 = 5, etc... as per your original formula....

    are those the results you want or are you looking for final number, e.g. =IF($B$12<=3,0,1500*($B$12-3))+10000 would result in 10000 for 3 or less, 11500 for 4, 13000 for 5, etc...

+ 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