📌 Formula:

=DATE(RIGHT(B7,4), MID(B7,3,2), LEFT(B7,2))

🔹 Explanation:

If B7 contains a number like “25032024” (DDMMYYYY format), the formula:

  • Extracts the year → RIGHT(B7,4) → 2024
  • Extracts the month → MID(B7,3,2) → 03 (March)
  • Extracts the day → LEFT(B7,2) → 25

🔹 Example Output:

Input (B7)Converted Date
2503202425-Mar-2024
0101202501-Jan-2025

✅ Now, Excel will recognize it as a date and you can format it as needed! 🚀

Example:

Leave a Reply

Your email address will not be published. Required fields are marked *

Pinterest
Instagram