question about ABS Function

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.
 
G

Gord Dibben

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top