Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-26-2014, 12:20 AM
macropod's Avatar
macropod macropod is offline Help needed with If/Then statement Windows 7 32bit Help needed with If/Then statement Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,525
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

For dates in A1, B1 & C1, try:
=IF(AND(DATEDIF(A1,C1,"Y")>2,DATEDIF(B1,C1,"Y")>2) ,"Yes","No")
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed with If/Then statement Need help with If, Then Statement Please cangelis Excel 4 01-03-2014 09:10 AM
Help needed with If/Then statement Syntax Help Needed for Using AND Statement in NEXIF robpgreer Mail Merge 10 08-11-2011 04:58 PM
Help needed with If/Then statement Help with IF Statement limpbizkit Excel 4 02-24-2011 09:16 PM
Help needed with If/Then statement if statement piper7971 PowerPoint 1 08-19-2010 07:10 AM
Help needed with If/Then statement Help with IF statement! CPelkey Word 1 04-12-2010 09:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft