PC Review


Reply
Thread Tools Rate Thread

calculate date

 
 
Icechoco
Guest
Posts: n/a
 
      26th May 2006

Qns 1) I have a column eg. Column A. Dates are entered manually into
this column. Such as 31.01.06. I would like a pop up message box to
indicate that work is overdue after 10 days from this date. How do i do
it??

Qns 2) I have a column eg. Column B. Dates are entered manually into
this column. Such as 01.02.06. Another date also manually entered into
another Column C. How do i calculate the difference in the number of
days between Column B & Column C?


--
Icechoco
------------------------------------------------------------------------
Icechoco's Profile: http://www.excelforum.com/member.php...o&userid=34823
View this thread: http://www.excelforum.com/showthread...hreadid=545769

 
Reply With Quote
 
 
 
 
aidan.heritage@virgin.net
Guest
Posts: n/a
 
      26th May 2006
If you want a pop up box, you need VBA, but if colour coding would do
conditional formatting will do it - however, it won't work if you enter
what you are calling a date as 31.01.06 as this isn't recognised as a
date by Excel - use a / or - instead of the .

answer 2 is =c-b (have the cell formatted as number)

 
Reply With Quote
 
Arvi Laanemets
Guest
Posts: n/a
 
      26th May 2006
Hi


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If you want a pop up box, you need VBA, but if colour coding would do
> conditional formatting will do it - however, it won't work if you enter
> what you are calling a date as 31.01.06 as this isn't recognised as a
> date by Excel - use a / or - instead of the .


You are wrong here - it all depends on your regional settings.



--
Arvi Laanemets
( My real mail address: arvi.laanemets<at>tarkon.ee )


 
Reply With Quote
 
Arvi Laanemets
Guest
Posts: n/a
 
      26th May 2006
Hi

The difference between dates is calculated as simple substraction
=C1-B1
, and format as number. Or
=DATEDIF(B1,C1,"d")
NB!

To calculate number workdays between 2 dates you can use NETWORKDAYS
function (with Analysis Toolpack installed)

PS. Unlike DATEDIF or date substraction, NETWORKDAYS includes both start and
end days.
=TODAY()-TODAY() returns 0
=DATEDIF(TODAY(),TODAY(),"d") returns 0
=NETWORKDAYS(TODAY(),TODAY()) returns 1 on workday


--
Arvi Laanemets
( My real mail address: arvi.laanemets<at>tarkon.ee )


"Icechoco" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> Qns 1) I have a column eg. Column A. Dates are entered manually into
> this column. Such as 31.01.06. I would like a pop up message box to
> indicate that work is overdue after 10 days from this date. How do i do
> it??
>
> Qns 2) I have a column eg. Column B. Dates are entered manually into
> this column. Such as 01.02.06. Another date also manually entered into
> another Column C. How do i calculate the difference in the number of
> days between Column B & Column C?
>
>
> --
> Icechoco
> ------------------------------------------------------------------------
> Icechoco's Profile:
> http://www.excelforum.com/member.php...o&userid=34823
> View this thread: http://www.excelforum.com/showthread...hreadid=545769
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to calculate end date using order date and lead time variab BWA Microsoft Excel Worksheet Functions 2 15th Aug 2008 04:31 PM
calculate number of days from start date to date completed? =?Utf-8?B?TGluZGE=?= Microsoft Outlook Discussion 2 24th Feb 2006 08:09 PM
Calculate date difference between fixed date and current date Dave Elliott Microsoft Access Forms 3 23rd May 2005 03:54 AM
In Access 2003 Calculate a future date from a date column =?Utf-8?B?QW5kcmVh?= Microsoft Access 4 14th Dec 2004 02:13 AM
Excel: auto-calculate a date 2 weeks after an initial date =?Utf-8?B?c2ZmYW4yMDA0?= Microsoft Excel Worksheet Functions 0 22nd Sep 2004 09:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:09 PM.