ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Date matter (https://www.excelbanter.com/new-users-excel/112768-date-matter.html)

ShamsulZ

Date matter
 
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


Roger Govier

Date matter
 
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.

--
Regards

Roger Govier


"ShamsulZ" wrote in message
...
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




Jaleel

Date matter
 
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

"ShamsulZ" wrote:

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


Stefi

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


€˛ShamsulZ€¯ ezt Ć*rta:

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


Max

Date matter
 
One way ..
Assuming A1 houses a real date,
Try it in B1 as: = --"30/09/2006"-A1
Format B1 as general or number
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"ShamsulZ" wrote:
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



All times are GMT +1. The time now is 03:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com