+ Reply to Thread
Results 1 to 5 of 5

If statement

  1. #1
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    If statement

    Hi guys and many thanks for your help in advance

    The Problem...

    All sales revenue (C14:C25) receives a commission payment ( I have manually entered the commission payable in E14:E25). The amount of commission paid changes as the cumulative sales increase according to the bands seen in (C5:E9). So, £0 to £40,000 receives 2%, >£40,000 and <=£75,000 receives 3% , >£75,000 and <=£110,000 recieves 4% ect

    Im am trying to find a formula for (E14:E25) to work out commission payable but am struggling when revenue in a month needs to be attributted to different bands.

    Where I have added the manual calculation I have also given a written explanation as to the calculation.

    Could anyone help with this? Many thanks
    Attached Files Attached Files
    Last edited by Blake 7; 10-23-2014 at 07:10 AM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: If statement

    Shouldn't your August calc be 1100?

    By adding a row above your commission rates table with 0 for both columns, you can use this formula in F15:

    =SUMPRODUCT(--(D15>$D$5:$D$9),(D15-$D$5:$D$9),$E$6:$E$10-$E$5:$E$9)-SUM(F$14:F14)

    See attached.
    Attached Files Attached Files
    Remember what the dormouse said
    Feed your head

  3. #3
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: If statement

    Hey - perfect, worked a treat and you were right about August!

    Many thanks for your time - much appreciated.

    All the best
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Cool Re: If statement

    Here is my way....More Independent one..
    Please Login or Register  to view this content.
    check the attached file..
    Attached Files Attached Files
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  5. #5
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: If statement

    thanks for an alternative solution Vikas

+ 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. compile error expected line number statement end statement
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2014, 10:12 AM
  2. VBA Compile Error : line number or label or statement or end of statement
    By excellearner121 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 06:41 PM
  3. Replies: 4
    Last Post: 06-01-2012, 10:05 AM
  4. Replies: 4
    Last Post: 05-16-2012, 05:33 PM
  5. [SOLVED] Utilize a Select Case Statement in Target Intersect Statement
    By max57 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2009, 08:55 PM

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