hi everyone
In current excel file B5 cell having only date like 1,2,3.... but i tried to change it into full date format like 12/12/2021 but am unable to get this format instead of that am getting correct date & month year is not matching every cell getting 1990 as year unable to change year. kindly suppport get the solution for this error. below am mentioned code which i used for that and also i attached the excel file.
=IF(AND((COLUMN()-1)>31*($A$3-1),MONTH(DATE($A$2+INT(($A$3+$A$1)/12),IF((INT((COLUMN()-1)/31.001)+$A$1)>12,(INT((COLUMN()-1)/31.001)+$A$1-12),INT((COLUMN()-1)/31.001)+$A$1),ROUNDUP(MOD(COLUMN()-1,31.001),0)))=ROUNDUP(MOD($A$1+$A$3-1,12.01),0)),ROUNDUP(MOD(COLUMN()-1,31.001),0),"")
date.PNG
kindly support to get the answer
Bookmarks