# Count number of days

#### Ben2k

##### Board Regular
If I have a cell with a date in, how can I display the number of days which have passed between that date and the present (todays) date. Can it be done??

### Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

=TODAY()-A2

#### IML

##### MrExcel MVP
On 2002-10-17 12:34, Ben2k wrote:
If I have a cell with a date in, how can I display the number of days which have passed between that date and the present (todays) date. Can it be done??

You could use
=-A1+TODAY()

with a date in a1

#### Mark W.

##### MrExcel MVP
Why the extra operator?

#### IML

##### MrExcel MVP
On 2002-10-17 12:36, Mark W. wrote:
=TODAY()-A2

Mark,
Our posts crossed in the mail (twice, now), but I thought you'd be interested in the one I suggested - it seems to retain the general format as I've seen you suggest on similiar date posts in the past.
This message was edited by IML on 2002-10-17 12:42

#### manney

##### New Member
An easy way is the formula (assuming the date is in A1)

=Today()-A1

The cell containing this formula must be formatted as General. This formula may then be copied and pasted down a column.

The number of days will increase as time goes on, as =Today() returns the current date. An easy way of entering today's date in a cell-- so it stays permanently-- is CTRL+; (Control key + semicolon). The two dates may then be subtracted.

P Manney

#### Mark W.

##### MrExcel MVP
On 2002-10-17 12:41, IML wrote:

Mark,
Our posts crossed in the mail (twice, now), but I thought you'd be interested in the one I suggested - it seems to retain the general format as I've seen you suggest on similiar date posts in the past.

IML on 2002-10-17 12:42 ]</font>

Ahhh... This formulation also works for that purpose...

=(TODAY()-A2)

Replies
1
Views
157
Replies
7
Views
515
Replies
1
Views
248
Replies
4
Views
274
Replies
3
Views
323

1,181,333
Messages
5,929,365
Members
436,664
Latest member
plobo4

### 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.

### Which adblocker are you using?

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

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