LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default IF Statement

Folks,
I am trying to combine the AND and OR logic within an IF
statement. I am not sure if I can do it or if I am using
the right construct:

Basically, I am trying to calculate an additional bonus
for a Salesperson if his March Gross Profit February
Gross Profit AND if his March GP any of the 4 GP
brackets. That is, he would only earn the extra bonus if
his GP falls into a higher bracket. So, let's say there
are 4 brackets:

if GP is less than 30%, no std. commission is earned,
if GP is less than 45%, 6% comm. on GP is earned,
if less than 60%, 12%
if less than 80%, 18%.

So, if February GP was 50% and March GP is 58%, he will
only earn his standard commission and NOT his extra
commission. If he brings in over 60%, then he will make
the extra commission.

I am struggling to create the right argument. How do I
ensure that if his GP is higher than last month's and the
GP is in a higher bracket then indicate Extra Commission
to be earned? Please help!!

Regards,
Shams.

 
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 inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM


All times are GMT +1. The time now is 08:16 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"