if cell contains date, then month, else blank
I am trying to input a formula for if a cell contains a date then return the month's number else leave the cell blank.
I tried this: =IF(A37=(mmmm,dd,yyyy),MONTH(A37),"")
The date in A37 is in this format : August 4, 2016
Thanks
|