Differnce Between one date and another

Fireguy5309

Board Regular
Joined
Dec 12, 2005
Messages
81
Hi all,
Well once again I need a little help. I am trying to use a formula to tell me the number of days between one date and today. For example, I put 1 dec 05 in Cell A2 and I want cell B2 to tell me the number of days it has been since 1 Dec 05. Is there any formula that will do this for me?

Thanks well in advance for the help all, you have all been life savers here.


Fireguy
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
If your 1 Dec is a true date -- as in 12/1/2005 -- then

=TODAY()-A2

EDIT Format as number.
 
Upvote 0
=A2-DATE(2005,12,1)

Try this one... You will need be sure that B2 is formatted as number. It will default to Date.

HTH,
Mike.
 
Upvote 0
Mike,
Thank you also for the excellent idea. I usually use dates formatted as such, 1 DEC 05 since that is how I learned to do it for the military 20+ years ago. I am sure I will be able to use your suggestion in another project down the line.

Randy
 
Upvote 0

Forum statistics

Threads
1,214,389
Messages
6,119,232
Members
448,879
Latest member
VanGirl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top