How do I change the date format in the formula bar to match cells in excel -
i trying format date column can compare list , sort duplicates. format need match mm/yyyy. have changed format through custom format formula bar still shows m/dd/yyyy though shows correctly in cell. because of this, dup function (count if) checking formula bar not shows in cell. assume simple fix? appreciated.
the way change date format true date text.
=text(a1,"mm/yyyy") but if want leave dates real dates , want count number of dates in month of april 2017. can book end dates countifs():
=countifs(a:a,">=" & date(2017,4,1),a:a,"<" & date(2017,5,1))
Comments
Post a Comment