Formula 7

Operators/Functions Used

If-Then-Else, Subtract (-), Greater than (>), Maximum ([array]), Multiply (*), Parentheses ().

Formula Purpose

A company has the following bonus/commission structure for its sales force: when a sales representative sells at or over quota, the representative earns a $250 bonus or a 15% commission (on the amount over quota), whichever is highest. The company pays no bonus or commission on sales less than quota. The sales manager wants bonus/commission calculated and included on a report.

Formula

If ({file.SALES}-{file.QUOTA})>=0 Then 
    Maximum([250,.15*({file.SALES} - {file.QUOTA})])
Else
    0

Result

Sales Quota 15% Amount Paid

10,000

8000

300

540 (calculated commission)

8000

8000

0

250 (guaranteed bonus)

7999

8000

0

0 (sales not >= Quota)

Explanation

Related topics

Formulas In Action



Seagate Software, Inc.
http://www.seagatesoftware.com
Please send comments to:
techpubs@seagatesoftware.com