#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AJ AJ is offline
external usenet poster
 
Posts: 99
Default Date Function

Hello Friends

I am having trouble with the date function.

I wish to calculate the days between a period with the closing date as
31-Dec-07 in Column B.

Case 1
Therefore if the date in column A is before 01-Jan-07, the result that I
want to get in Column C (i.e. Column B - Column A) = 365 (days)

Case 2
Now if the date in column A is say 01-Oct-07, the result that I want to get
in Column C (i.e. 31-Dec-07 less 01-Oct-07) = 92 (days)

Case 3
Now if the date in column A is say 01-Jan-07, the result that I want to get
in Column C (i.e. 31-Dec-07 less 01-Jan-07) = 365 (days)

Appreciate a formula or some advice on how to get it done.

Thanks in advance.

AJ
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AJ AJ is offline
external usenet poster
 
Posts: 99
Default Date Function

Friends
Please disregard this question, after many attemps, I got it!
Sorry about any inconvenience caused.
AJ

"AJ" wrote:

Hello Friends

I am having trouble with the date function.

I wish to calculate the days between a period with the closing date as
31-Dec-07 in Column B.

Case 1
Therefore if the date in column A is before 01-Jan-07, the result that I
want to get in Column C (i.e. Column B - Column A) = 365 (days)

Case 2
Now if the date in column A is say 01-Oct-07, the result that I want to get
in Column C (i.e. 31-Dec-07 less 01-Oct-07) = 92 (days)

Case 3
Now if the date in column A is say 01-Jan-07, the result that I want to get
in Column C (i.e. 31-Dec-07 less 01-Jan-07) = 365 (days)

Appreciate a formula or some advice on how to get it done.

Thanks in advance.

AJ

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
Date function in ACCRINTM requires date format not available Pev Excel Worksheet Functions 4 October 13th 07 12:20 PM
MAX figure within a date range as a function of today()'s date irvine79 Excel Worksheet Functions 6 February 20th 07 03:28 PM
SUMIF within date range as a function of today()'s date irvine79 Excel Worksheet Functions 8 August 6th 06 05:55 PM
Date Function formula that will return the date of a specific week Greg Excel Worksheet Functions 4 June 12th 06 05:07 PM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM


All times are GMT +1. The time now is 10:03 AM.

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

About Us

"It's about Microsoft Excel"