#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 23
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,886
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 187
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,646
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Date format issue CindyLF1 New Users to Excel 3 June 12th 06 06:18 PM
Another Date issue. TimM Excel Worksheet Functions 1 November 17th 05 01:58 AM
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
Date issue between Windows and Macintosh version dlg1967 Excel Discussion (Misc queries) 4 January 19th 05 03:51 PM


All times are GMT +1. The time now is 02:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"