question about ABS Function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

=ABS(F3-F4)
F G =ABS(F4-F5)

4 100 100
5 110 10 =ABS(F5-F6)
6 120 10 =ABS(F6-F7)
7 125 5 =ABS(F7-F8)
8 125

How do i keep the answer from showing up in "G" when the number in "F8" has
not been entered yet.
 
Trap for Fx not having a value

=IF(F4="","",ABS(F3-F4))

Or maybe trap for both cells

=IF(OR(F3="",(F4="")),"",ABS(F3-F4))


Gord Dibben MS Excel MVP
 
Back
Top