» Calculating a Required Date According to Two Criteria
CATEGORY - Excel Date & Time Formulas
VERSION - All Microsoft Excel Versions
Columns B & C contain test dates and paper deadlines for each of the subjects listed in column A.
A test requires 3 days of preparation and a paper requires 5 days.
For each subject, we want to calculate the earliest date required to start preparing for either a test or a paper.
Solution:
Use the MIN and IF functions as shown in the following formula:
=MIN(IF(B2<>"",B2-3,C2-5),IF(C2<>"",C2-5,B2-3))
Book Store:
Recommended Books:
- Guide to Financial Reporting and Analysis
- Lower Your Taxes - Big Time! : Wealth-Building, Tax Reduction Secrets from an IRS Insider
- H&R Block's Just Plain Smart(tm) Tax Planning Advisor: A year-round approach to lowering your taxes this year, next year and beyond
- F1 Get the Most out of Excel! The Ultimate Excel tip Help Guide
- Windows XP Pocket Reference
- Microsoft Windows XP Step by Step (With CD-ROM)
No comments have been submitted.


