View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Maciel Maciel is offline
external usenet poster
 
Posts: 3
Default Macro in Excel: pick next 7

Hi there,

I am doing a spreadsheet to record and manage salesforce comissions and
I'm facing a problem. I'll try to be as clear and concise as possible:

There is a 30-day column and the comission will vary according to how
much they sell. The sales input will be made on a daily basis.

Suppose they get 10% normal comission. When they reach 90% of the
monthly goal (say $100.000) they get an extra 5% for next seven days.
So, for 7 days they actually get 15% comission on everything they sell.

When they reach 100% of the monthly goal they get an extra 5% as well,
but the extra comission does not go on top of the previous one. That
means they will have 14 days in a row if the 90% was achieved within
the seven days given for the 90%. Here is the biggest problem I have.
The macro has to consider that if the seven days comission in ongoing,
the extra comission (for 100%) will start only after the end of 90%
bonus.

If 100% was achieved after the seven days bonus, then they get normal
seven days comission.

The same is valid for 120%.

Points to consider:
*All bonuses stop on the 30th of the month
*The bonus 120% starts on the 1st of the month
*No bonus if they reach their goal on the 31st
*The total for the Comission goes in one cell and normal comission in
another cell

I just can't figure out how to do that. I'm a macro dunb, so please, if
anyone can help...

Cheers