View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tim C[_2_] Tim C[_2_] is offline
external usenet poster
 
Posts: 4
Default IF Function - Calculation not working

One way:

=MAX(C7-2000,0)*10%+MAX(C7-6000,0)*5%+MAX(C7-10000,0)*5%

Tim C

"amandooshna" wrote in message
...
I have sum:

=IF(C7=10000,SUM(6000*10%)+(4000*15%)+((C7-10000)*20%),IF(C7<=10000,IF(B76000,SUM(6000*10%)+ ((C7-6000)*15%),IF(C7<=6000,SUM((C7-2000)*10%),IF(C7<=2000,0)))))

And this works, however when I change one of the input figures, then the
total comes our wrong.
my calculation is based on 10% from $2m - $6m, 15% from $6m-$10m and 20%
$10m and above.

Have I got my sum wrong?