![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: California
Posts: 61
|
TO: MARKW
Mark, could you tweek the formula below to give me Start Date + 30-days? Or do I need something different? =EDATE(TEXT($A2,"m-d"),IF(TODAY()>TEXT($A2,"m-d")+0,12,0)) A2 = Start Date B2 = Start Date + 30 Days (3 mos). TIA. . . Kath |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
30 days or 90 days? What does "(3 mos)" mean?
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: California
Posts: 61
|
90-days (sorry, got cross-wired), Mark.
|
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Okay, the 2nd EDATE argument is the number of months [forward (+) or backwards (-)]. So, if I understand your request instead of...
=EDATE(TEXT($A2,"m-d"),IF(TODAY()>TEXT($A2,"m-d")+0,12,0)) ...use... =EDATE(TEXT($A2,"m-d"),IF(TODAY()>TEXT($A2,"m-d")+0,3,0)) If this isn't what you want perhaps you could provide some representative data showing 'start date' and the desired results. [ This Message was edited by: Mark W. on 2002-05-20 16:12 ] |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Location: California
Posts: 61
|
That's the solution I need, Mark (minus the 2nd comma before the 3).
Thanks, Occam. Kath |
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Apr 2002
Location: California
Posts: 61
|
Your correction actually beat my reply.
Amazing. The color coding is a great teaching device. Yet, in the application of your formula, I discovered that I asked the WRONG question. I just want StartDate + 3-Months. EXAMPLE: 1/2/00 + 3-mos = 4/2/00. (We're massaging some blanked history here.) Your formula that I sent back to you to tweek bounces off of "TODAY()". Hoping, Kath |
|
|
|
|
|
#8 |
|
Board Regular
Join Date: Apr 2002
Location: California
Posts: 61
|
Your tutorials helped me to find it, Mark: =EDATE(startdate,3)
DONE -- Thanks. Kath |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|