View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jessica
 
Posts: n/a
Default DATE function clarification

Hi,

I have been using this formula to subtract 2 months from D15, it also gives
you the last day of the month, i.e. if D15 was May 31, the formula gives you
Feb 28 instead of Feb 31.

=MIN(DATE(YEAR(D15),MONTH(D15)+{-1,-3},DAY(D15)*{0,1}))

My question is that I don't understand the Min and {} brackets??? How
exactly does this work...I'd like to understand it better!

~Jess