Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default date function

Need a formula to display the calculated date from the Start Date & number of
days.
ie: StartDate + Number of Days = Final Date.

Start Date:
2-1-05.

Number of Days
+ 90

= what date? Using the DATE function keeps failing.

thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default date function

not sure what you mean but

a1 b1 c1
10/1/2005 90 12/30/2005


c1 = sum(a1:b1)
--


Gary


"Bret" wrote in message
...
Need a formula to display the calculated date from the Start Date & number
of
days.
ie: StartDate + Number of Days = Final Date.

Start Date:
2-1-05.

Number of Days
+ 90

= what date? Using the DATE function keeps failing.

thank you.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default date function

just in case you wanted that in code

Sub AddDate()
Dim StartDate As Date
Dim NumDays As Integer
Dim FinalDate As Date

StartDate = #10/1/2005#
NumDays = 90
FinalDate = StartDate + NumDays
MsgBox FinalDate
End Sub

This will show a messagebox with the date 12/30/2005
Paul D

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
: not sure what you mean but
:
: a1 b1 c1
: 10/1/2005 90 12/30/2005
:
:
: c1 = sum(a1:b1)
: --
:
:
: Gary
:
:
: "Bret" wrote in message
: ...
: Need a formula to display the calculated date from the Start Date &
number
: of
: days.
: ie: StartDate + Number of Days = Final Date.
:
: Start Date:
: 2-1-05.
:
: Number of Days
: + 90
:
: = what date? Using the DATE function keeps failing.
:
: thank you.
:
:


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default date function

=A1+B1 is a bit simpler, SUM seems unnecessary.

If you want to avoid weekends, use

=WORKDAY(A1,B1)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
not sure what you mean but

a1 b1 c1
10/1/2005 90 12/30/2005


c1 = sum(a1:b1)
--


Gary


"Bret" wrote in message
...
Need a formula to display the calculated date from the Start Date &

number
of
days.
ie: StartDate + Number of Days = Final Date.

Start Date:
2-1-05.

Number of Days
+ 90

= what date? Using the DATE function keeps failing.

thank you.





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
Function to lookup date on tab in excel and populate date on calen MGC Excel Worksheet Functions 0 February 4th 10 04:48 AM
Difference betwen Excel Date () Function and System Date Khalil[_2_] Excel Worksheet Functions 2 June 16th 09 01:10 PM
Difference System date and Excel Date function Khalil Excel Worksheet Functions 2 June 16th 09 11:23 AM
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 07:25 PM.

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"