Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Two Problems 2

Status
Not open for further replies.

dik

Structural
Apr 13, 2001
25,560
0
36
CA
It eludes me:
Q1
Is it possible to include the file name in a spreadsheet (not the header or footer)?
Q2
There must be a way to create a number that represents the difference in days between two dates. Common excel exercise, I would think. Where the number is a real number with a fractional component if it exists. For example, a formatted date 2012-08-27 [=Today()]and 2012-10-26.

Dik
 
Replies continue below

Recommended for you

Help file says:
=CELL("filename")

You just subtract one cell with one date from another cell with the other date. The result is decimal days between the dates. say:
A1 = "12/20/92"
A2 = Now()-A1 = 7190.31 (you'll need to format the cell for number instead of date)

TTFN
faq731-376
7ofakss
 
Status
Not open for further replies.
Back
Top