Re: Help with date formula
- From: "S S" <yamxsnonsense@xxxxxxxxxxxxxxxx>
- Date: Tue, 02 May 2006 19:05:01 GMT
Spot on, Many thanks for helping me.
"Gary''s Student" <GarysStudent@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6D463DB3-4D7D-47B3-A5FA-E8D003183F36@xxxxxxxxxxxxxxxx
Just a small typo:
=IF(AND(I7=2006,H7=0,G7=0),DATE(2006,1,1),DATE(EI7,H7,G7))
probably should be:
=IF(AND(I7=2006,H7=0,G7=0),DATE(2006,1,1),DATE(I7,H7,G7))
--
Gary''s Student
"S S" wrote:
The formulas below are used to return a date in 2 seperate boxes on my
spread*** how can i get the year 1900 to read 2006
=IF(AND(E7=2006,D7=0,C7=0),DATE(2006,1,1),DATE(E7,D7,C7)) This returns
31st July 2006, which is correct
=IF(AND(I7=2006,H7=0,G7=0),DATE(2006,1,1),DATE(EI7,H7,G7)) This returns
20th August 1900, should be year 2006
I am not good with formulas so cant for the life of me see whats wrong,
Can someone spot the mistake for me.
thanks
.
- References:
- Help with date formula
- From: S S
- Help with date formula
- Prev by Date: Re: Formula for year in school? Freshman, Sophmore
- Next by Date: Re: Is it possible to run Solver using a macro?
- Previous by thread: Help with date formula
- Next by thread: Help with Date Formula
- Index(es):