View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
muddan madhu muddan madhu is offline
external usenet poster
 
Posts: 747
Default # of days in that month for a selected date

Try this

=DAY(DATE(YEAR(A1),MONTH(A1)+1,0))



On Sep 19, 2:16*am, Narnimar
wrote:
What is the formula to return the # of days in that month *for a randomly
selected date? Thanks for the help.