![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Location: Midwest, USA
Posts: 24
|
I'm totally fascinated by this site... and I'm really trying to understand these formula equations. I have a question, and figuring this is probably very easy to all of you here, however I'm unfortunately not getting it. Does anyone know what formula can I use to get the total days from two dates? I am using the format 02/25/02. example: 02/25/02 subtracted from 04/02/02 (equals: 36)
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
You can add, substract, average, etc the dates as you would ordinary numbers: So, =B1-A1 where B1 is a later date than A1, will produce the desired diff in days. You need to format the cell of this formula as General though. Aladin |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Georgia USA
Posts: 544
|
Sandy take a look at Chip's web site he has a lot of stuff about dates, and other things.
http://www.cpearson.com/excel/topic.htm |
|
|
|
|
|
#4 |
|
New Member
Join Date: Feb 2002
Location: Midwest, USA
Posts: 24
|
Thank you! I kept getting a date in the cell instead of a number. It worked, like you stated, whenever I formatted the cell to general. That's what I was looking for! Thanks again!
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Feb 2002
Location: Midwest, USA
Posts: 24
|
Thanks Paul! I'll keep this site handy for future references...!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|