Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
Just wanting to subtract 6 months off any date, and present in the format of a date. Cheers |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assume you have a date in A1.
=DATE(YEAR(A1),MONTH(A1)-6,DAY(A1)) -- Biff Microsoft Excel MVP "Geoff" wrote in message ... Hi Just wanting to subtract 6 months off any date, and present in the format of a date. Cheers |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
One way:
A1: <date A2: =DATE(YEAR(A1),MONTH(A1)-6,DAY(A1)) Note that A1= 12/31/2008 will return 07/01/2008 in A2 since June has onl 30 days (US formatting). In article , Geoff wrote: Hi Just wanting to subtract 6 months off any date, and present in the format of a date. Cheers |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you have the analysis toolpack installed
=EDATE(yourdate,-6) -- John C "JE McGimpsey" wrote: One way: A1: <date A2: =DATE(YEAR(A1),MONTH(A1)-6,DAY(A1)) Note that A1= 12/31/2008 will return 07/01/2008 in A2 since June has onl 30 days (US formatting). In article , Geoff wrote: Hi Just wanting to subtract 6 months off any date, and present in the format of a date. Cheers |
#5
![]() |
|||
|
|||
![]()
How to subtract 6 months off a date in Excel:
That's it! The Code:
EDATE
__________________
I am not human. I am an Excel Wizard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I subtract/add a known number of days/months from a date? | Excel Worksheet Functions | |||
subtract years and months (as in ages) from another age | Excel Discussion (Misc queries) | |||
Subtract 6 months | Excel Worksheet Functions | |||
HOW TO SUBTRACT A YEAR+MONTH AND SHOW DIF IN MONTHS? | Excel Worksheet Functions | |||
Subtract MM/DD/YYYY and get # months | Excel Discussion (Misc queries) |