+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting for commission slabs

  1. #1
    Registered User
    Join Date
    04-09-2016
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    10

    Question Conditional formatting for commission slabs

    Hi guys

    i have to choose commission rate against the values, if upto 4.99 then it wilb be 0.03, if in 5- 99.9, then the commission will be charged 0.05 and so on. i have successfully computed the values for 1 and 3rd slab ,Howver for the second i get a N/A value. Need help. have stated the formula used below

    Commission Slab
    Commission Roll over
    Upto 4.99 0.03 0.01
    5.00-99.99 0.05 0.01
    100- above 0.10 0.02


    Please Login or Register  to view this content.
    Regards
    Aisha

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Conditional formatting for commission slabs

    =lookup(c11,{-1e99,4.99,5.00,100},{0.03,0.03,0.05,0.10})
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Conditional formatting for commission slabs

    =LOOKUP(C11,{-1E99,4.99,5.00,100},{0.03,0.03,0.05,0.10})
    or

    =IF(C11>=100,B6,IF(C11>=5,B5,B4))

    in descending order of values (100,5,4.99)

    NOTE: In your original formula remove the AND() as your're only supplying one condition.

    AND normally usues more than one condition, e.g.

    A1=13
    B1=11

    =IF(AND(A1=13,B1=11),TRUE,FALSE)

    Note, more than one condition in the AND(), both of them need to be correct for the result to be TRUE.
    Last edited by Special-K; 12-07-2016 at 07:25 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] If Conditions to calculate slabs - URGENT
    By manojsamuel2003 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2015, 06:31 AM
  2. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  3. Replies: 4
    Last Post: 02-08-2014, 12:44 PM
  4. Net Commission based on 3 Tiers with Commission Cap
    By mginsburg in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-03-2013, 04:38 PM
  5. Creating Slabs off a Field in a Pivot
    By moratufernando in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-21-2013, 09:44 PM
  6. [SOLVED] calculate commission $ based on total sold and commission percent
    By blondeindenver in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2005, 10:05 PM
  7. Calculation of tax based on tax slabs
    By vikesh in forum Excel General
    Replies: 5
    Last Post: 01-15-2005, 01:11 AM

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