Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 989
Default Getting rid of +/- in date subtraction..

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Getting rid of +/- in date subtraction..

One way:

=C6-C5



In article ,
Mark wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Getting rid of +/- in date subtraction..

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

Regards,
Fred.

"Mark" wrote in message
...
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


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Getting rid of +/- in date subtraction..

Hi Mar,

you can use =abs(c5-c6)

thanks
--
Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)


New Delhi, India


"Mark" wrote:

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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Getting rid of +/- in date subtraction..

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

"DILipandey" wrote in message
...
Hi Mar,

you can use =abs(c5-c6)

thanks
--
Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)


New Delhi, India


"Mark" wrote:

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Subtraction Newbie Excel Worksheet Functions 3 January 17th 09 06:16 PM
date subtraction [email protected] Excel Worksheet Functions 6 December 9th 08 02:13 PM
Different results: Networkdays versus date subtraction OxonLad Excel Worksheet Functions 6 June 18th 08 03:38 PM
date and time in 2 cells to create subtraction in 3rd MikeR-Oz New Users to Excel 2 October 27th 07 10:35 AM
Date subtraction -How to not show negative when 2nd date not entered Edward[_2_] New Users to Excel 2 September 27th 07 03:03 PM


All times are GMT +1. The time now is 09:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"