Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-22-2014, 08:31 PM
macropod's Avatar
macropod macropod is offline Help me with simple IF stmt to test date within a range Windows 7 32bit Help me with simple IF stmt to test date within a range Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,382
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

You could use:


=IF(OR(A3<DATE(2013,10,1),A3>DATE(2014,12,31)),"NO ","YES")
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 02-23-2014, 11:20 AM
tomseeley tomseeley is offline Help me with simple IF stmt to test date within a range Windows 7 64bit Help me with simple IF stmt to test date within a range Office 2010 64bit
Novice
Help me with simple IF stmt to test date within a range
 
Join Date: Jan 2014
Posts: 10
tomseeley is on a distinguished road
Default Thanks!

Thank you! I didn't think of the OR statement. And I didn't know how to enter the year,month,day separated by commas either, so that Excel would interpret the info as a date! This does it for me!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
test Cheekychino PowerPoint 1 04-08-2013 09:09 PM
Help me with simple IF stmt to test date within a range Write Test dkub Word VBA 1 07-21-2012 09:01 PM
Help me with simple IF stmt to test date within a range Date Range Prompt MikeWooZ Excel 6 12-04-2011 02:10 PM
Help me with simple IF stmt to test date within a range Vba, Is there a better way to test empty cells? Hwyn Excel Programming 2 11-14-2011 11:44 AM
Test after presentation? barnkat PowerPoint 0 08-13-2010 10:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:00 PM.


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