Thread: Excel, date
View Single Post
  #4   Report Post  
Sandy Mann
 
Posts: n/a
Default Excel, date

Chris,

If I understand you correctly, try:

=DATE(YEAR(D3)+(D3=33239)*2+3,MONTH(D3),DAY(D3))

(33239 is the "Day No" of 1/1/91)

--
HTH

Sandy

Replace@mailinator with @tiscali.co.uk


"Chris" wrote in message
...
I have on cell that has an original manfg. date 1/1/90 (this date will
change) the next hydro date is either 3 or 5 years depending on the date.
prior to 1/1/91 cylinder must be done every three years and after 1/1/91
they
must be done every 5 years. I am stuck on the formula asd I have it now
=IF($D$3<B16,1095+D3,1825+D3) any assitance would be of great help.
Thnaks