របៀបគណនាចំនួនថ្ងៃផុតកំណត់និងបង្ហាញការផុតកំណត់ក្នុង Excel - How to Calculate Expire Date and Show Expire Status in Excel (video)
Learn easy way to calculate expire date, days remaining, and show expire status in Excel using simple formula speak khmer.
Hello everyone! Today I show you very easy step-by-step how to calculate expire date, check remaining days, and show expire status in Excel. When you manage product stock, food inventory, or membership list, this trick help you track expired items very easy!
📚 Related Tutorial: Want to master Excel keyboard shortcuts? Check out Learn All Excel Keyboard Shortcuts!
🛠️ Easy Step-by-Step Formula
Step 1: Calculate Expire Date from Manufacturing Date
If you have Production Date in Cell A2 and Shelf Life (Days) in Cell B2, write this simple formula:
=A2 + B2
💡 Tip: If shelf life count by Months (example: expire after 6 months), use
EDATEformula=EDATE(A2, 6)instead of manual days!
Step 2: Calculate Days Remaining Until Expire
To check how many days left before expire (Expire Date in Cell C2):
=C2 - TODAY()
Excel will subtract today's date automatically. If result is positive number (like 15), it mean 15 days left. If result is negative number (like -3), it mean already expired 3 days ago!
Step 3: Show Expire Status Automatically (IF Formula)
To display status text like "Expired", "Expire Soon", or "Active", use this IF formula:
=IF(C2 < TODAY(), "Expired", IF(C2 - TODAY() <= 30, "Expire Soon", "Active"))
💡 Pro Tips
- Auto Update Current Date: Always use
TODAY()formula. Excel auto update remaining days every time you open your file! - Highlight Expired Cell with Color (Conditional Formatting):
- Select your Status column.
- Go to Home tab -> Conditional Formatting -> Highlight Cells Rules -> Text that Contains...
- Type
Expiredand choose Light Red Fill. - Type
Expire Soonand choose Yellow Fill.
- Hide Negative Days: If you don't want to show negative number for expired items, wrap with
MAXformula:=MAX(0, C2 - TODAY()).
Related Tutorials
Opens in new tab ↗របៀបគណនាចំនួនថ្ងៃរវាងកាលបរិច្ឆេទពីរក្នុង Excel - How to Calculate Days Between Two Dates in Excel (Video in Khmer)
Learn how to calculate the number of days between two dates in Excel step-by-step using date subtraction and the DAYS function.
Top 15 Basic Excel Formulas for Beginners (Khmer Video + Free Practice File)
Learn 15 essential Excel formulas: SUM, MIN, MAX, AVERAGE, IF, RANK, COUNT, COUNTA, COUNTIF, VLOOKUP, CONCATENATE, TRIM, UPPER, LOWER, and TODAY with easy video tutorial and practice file.
Top 20+ Basic Excel Formulas for Beginners (Video in Khmer)
Learn 20+ essential Excel formulas for beginners: SUM, MIN, MAX, AVERAGE, IF, RANK, COUNT, COUNTA, COUNTIF, SUMIF, VLOOKUP, CONCATENATE, TRIM, UPPER, LOWER, TODAY, NOW, MONTH, DAY, and YEAR with easy video guide.