Days between 2 Dates

T

Thor

I want a fcn that gives the no. of days between 2 dates, like DAYS360 but exact. I tried making one using DATEVALUE but that doesn't accept cell references, only typed dates.
 
J

JMay

A1 11/27/03
A2 11/15/03
A3 = A1-A2 displays -->> 15

Thor said:
I want a fcn that gives the no. of days between 2 dates, like DAYS360 but
exact. I tried making one using DATEVALUE but that doesn't accept cell
references, only typed dates.
 
C

Chip Pearson

Thor,

You can simply subtract one date from another, and format the
result as General or numeric, to return the number of days
between two dates.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


Thor said:
I want a fcn that gives the no. of days between 2 dates, like
DAYS360 but exact. I tried making one using DATEVALUE but that
doesn't accept cell references, only typed dates.
 
G

Gord Dibben

-->> 15??

Tilt!<g>

Gord

A1 11/27/03
A2 11/15/03
A3 = A1-A2 displays -->> 15


exact. I tried making one using DATEVALUE but that doesn't accept cell
references, only typed dates.
 
T

Thor

Thanks, guys!
-----Original Message-----
Thor,

You can simply subtract one date from another, and format the
result as General or numeric, to return the number of days
between two dates.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


dates, like
DAYS360 but exact. I tried making one using DATEVALUE but that
doesn't accept cell references, only typed dates.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top