View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Cecilkumara Fernando[_2_] Cecilkumara Fernando[_2_] is offline
external usenet poster
 
Posts: 93
Default COMPLEX "IF" FORMULAS

Paul,
=IF(D2<=8000,"Target Met","BELOW Target")
works fine with me even with D2 is: =SUM(C2:C32)
dose D2 change when you change the value in C2
if not may be Calculation is set to manual in ToolsOptionsCalculation
if so make it automatic.
for the 2# you can use a formula like
=IF(D2<8000,D2*20%+D2,IF(D2<12000,D2*30%+D2,D2*40% +D2))
which will add 20% to D2 if D2 is 0-7999
30% to D2 if D2 is 8000-11999 and
40% to D2 if D2 is 12000 and above.

HTH
Cecil

"Paul" wrote in message
om...
Firstly, as I'm not very experienced at excel, I'm waaaay over my head
so any help is greatly appreciated. I have 2 queries...

#1 I am trying to write a formula that basically says that if a figure
is below a certain amount then display "this", or "this" if its above
the amount.
This is what i have so far:

=IF(D2<=8000,"Target Met","BELOW Target")

From what I gather, excel doesn't like the D2 reference, it wants
something like: =IF(1<=8000,"Target Met","BELOW Target") i have no
idea! :(

The way ic it is that if D2 was just an entered figure it would be
cool, but as D2 is: =SUM(C2:C32) it doesn't recognise the RESULT of
that formula.

NEXT PROBLEM!....

#2 I need to add a column up and then if the amount reaches a certain
level i.e. <=8000 then I need to calculate 30% of the total sum of
that column. but if the sum is over say 12000 then the percentage
changes, how do i do that?
To make matters worse, how do i add the percentage paid at below the
8000 mark with the changed percentage at the 12000 level and on etc.
- uc i told u this was big! Heeeeeeeelp!

Thanking you in advance.
Paul