Excel If Statements, please help!
I may be just being dim, but I think you'll have to provide more
information.
It sounds like your first example should just be to put
=G7/2
in M7. You then say the if G10 is changed, M7 needs to be changed, too,
but you describe a formula that uses M7 - so what exactly are you
wanting to be changed when G10 changes? To change M7, say, to
=M7+G7-M7*G7
you'll need to use an event macro (formulas can't change other formulas)
and you'll get a circular reference as well.
If you instead mean that G10 should change if M7 changes, you could use
G10: =M7+G7-G7*ABS(M7)
which, since M7 is just G7/2 means that you could use the equivalent:
G10: =G7*(1.5-ABS(G7/2))
In article ,
izzie wrote:
I've been trying to make multiple IF statements but it says that I have
too many arguements. The problem is, I need to have a calculation for
my work.
Here's what I need to be done
For example:
If G7 is changed, then M7 needs to change to what G7 is times 0.5
Then, if G10 is changed M7 also needs to be changed. However, if M7 is
greater that zero this equation needs to be done M7+G7-M7*G7
If M7 is less than zero, this equation needs to be done M7+G7+M7*G7
Then, if G11 is changed, M7 also needs to be changed and the same rules
above apply.
Can anyone help me to do this please? I've been trying for ages and I
can't find a solution.
Many thanks
Izzie
|