View Single Post
  #15   Report Post  
Posted to microsoft.public.excel.misc
headbanging_Fe[_2_] headbanging_Fe[_2_] is offline
external usenet poster
 
Posts: 9
Default Hellp Me Excel Help!!!!


its from m12 - m41 is before the discount. i can get it to work for the 5
days n then - 15% but not of fours day and three and less.

Fe
"stew" wrote:

What cell contains the gross figure, in Money, before discount?

Stew

"headbanging_Fe" wrote:

thanks,
that one just puts down no discount.

i tried out a couple formulas
=M25-IF(G25<4, (10/100),(15/100))
=M26-IF(G26<=4, (10/100),IF(G26:K26=5,15/100,0))
=(COUNTIF(G12:K12,"D")*34)+(COUNTIF(G12:K12,"M")*2 0)+(COUNTIF(G12:K12,"A")*15)-0.15

these formulas work but it is taking off some money when it shouldnt. but im
sure it has to be a if statement for it to use the 3 conclusions.

"stew" wrote:

Hi Again

Put this in the cell beside the Countif Formula ( I Assume L12) and head it
as Discount. I think it does the Job. There is always other ways.
=IF(L12=170,(L12)*15%,IF(L12=136,(L12)*10%,"No Discount"))

Best

Stewart

"headbanging_Fe" wrote:

i done the previous problem and thank you to everyone.
i have to make a discount on if attendance is 5 days then they get 15% and
if the attendance is 4 days 10% and less 0.

=(COUNTIF(G12:K12,"D")*34,if=G12:K125-0.15,if=G12:K12<=4,-0.10,0)+(COUNTIF(G12:K12,"M")*20)+(COUNTIF(G12:K12 ,"A")*15)

i used the countif statement to work out the formula, but it doesnt work. im
thinking off doing an if statement to see if it works.

=IF(G25<4, (10/100),(15/100))-M25

this one is giving me the right answer but the answer is with a minus.
the formula is meant to say when the children attend less than four days
takeaway 10% otherwise 15%.