roshalphonso
New Member
Hello team.......i need a macro that can extract the date in the format DD/MM/YYYY from column A and store in the corresponding cell in Column B. These are the scenarios to be covered
1. Dates are in multiple formats like DD/MM/YYYY or DD/MM or DD.MM.YYYY or DD-MM-YY or DD-MM-YYYY. for every such format, i would like the output in DD/MM/YYYY format
2. If there is no year in the date format for eg. its just 23/10...then i should get the current year and the output should be 23/10/2023
3. More than one date in cell and i need the latest one extracted in DD/MM/YYYY
4. Dates are in the format for eg: Nov/21 which should actually stand for 21/11/2023, so extracted as DD/MM/YYYY
5. Dates are in the format D/MM/YYYY and need the output extracted as DD/MM/YYYY
6. Not always necessary that the date is at the right or left of the comment. It could be anywhere in the string and maybe in one of the formats given in point 1 to 5 above.
7. There maybe a typo error in the comment with the date put as 10/11/202 instead of 10/11/2023. For all such cases it should consider the year as the current year.
1. Dates are in multiple formats like DD/MM/YYYY or DD/MM or DD.MM.YYYY or DD-MM-YY or DD-MM-YYYY. for every such format, i would like the output in DD/MM/YYYY format
2. If there is no year in the date format for eg. its just 23/10...then i should get the current year and the output should be 23/10/2023
3. More than one date in cell and i need the latest one extracted in DD/MM/YYYY
4. Dates are in the format for eg: Nov/21 which should actually stand for 21/11/2023, so extracted as DD/MM/YYYY
5. Dates are in the format D/MM/YYYY and need the output extracted as DD/MM/YYYY
6. Not always necessary that the date is at the right or left of the comment. It could be anywhere in the string and maybe in one of the formats given in point 1 to 5 above.
7. There maybe a typo error in the comment with the date put as 10/11/202 instead of 10/11/2023. For all such cases it should consider the year as the current year.