Excel Dates Formula from Mr Excel



 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

Dates Formula
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

gymwrecker
Board Master


Joined: 25 Apr 2002
Posts: 152
Location: Puerto Rico
Flag: Puertorico

Status: Offline

 Reply with quote  

Dates Formula

=IF(TODAY()-A1>30,"LATE","DUE") Note: This is the formula in A2

Now, I need the following:

A2 be blank only when the date in A1 is not within 30 days from today; once it falls within those 30 days, it will start showind as "DUE".

In other words: I'm working with reports that are due 30 days out from when they expire (A1 in this case). If the report is over 30 days, then it is a "LATE" report. Now, reports that are not within the 30 days, they're not either late or due, they are OK. Thanks for your help!!!!

Post Wed May 05, 2004 2:30 pm 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number

DRJ
Board Master
Board Master


Joined: 18 Feb 2002
Posts: 3193
Location: California
Flag: Usa

Status: Offline

 Reply with quote  

=IF(TODAY()-A1>=30,"LATE",If(TODAY()-A1>=0,"DUE",""))
_________________







-Jacob

Post Wed May 05, 2004 2:36 pm 
 View user's profile Send private message Send e-mail
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.