Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
SSJ SSJ is offline
external usenet poster
 
Posts: 58
Default NESTED IF STATEMENT

Hello,

I have to calculate commission on sales tax collected based on the following criteria:

1) If sales tax collected is $11.00 or less, then the commission = to the sales tax collected
2) If sales tax collected is $11.01 - $333.33, then the commission= $11.00
3) If sales tax collected is more than $333.33, then commission = 3.3% of the sales tax collected, with a maximum amount = $99.00

My attempt was as follows, which work, however, I want to find out a better way, if any, to do this:

=IF(A2<=11,A2,IF(A2<=333.33,11,IF(A2<3000,A2*0.033 ,99)))

Thanks
SJ
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8,651
Default NESTED IF STATEMENT

=IF(A2<=11,A2,IF(A2<=333.33,11,MIN(A2*3.3%,99)))
--
David Biddulph

"SSJ" wrote in message
...
Hello,

I have to calculate commission on sales tax collected based on the following
criteria:

1) If sales tax collected is $11.00 or less, then the commission = to the
sales tax collected
2) If sales tax collected is $11.01 - $333.33, then the commission= $11.00
3) If sales tax collected is more than $333.33, then commission = 3.3% of
the sales tax collected, with a maximum amount = $99.00

My attempt was as follows, which work, however, I want to find out a better
way, if any, to do this:

=IF(A2<=11,A2,IF(A2<=333.33,11,IF(A2<3000,A2*0.033 ,99)))

Thanks
SJ


  #4   Report Post  
Posted to microsoft.public.excel.newusers
SSJ SSJ is offline
external usenet poster
 
Posts: 58
Default NESTED IF STATEMENT

Don thanks for your response.

There is a cap on the criteria # 3.

In other words, if A2 is greater than $333.33 then A2 needs to be multiplied by 3.3%, however, the result of this multiplication cannot exceed $99.

For example, if A2 = $3500, then 3.3% of 3500 is equal to $115.50, however, due to the capping, the commission will not be $115.50 but instead it will be $99.00

Regards
SJ
"Don Guillett" wrote in message ...
Based on what you said???

=IF(a2333.33,99,IF(a211,11,a2))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"SSJ" wrote in message ...
Hello,

I have to calculate commission on sales tax collected based on the following criteria:

1) If sales tax collected is $11.00 or less, then the commission = to the sales tax collected
2) If sales tax collected is $11.01 - $333.33, then the commission= $11.00
3) If sales tax collected is more than $333.33, then commission = 3.3% of the sales tax collected, with a maximum amount = $99.00

My attempt was as follows, which work, however, I want to find out a better way, if any, to do this:

=IF(A2<=11,A2,IF(A2<=333.33,11,IF(A2<3000,A2*0.033 ,99)))

Thanks
SJ
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 and OR nested statement help [email protected] Excel Discussion (Misc queries) 4 July 16th 07 10:22 PM
Nested IF Statement Secret Squirrel Excel Discussion (Misc queries) 8 November 19th 06 02:43 AM
Nested IF/AND Statement buffgirl71 Excel Discussion (Misc queries) 1 October 10th 06 01:59 AM
Nested IF statement jgannon Excel Discussion (Misc queries) 3 November 22nd 05 11:55 PM
NESTED IF STATEMENT jmsbert Excel Worksheet Functions 10 October 10th 05 04:25 PM


All times are GMT +1. The time now is 01:47 AM.

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

About Us

"It's about Microsoft Excel"