Date matter

S

ShamsulZ

Say cell A1 the date is '01/09/2006' and i want to know how many days there
are to 30/09/2006. i try '=30/09/2006-A1' but it not working. pls help with
the correct formula. thanks friends
 
R

Roger Govier

Hi

Either use
=DATE(2006,9,30)-A1
or
=--"30/09/2006"-A1
the double unary minus -- forces the text value to be a date value.
 
J

Jaleel

Hi,

Put 30/09/2006 in Cell A2. Put the formula =A2-A1+1 in Cell A3 and format
the cell as number.

Regards,

Jaleel
 
S

Stefi

=DATEDIF(A1,DATE(2006,10,30),"d")
Regards,
Stefi


„ShamsulZ†ezt írta:
 
M

Max

One way ..
Assuming A1 houses a real date,
Try it in B1 as: = --"30/09/2006"-A1
Format B1 as general or number
 

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