Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
wastedwings
 
Posts: n/a
Default IF formula to flag exp dates

How do I use the IF formula to display "DUE" 30 days prior to a date in excel?
  #2   Report Post  
Ken Hudson
 
Posts: n/a
Default

Assuming that cell A1 contains a date, the following formula in B1 will place
"DUE" in B1 if the A1 date is exactly 30 days from today's date.

=IF(A1-TODAY()=30,"DUE","")

You might consider changing the formula to -

=IF(A1-TODAY()<=30,"Due","")

i.e. less than or equal to 30 days.

HTH


--
Ken Hudson


"wastedwings" wrote:

How do I use the IF formula to display "DUE" 30 days prior to a date in excel?

  #3   Report Post  
wastedwings
 
Posts: n/a
Default

THANK YOU SO MUCH! I was inputting the formula incorrectly. IT WORKS!

"Ken Hudson" wrote:

Assuming that cell A1 contains a date, the following formula in B1 will place
"DUE" in B1 if the A1 date is exactly 30 days from today's date.

=IF(A1-TODAY()=30,"DUE","")

You might consider changing the formula to -

=IF(A1-TODAY()<=30,"Due","")

i.e. less than or equal to 30 days.

HTH


--
Ken Hudson


"wastedwings" wrote:

How do I use the IF formula to display "DUE" 30 days prior to a date in excel?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula for Continuous Services Dates pvbridges Excel Worksheet Functions 1 June 19th 05 01:51 AM
formula to find and flag dates older than 30 days Will G. Excel Worksheet Functions 1 June 18th 05 12:13 AM
Formula including dates R L Sandel Excel Worksheet Functions 2 May 25th 05 12:30 PM
How do I format dates accessed by a formula Mont22 Excel Discussion (Misc queries) 2 January 12th 05 04:09 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM


All times are GMT +1. The time now is 11:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"