Re: Need help with date range
- From: Roger Govier <roger@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 07 Dec 2005 22:31:54 +0000
Hi
I read it the wrong way round Change to =YEAR(A19)+(MONTH(A19)>6) Leave the format as General
Regards
Roger Govier
RJohnsonHC wrote:
DOH! You're quite right, Roger. I meant to say 6/30/2006! I tired using your formula, but it actually gives me the year prior to what it should be, i.e.,
6/30/2006 returns "2005) with formula "=YEAR(J2)-(MONTH(J2)<7)"
My dates are in column J...
Many, many thanks!
-RJ
"Roger Govier" wrote:
Hi
From the dates given, it looks like a 13 month year!! I suspect you either meant 7/1/2005 and 6/30/2006 or 8/1/2005 and 7/31/2006
Taking the latter case, and assuming your dates are in column A, in column B =YEAR(A2)-(MONTH(A2)<8) Change the 8 to a 7 if the Year begins in July rather than August. If you only want to show a 2 digit year, format the cells as yy
Regards
Roger Govier
RJohnson701CTS wrote:
Hi, all. I'm trying to do something that's probably pretty simple, but I don't know how to do it. I've got a column of dates in my SS. What I want to do is if a date in the column falls between a certain date range, then in the column next to the date it gives a two-digit year. For example, 12/31/2005 falls between 7/1/2005 and 7/31/2006, so in the column next to "12/31/2005" it would say "06" or "2006" or something like that. I want to be able to do this with several date ranges. (I'm basically trying to translate dates in fiscal years.) Can anyone give me some tips? Thanks in advcance!
.
- References:
- Re: Need help with date range
- From: Roger Govier
- Re: Need help with date range
- Prev by Date: Linked files XP vs. Win98
- Next by Date: RE: Count No. of times Dates are repeated
- Previous by thread: Re: Need help with date range
- Next by thread: Re: Need help with date range
- Index(es):
Relevant Pages
|