Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Help with long if then statement

I need to create a if then statement for commissions calculations and it is on a cumulative total of sales. I think the formula is to long and do not know how to shorten it and make it work.



IF(B22500001,(C21*0.1),IF(B22250001,IF(C2250000 1,(((C22-500000)*0.1)+((500000-B22)*0.08)),IF(C22250001,(C21*0.08),IF(B22<250001 ,IF(C22500001,(((C22-500000)*0.1)+20000+(250000-B22)*0.05)),IF(C22250001,(((C22-250000)*0.08)+(250000-B22)*0.05),(C21*0.05)))))))

B C
line Commissions Jan Feb
Expected Annual Sales $400,000 $135,000
21 Month Sales - 344,861 -
22 Total Sales 344,861

Commission earned 20,089 -
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,045
Default Help with long if then statement

On Mon, 3 Mar 2014 21:58:51 +0000, Szpila wrote:


I need to create a if then statement for commissions calculations and it
is on a cumulative total of sales. I think the formula is to long and
do not know how to shorten it and make it work.



IF(B22500001,(C21*0.1),IF(B22250001,IF(C225000 01,(((C22-500000)*0.1)+((500000-B22)*0.08)),IF(C22250001,(C21*0.08),IF(B22<250001 ,IF(C22500001,(((C22-500000)*0.1)+20000+(250000-B22)*0.05)),IF(C22250001,(((C22-250000)*0.08)+(250000-B22)*0.05),(C21*0.05)))))))

Commission
2014 Example Jan Feb
Expected Annual Sales
$400,000 $135,000
Actual Sales
On Premise/Managed Hosted - 344,861 -
344,861 -
SaaS/Hosting Fees - - -
- -
Anticipated commission
0 0 0
Commission earned
Premise 8,500 20,089 -
SaaS/Hosted - - -


This task is usually best accomplished using a table and VLOOKUP. Perhaps if you explained the commission structure, someone could help you. It's a bit difficult for me to figure out from your formula.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statement too long, need another way Lady_Olara Excel Worksheet Functions 4 April 12th 06 10:28 AM
very long statement Frank Drost Excel Discussion (Misc queries) 0 January 18th 06 08:47 PM
IF statement too long KSH Excel Discussion (Misc queries) 6 November 3rd 05 07:28 PM
Long IF Statement rmitchell87 Excel Discussion (Misc queries) 2 October 2nd 05 03:50 AM


All times are GMT +1. The time now is 08:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"