ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   what is the formula to show the difference between two dates (https://www.excelbanter.com/excel-discussion-misc-queries/101533-what-formula-show-difference-between-two-dates.html)

David

what is the formula to show the difference between two dates
 
I need to show the difference between two dates. Someone signed in on Jan 4,
2005 and today's date is the current date. How do i show that and then put it
into a Word document for a mail merge to show each person's enlist date?

MarkN

what is the formula to show the difference between two dates
 
Hi David,

How about 4/1/05 in A1, =TODAY() in B1, then =B1-A1 in C1. This will by
default return a date, so with C1 selected go the Format menu, click on
cells, ensure the Number tab is selected and click on General and then OK.

For the mail merge, go to google and type 'create mail merge from Excel'
--
Hope this helps,
MarkN


"David" wrote:

I need to show the difference between two dates. Someone signed in on Jan 4,
2005 and today's date is the current date. How do i show that and then put it
into a Word document for a mail merge to show each person's enlist date?



All times are GMT +1. The time now is 12:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com