Thread: Date forumla
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bryan
 
Posts: n/a
Default Date forumla

Hi,

I have been constructing a spreadsheet and have the following formula which
subtracts 6 months from the cell in A1 =DATE(YEAR(a1),MONTH(a1)-6,DAY(a1)) -
this formula works fine.

If there is no date in A1, "#VALUE!" is displayed. is there an addition part
to the above forumla that would leave the cell empty unless A1 has data in it?

thanks,
Bryan