#1   Report Post  
leanete
 
Posts: n/a
Default Date Formula


Can anyone help? I need to create a formula that will give me the
amount of days between two dates i.e., 01/31/05 - 01/01/05 = 30 days.
I know it's 30 because I used a sample that would be easy but I'm
working on a large amount that might be 60, 40 or so. I used the HELP
on Excel but it gives me i.e. 01/31/05 - 01/01/05 = 01/30/1900. What
am I doing wrong???

Please email me at

REALLY NEED HELP...!


--
leanete
------------------------------------------------------------------------
leanete's Profile:
http://www.excelforum.com/member.php...o&userid=13303
View this thread: http://www.excelforum.com/showthread...hreadid=396168

  #2   Report Post  
Paul Sheppard
 
Posts: n/a
Default


leanete Wrote:
Can anyone help? I need to create a formula that will give me the
amount of days between two dates i.e., 01/31/05 - 01/01/05 = 30 days.
I know it's 30 because I used a sample that would be easy but I'm
working on a large amount that might be 60, 40 or so. I used the HELP
on Excel but it gives me i.e. 01/31/05 - 01/01/05 = 01/30/1900. What
am I doing wrong???

Please email me at

REALLY NEED HELP...!


Hi Leanete

Try formatting the cell where the result is as a number or as general

Paul


--
Paul Sheppard
------------------------------------------------------------------------
Paul Sheppard's Profile:
http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=396168

  #3   Report Post  
Dave O
 
Posts: n/a
Default

Where your cell shows 01/30/1900, format that cell as a number- it's
currently formatted as a date. Then you'll get the result you expect.

Sorry, your email address truncated.

  #4   Report Post  
leanete
 
Posts: n/a
Default


I got it... That worked...


--
leanete
------------------------------------------------------------------------
leanete's Profile: http://www.excelforum.com/member.php...o&userid=13303
View this thread: http://www.excelforum.com/showthread...hreadid=396168

  #5   Report Post  
Duke Carey
 
Posts: n/a
Default

Your math is correct - you just need to format the cell with the result so
that it displays as a number, not as a date. With the cell selected,
1) click on the Comma icon on the toolbar, or
2) press Ctrl-1 to pull up the Format Cells dialog box, go to the Number
tab, and pick one of the numeric type formats

"leanete" wrote:


Can anyone help? I need to create a formula that will give me the
amount of days between two dates i.e., 01/31/05 - 01/01/05 = 30 days.
I know it's 30 because I used a sample that would be easy but I'm
working on a large amount that might be 60, 40 or so. I used the HELP
on Excel but it gives me i.e. 01/31/05 - 01/01/05 = 01/30/1900. What
am I doing wrong???

Please email me at

REALLY NEED HELP...!


--
leanete
------------------------------------------------------------------------
leanete's Profile:
http://www.excelforum.com/member.php...o&userid=13303
View this thread: http://www.excelforum.com/showthread...hreadid=396168


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
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
addition to my date formula...required Juco Excel Worksheet Functions 5 January 30th 05 11:48 AM
Excel formula with date constraints Warrior Pope Excel Discussion (Misc queries) 3 January 28th 05 03:08 PM
Formula with date constraints Warrior Pope Excel Worksheet Functions 1 January 28th 05 02:11 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM


All times are GMT +1. The time now is 02:26 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"