Getting rid of +/- in date subtraction..

M

Mark

My formula in cell c7 reads =c5-c6

If I put 01/01/2009 in c5
and 01/10/2009 in c6

I get -9 in c7

C6 will always be later than c5

Can I get rid of the (-) in c7? and have just a number?

Thanks in advance.

Mark
 
F

Fred Smith

Certainly, as long as you do the subtraction the right way. Use:
=c6-c5

Regards,
Fred.
 
D

DILipandey

Hi Mar,

you can use =abs(c5-c6)

thanks
--
Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)
(e-mail address removed)
(e-mail address removed)
New Delhi, India
 
D

David Biddulph

Or, as the OP has said that C6 will always be later than C5, just use =C6-C5
 

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