View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
StargateFanFromWork[_4_] StargateFanFromWork[_4_] is offline
external usenet poster
 
Posts: 51
Default Formula that takes a cell value over another?

Ah, great!! That did the trick.

I adjusted to this (due to cell name change) and it works perfectly:
=IF($A$2<"",IF($E$8="",($D$9-$E$7),($D$9-$E$8)),"")

Thanks!!! :oD

"Charles Chickering" wrote in
message ...
Oops, forgot to handle F8 having data...
=IF($A$2<"",If($F$8="",($E$8-$F$7),($E$8-$F$8)),"")
--
Charles Chickering

"A good example is twice the value of good advice."


"Charles Chickering" wrote:

=IF($A$2<"",If($F$8="",($E$8-$F$7),""),"")
--
Charles Chickering

"A good example is twice the value of good advice."


"StargateFanFromWork" wrote:

Currently, I have formulas in various cells that looks like this:

=IF($A$2<"",($E$8-$F$7),"")

F7 ($F$7) has a calculation based on a percentage. I've run into the
difficulty is that I need to decide in some cases to not use that
calculation and to have an adjusted value instead.

Is there a way to have the above formula take the value of F7 only if,

say,
F8 (a cell we can put a value into) is empty? So, to explain it

another
way, if F8 has a value the user has put in, the formula subtracts that
instead?

Tx.